Mindket

THX-01

Newversion 1 · updated

Overview

Answers typed questions about a ticket, email or document in one fast pass, with calibrated probabilities, extracted numbers, excerpts and citations. A 322M multilingual model for classification and extraction.

THX-01 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • Enough memory for a 322M model, about 644 MB in F16
Runs in
  • Python, with the thx01 library from PyPI
  • A GPU for the quoted speed, though the card says it uses a GPU if available
  • A REST server, installed with the server extra
Start with
pip install thx01                 # library
pip install "thx01[server]"       # plus the REST server

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

THX-01 is a multilingual decision model from HAL-X AI. You give it a piece of text, such as a message, ticket, email, document or JSON record, plus typed questions in plain language. All the questions are answered together in a single pass, which takes about 10 ms on one GPU. The answers come with calibrated probabilities, and it can also return numbers, exact excerpts and citations.

Who it suits

Developers who build ticket routing, document triage and data extraction, especially for Azerbaijani, Russian, English and Turkish text.

IndustryWho uses itHow they use itExample
Customer supportTeams that route support ticketsClassify each ticket into a category with a probabilitySending a billing complaint to the billing queue
FinanceAnalysts who read reportsPull figures and quotes out of documentsExtracting a quarter's revenue with its supporting sentence
AutomationDevelopers of agent systemsMake fast yes or no and multiple choice decisions on agent tracesChecking whether an email needs a human reply

Skip it if you need free text generation, since it answers typed questions and does not write text.

Where to use it

It runs from Python through the thx01 library, and a REST server is available as an extra. The files download on Windows, macOS or Linux.

  • Python, with the thx01 library from PyPI
  • A GPU for the quoted speed, though the card says it uses a GPU if available
  • A REST server, installed with the server extra
Use caseWhoWhat they get back
Ticket classificationSupport teamsA category with a probability for each option
Number extractionAnalystsA value taken from the document, or null if absent
Excerpt and citationDevelopersExact text spans and the parts that support an answer

How to set it up

Install the library from PyPI. The weights download from this repository the first time you use it.

  • Python with pip
  • Enough memory for a 322M model, about 644 MB in F16
  1. Install the thx01 library, with the server extra if you want the REST server.
  2. Load the model by name in Python.
  3. Send a document and a set of typed questions.
pip install thx01                 # library
pip install "thx01[server]"       # plus the REST server

You can also fetch the files yourself:

pip install -U huggingface_hub
hf download doofz/THX-01

How to use it

Load the model, pass a document and a dictionary of questions, each with a type, and read the answers. Mark a question with the cite option to get its supporting text.

import thx01

agent = thx01.load("doofz/THX-01")              # GPU if available

doc = ("Northwind Corp. reported Q3 2026 results. Revenue for the quarter was $48.3 million, up 14%. "
       "Net income was $6.2 million, compared with $4.1 million a year ago. "
       '"We will open two offices in Baku," said CEO Laura Chen.')

result = agent.decide(doc, {
    "kind":    {"type": "choice", "question": "What is this document?",
                "criteria": {"earnings": "earnings report", "complaint": "customer complaint", "invoice": "invoice"}},
    "revenue": {"type": "number", "question": "What was the revenue, in US dollars?", "cite": True},
    "quote":   {"type": "excerpt", "question": "What did the CEO say?"},
})
# kind -> earnings, revenue -> 48300000 (+ the supporting sentence),
# quote -> verbatim span starting "We will open two offices in Baku"
Question typeWhat it returns
choiceOne of the options, with a probability for each
noulThe probability of yes
scoreAn ordinal level and its distribution
numberA numeric value taken from the text, or null when the text gives none
excerptAn exact piece of the text, plus where it starts and ends

Example

You pass a short earnings report and ask three things: what kind of document it is, what the revenue was in US dollars, and what the CEO said. It answers earnings, 48300000 with the sentence that supports it, and the CEO's exact words.

For newcomers and experts

If you are new to this, think of it as a quick form filler. You give it a text and a few questions with fixed answer types, and it returns each answer with how sure it is.

If you know the field, it is an mmBERT-base encoder with a decision head, trained with reinforcement learning on a proper scoring rule so that honest probabilities score best. Number answers are copied from the text and never converted between units or currencies, and excerpts are cut from the document, so they cannot hold invented text.

  1. Text and typed questions go in
  2. Encoder reads each question and state
  3. Decision head answers in one pass
  4. Probabilities, numbers or excerpts return

Good to know

Input is limited to 1,024 tokens per question, and longer text is truncated. The card reports its own test on 2,843 support tickets in four languages.

Card test, support ticket classification
MeasureTHX-01
Average accuracy98.4
Calibration error0.003
Latencyabout 10 ms
  • License: Apache 2.0
  • Cost to run: none named, you supply the hardware
  • Data it reaches: the text and questions you pass in
  • Not for: unit or currency conversion, since number questions return null in that case

README and files

README

THX-01

Answers typed questions about a ticket, email or document in one fast pass, with calibrated probabilities, extracted numbers, excerpts and citations. A 322M multilingual model for classification and extraction.

