Downloads · 30 days
0
exnivo/lexi-100k
lexi-100k is a token classification model from exnivo. Use it when you need labels on individual words, such as names. It is set up for pytorch. The card lists the license as mit.
Lexi-100K is a tiny English keyword and entity tagger trained with PyTorch and designed to run entirely on Roblox servers in Luau. Runtime inference needs no HTTP requests, API keys, or external AI service.
Downloads · 30 days
0
Access
Public
Updated Aug 21, 2026
Repo size
3.4 MB
Likes
0
Public
Click a slice to open those files.
.pt1.7 MB · 70%
From the Hugging Face model README
Lexi-100K is a tiny English keyword and entity tagger trained with PyTorch and designed to run entirely on Roblox servers in Luau. Runtime inference needs no HTTP requests, API keys, or external AI service.
O, FOOD, GAME, ANIMAL, PERSON, PLACE, TIME, OBJECT, ITEM, ACTIVITY,
EMOTION, OTHER0.75New Yorkmodel.pt — full PyTorch checkpointvocabulary.json — learned 4,096-token vocabularymetrics.json — synthetic validation metricsbenchmark.json — independent 86-case challenge benchmarkroblox-benchmark.json — results measured in Roblox Studio server LuauModelWeights.lua — directly embeddable int8/base64 Roblox weightsOn the independent 86-case English challenge set, full-precision Python, dequantized int8 Python,
and the Roblox Luau runtime produced the same results at threshold 0.75:
| Metric | Result |
|---|---|
| Precision | 99.24% |
| Recall | 100% |
| F1 | 99.62% |
| Exact sentences | 85 / 86 |
| Type accuracy | 97.69% |
| Roblox average latency | 1.523 ms |
| Roblox throughput | ~657 inferences/s |
| Roblox Luau tests | 11 / 11 passed |
The challenge set is small and curated, so these numbers are not evidence of broad language understanding. Unrepresented slang, languages other than English, unusual spelling, and concepts outside the training domains can fail.
The complete training code, Luau inference runtime, server endpoint, tests, and UI are available in the GitHub repository. You can also play or copy the Roblox experience.
Python example after cloning the source repository:
pip install -e .
python -m lexi.predict "Guus played Roblox with Riley on Friday"
Roblox usage:
local result = game.ReplicatedStorage.Remotes.AnalyzeText:InvokeServer(
"Guus played Roblox with Riley on Friday"
)
Lexi combines deterministic, domain-specific generated examples with 10,000 short, safety-filtered English prompts from OpenAssistant OASST1 (Apache-2.0). OASST1 text is conservatively weak-labeled and is never treated as authoritative keyword truth. The independent benchmark is excluded from all training paths.
The open-name fallback stores no names. It only promotes an unknown capitalized token when its nearby words provide a strong person role, while known entities remain under the neural model's type prediction.
Lexi is an experimental keyword tagger, not a moderation or safety system. Roblox text shown to
other players must still be filtered with Roblox TextService.