Made by doofz on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: THX-01 is a multilingual decision model from HAL-X AI. You give it a piece of text, such as a message, ticket, email, document or JSON record, plus typed questions in plain language. All the questions are answered together in a single pass, which takes about 10 ms on one GPU. The answers come with calibrated probabilities, and it can also return numbers, exact excerpts and citations.

Who it suits: Developers who build ticket routing, document triage and data extraction, especially for Azerbaijani, Russian, English and Turkish text.

Industry | Who uses it | How they use it | Example
Customer support | Teams that route support tickets | Classify each ticket into a category with a probability | Sending a billing complaint to the billing queue
Finance | Analysts who read reports | Pull figures and quotes out of documents | Extracting a quarter's revenue with its supporting sentence
Automation | Developers of agent systems | Make fast yes or no and multiple choice decisions on agent traces | Checking whether an email needs a human reply

Skip it if you need free text generation, since it answers typed questions and does not write text.

Where to use it: It runs from Python through the thx01 library, and a REST server is available as an extra. The files download on Windows, macOS or Linux.

  • Python, with the thx01 library from PyPI
  • A GPU for the quoted speed, though the card says it uses a GPU if available
  • A REST server, installed with the server extra
Use case | Who | What they get back
Ticket classification | Support teams | A category with a probability for each option
Number extraction | Analysts | A value taken from the document, or null if absent
Excerpt and citation | Developers | Exact text spans and the parts that support an answer

How to set it up: Install the library from PyPI. The weights download from this repository the first time you use it.

  • Python with pip
  • Enough memory for a 322M model, about 644 MB in F16
  1. Install the thx01 library, with the server extra if you want the REST server.
  2. Load the model by name in Python.
  3. Send a document and a set of typed questions.
pip install thx01                 # library
pip install "thx01[server]"       # plus the REST server

You can also fetch the files yourself:

pip install -U huggingface_hub
hf download doofz/THX-01

How to use it: Load the model, pass a document and a dictionary of questions, each with a type, and read the answers. Mark a question with the cite option to get its supporting text.

import thx01

agent = thx01.load("doofz/THX-01")              # GPU if available

doc = ("Northwind Corp. reported Q3 2026 results. Revenue for the quarter was $48.3 million, up 14%. "
       "Net income was $6.2 million, compared with $4.1 million a year ago. "
       '"We will open two offices in Baku," said CEO Laura Chen.')

result = agent.decide(doc, {
    "kind":    {"type": "choice", "question": "What is this document?",
                "criteria": {"earnings": "earnings report", "complaint": "customer complaint", "invoice": "invoice"}},
    "revenue": {"type": "number", "question": "What was the revenue, in US dollars?", "cite": True},
    "quote":   {"type": "excerpt", "question": "What did the CEO say?"},
})
# kind -> earnings, revenue -> 48300000 (+ the supporting sentence),
# quote -> verbatim span starting "We will open two offices in Baku"
Question type | What it returns
choice | One of the options, with a probability for each
noul | The probability of yes
score | An ordinal level and its distribution
number | A numeric value taken from the text, or null when the text gives none
excerpt | An exact piece of the text, plus where it starts and ends

Example: You pass a short earnings report and ask three things: what kind of document it is, what the revenue was in US dollars, and what the CEO said. It answers earnings, 48300000 with the sentence that supports it, and the CEO's exact words.

For newcomers and experts: If you are new to this, think of it as a quick form filler. You give it a text and a few questions with fixed answer types, and it returns each answer with how sure it is.

If you know the field, it is an mmBERT-base encoder with a decision head, trained with reinforcement learning on a proper scoring rule so that honest probabilities score best. Number answers are copied from the text and never converted between units or currencies, and excerpts are cut from the document, so they cannot hold invented text.

Text and typed questions go in
Encoder reads each question and state
Decision head answers in one pass
Probabilities, numbers or excerpts return

Good to know: Input is limited to 1,024 tokens per question, and longer text is truncated. The card reports its own test on 2,843 support tickets in four languages.

Title: Card test, support ticket classification
Measure | THX-01
Average accuracy | 98.4
Calibration error | 0.003
Latency | about 10 ms
  • License: Apache 2.0
  • Cost to run: none named, you supply the hardware
  • Data it reaches: the text and questions you pass in
  • Not for: unit or currency conversion, since number questions return null in that case

On Hugging Face, 13 November 2026

  • Task: text classification
  • Library: thx01
  • Parameters: 322M
  • Weights: about 644 MB in F16; about 161 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 789
  • Likes: 93
  • License: apache-2.0
  • Languages: az, en, ru, tr, de, fr, es, ar
  • Based on: jhu-clsp/mmBERT-base
  • Fine-tunes: 1
  • Tags: thx01, safetensors, decision-model, calibration, reinforcement-learning, proper-scoring-rules, routing, extraction, citation, multilingual, azerbaijani, thx-01

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download doofz/THX-01

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
THX-01 This page78993322Mapache-2.0
elephant-1Shares routing · calibration · decision-model7,4261159.4Bmit
mammoth-1Shares routing · calibration · decision-model5,9039727.4Bmit
joey-1Shares routing · calibration · decision-model1,539472.7Bmit
Julia 1Shares routing · multilingual · decision-model2,162503144Mapache-2.0
EmbeddingGemma 2 Typed DecisionsShares calibration · multilingual · decision-model1,80089272Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k