goby-9-ie-vi is an open-weight model for token classification from Belumind, released under Apache License 2.0. It has 467M parameters. At 16-bit it needs about 1.1 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.
Joint entity + relation extraction for Vietnamese. The best-calibrated model in the goby family: higher precision at the same recall than its siblings.
Runs On
What it takes to serve goby-9-ie-vi (467M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 0.9 GB | 1.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 0.5 GB | 0.6 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 0.2 GB | 0.3 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 20, 2026.
goby-9-ie-vi on every accelerator the SAVRN Index prices, at every precision
Model Card
By Belumind, published under apache-2.0, revision f1c8157160c0.
Joint entity + relation extraction for Vietnamese. The best-calibrated model in the goby family: higher precision at the same recall than its siblings. On clean text at each model own best threshold it ties goby-4 rather than beating it (see Measurement correction); on degraded text it is the worst of the family. Pick it for well-formed prose where you care about precision. Fine-tuned from knowledgator/gliner-relex-large-v1.0. Released by Belumind. Apache-2.0. Try it in the browser - no install, runs on ZeroGPU. goby-9 is not robust to degraded text - see Known limitations. That is not a small caveat, read it before choosing. Same training data as goby-4. The only difference is the loss…
Read Belumind's full model card
Joint entity + relation extraction for Vietnamese. The best-calibrated model in the goby family: higher precision at the same recall than its siblings. On clean text at each model own best threshold it ties goby-4 rather than beating it (see Measurement correction); on degraded text it is the worst of the family. Pick it for well-formed prose where you care about precision.
Fine-tuned from knowledgator/gliner-relex-large-v1.0. Released by Belumind. Apache-2.0.
Try it in the browser - no install, runs on ZeroGPU.
Which goby do I want?
| Your input | Use |
|---|---|
| Clean Vietnamese prose, you want the best accuracy | goby-9-ie-vi (this one) |
| OCR output, ALL CAPS, missing diacritics | goby-7-ie-vi |
| You need maximum relation recall | goby-4-ie-vi |
goby-9 is not robust to degraded text - see Known limitations. That is not a small caveat, read it before choosing.
What changed
Same training data as goby-4. The only difference is the loss configuration: negative sampling ratio 1.0 -> 2.5, focal loss alpha 0.75 -> 0.5. No new data, no augmentation.
This matters because it moves the precision/recall curve rather than sliding along it:
| at recall | goby-4 precision | goby-9 precision |
|---|---|---|
| ~77 | 46.4 | 50.3 |
| ~74 | 53.8 | 57.9 |
| ~64 | 67.3 | 67.7 |
If the two models only differed by an operating point, precision at matched recall would be identical. It is not: +3.9 and +4.1 in the range most people run at.
Measurement correction (2026-09-21)
Every NER number in this card was originally measured with a placeholder relation label (relations=["x"]) - a setting nobody uses in production. Re-measured with the real relation list, same benchmark, one shared harness, every checkpoint scores higher, and the gain grows with how much the model was fine-tuned:
| model | F1 @0.5 placeholder | F1 @0.5 real relations | best F1 (threshold) |
|---|---|---|---|
| gliner-relex-large (base) | 25.6 | 26.4 | 28.9 (0.70) |
| goby-1 | 56.0 | 58.3 | 63.8 (0.70) |
| goby-4 | 61.0 | 64.4 | 71.4 (0.70) |
| goby-7 | 59.1 | 62.7 | 70.2 (0.65) |
| goby-9 | 64.5 | 69.1 | 71.6 (0.60) |
The base model barely moves (+0.9); goby-9 gains +4.6. The relation head learned during fine-tuning feeds back into entity detection, so passing the relations you actually want is worth several F1 on its own - pass them even if you only need NER.
At each model best threshold, goby-9 and goby-4 are INDISTINGUISHABLE: 71.6 vs 71.4, difference +0.22 F1, 95% bootstrap CI [-0.79, +1.29], 68% of resamples positive. Comparisons at one shared threshold favour goby-9; comparisons at each model own operating point do not.
The per-type and relation tables below have not been re-measured and still reflect the placeholder setting.
Results
Benchmark: 450 held-out Vietnamese sentences, 1,328 hand-audited entity spans. All figures at threshold=0.5 unless stated.
Typed NER
| Precision | Recall | F1 | |
|---|---|---|---|
| goby-4-ie-vi | 50.5 | 76.6 | 60.9 |
| goby-9-ie-vi | 57.9 | 73.3 | 64.7 |
Paired bootstrap at a shared threshold, goby-9 minus goby-4: +3.8 F1, 95% CI [+2.7, +4.8], 100% of resamples positive. At each model own best threshold with real relation labels the two are indistinguishable (+0.22, CI [-0.79, +1.29]) - see Measurement correction above.
Threshold sweep:
threshold |
P | R | F1 |
|---|---|---|---|
| 0.3 | 45.9 | 77.9 | 57.8 |
| 0.4 | 50.3 | 76.7 | 60.7 |
| 0.5 | 57.9 | 73.3 | 64.7 |
| 0.6 | 67.7 | 64.4 | 66.0 |
| 0.7 | 80.8 | 52.0 | 63.3 |
It also fires far less: 1,672 predictions at 0.5 against goby-4 at 2,005, for higher recall-adjusted precision.
Per entity type (F1)
| Type | goby-4 | goby-9 |
|---|---|---|
| ngay (date) | 89.3 | 92.6 |
| dia diem (location) | 66.8 | 69.8 |
| van ban (document) | 66.7 | 68.8 |
| to chuc (organisation) | 55.4 | 59.6 |
| nguoi (person) | 53.2 | 57.1 |
| san pham (product) | 59.0 | 51.1 |
| giai thuong (award) | 42.3 | 45.5 |
| su kien (event) | 40.0 | 37.5 |
| tac pham (work) | 52.6 | 33.3 |
| chuc vu (job title) | 21.7 | 31.2 |
goby-9 wins on 7 of 10. It loses on tac pham (52.6 -> 33.3), san pham (59.0 -> 51.1) and su kien (40.0 -> 37.5) - the sharper decision boundary costs recall on the types with the fewest training examples.
Relations
| strict | partial | |
|---|---|---|
| goby-4-ie-vi | 40.7 | 57.7 |
| goby-9-ie-vi | 41.6 | 56.7 |
Relation quality is essentially unchanged (-1.0 partial, +0.9 strict).
Usage
pip install gliner==0.2.29
from gliner import GLiNER
model = GLiNER.from_pretrained("belumind/goby-9-ie-vi").to("cuda")
KEYS = {
"to_chuc": "tổ chức", "van_ban": "văn bản",
"nguoi": "người", "dia_diem": "địa điểm",
"ngay": "ngày", "chuc_vu": "chức vụ",
}
INV = {v: k for k, v in KEYS.items()}
ents, rels = model.inference(
texts=["Công ty Cổ phần Giải trí Galaxy được thành lập ngày 13 / 9 / 2003 ."],
labels=list(KEYS.values()),
relations=["thành lập ngày", "đặt trụ sở tại"],
threshold=0.5, relation_threshold=0.5,
return_relations=True, flat_ner=True,
)
out = [{"text": x["text"], "type": INV[x["label"]]} for x in ents[0]]
Pass the Vietnamese labels with diacritics. GLiNER encodes the label string with its text encoder, so to_chuc is effectively an unseen label: it costs about 25 F1. Map to snake_case keys after inference, as above.
Labels must keep their Vietnamese diacritics
GLiNER encodes the label STRING with the same text encoder as the input, so a de-accented label is a different vector. Measured on goby-7, threshold 0.5:
| labels passed to the model | NER F1 |
|---|---|
| Vietnamese, with diacritics | 57.2 |
| ASCII with spaces (to chuc) | 36.1 |
| snake_case ASCII (to_chuc) | 32.3 |
About 25 F1, lost with no error and no warning. This repo ships goby_labels.py so the mistake fails loudly instead of silently:
import os, sys
from huggingface_hub import hf_hub_download
sys.path.insert(0, os.path.dirname(hf_hub_download("REPO_ID", "goby_labels.py")))
from goby_labels import extract, check_labels, LabelError
ents, rels = extract(model, [text], json_keys=True)
extract() calls the model with the Vietnamese labels and renames the types to to_chuc, van_ban, ... only in the RETURNED dicts - free, and JSON-safe keys. Passing a de-accented label raises LabelError; an unknown ASCII label warns. check_labels(labels) is the bare assertion if you keep your own inference call.
Weights ship as both model.safetensors (what gliner loads by preference) and pytorch_model.bin; the two are byte-identical, tensor for tensor.
Known limitations
- Degraded text destroys this model. Relation F1 on the same 267 sentences: clean 56.7, without diacritics 6.0, ALL CAPS 6.8. goby-7 scores 28.5 and 30.0 on the same inputs. If your text is not clean and correctly cased, use goby-7, not this.
chuc vu(job titles): do not trust the 31.2 above. On a separate benchmark of 55 hand-annotated, correctly-delimited job titles, goby-9 gets only 5 exactly right (F1 13.3) - and the base model beats every model in this family there (13 exact, F1 18.3). Our fine-tuning data carries a systematic truncation of Vietnamese job titles, and every goby model inherited it. We publish this because the main benchmark hides it.tac phamregressed against goby-4 (52.6 -> 33.3).ky(signed document) andke nhiem(successor of) remain the weakest relations.- Trained on Vietnamese Wikipedia-style prose. Legal, medical and conversational text are out of distribution.
Citation
@misc{goby9ievi2026,
title = {goby-9-ie-vi: a recalibrated joint IE model for Vietnamese},
author = {Belumind},
year = {2026},
url = {https://huggingface.co/belumind/goby-9-ie-vi}
}
Identity and Version
- Repository
- belumind/goby-9-ie-vi
- Publisher
- Belumind
- Task
- Token classification
- Modality
- Text
- Library
- gliner
- Parameters
- 467M parameters
- Languages
- vi
- Revision
- f1c8157160c046596f324ef93b400f4e18529495
- First published
- 2026-09-20
- Last updated
- 2026-09-21
Files and Weights
8 files, 3.7 GB in total. The weights are 2 files totalling 3.7 GB in bin, safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model.safetensors | Weights | 1.9 GB | 146ffd5dda47 |
| pytorch_model.bin | Weights | 1.9 GB | 70bf34f25d62 |
| gliner_config.json | Configuration | 3.0 KB | — |
| goby_labels.py | Configuration | 5.8 KB | — |
| README.md | Documentation | 8.4 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 8.3 MB | — |
| tokenizer_config.json | Tokenizer | 637 B | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 3.7 GB
Released by Belumind through its official repository on Hugging Face. Read the license.
Built From
- Derived from knowledgator/gliner-relex-large-v1.0
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 3.7 GB |
| 16-bit | 0.9 GB |
| 8-bit | 0.5 GB |
| 4-bit | 0.2 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About goby-9-ie-vi
How much GPU memory does goby-9-ie-vi need?
About 1.1 GB at 16-bit and 0.3 GB at 4-bit: the weights (467M parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run goby-9-ie-vi on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use goby-9-ie-vi commercially?
Yes. goby-9-ie-vi is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
Similar Models
Specialized model for Chemical Entity Recognition - Chemical entities from the BC5CDR dataset This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for chemical entity recognition - chemical entities from the bc5cdr dataset. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with production-ready reliability for clinical and research…
Specialized model for Disease Entity Recognition - Disease entities from the BC5CDR dataset This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for disease entity recognition - disease entities from the bc5cdr dataset. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with production-ready reliability for clinical and research applications.…
Specialized model for Chemical Entity Recognition - Identifies chemical compounds and substances in biomedical literature This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for chemical entity recognition - identifies chemical compounds and substances in biomedical literature. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with…
Specialized model for Gene/Protein Entity Recognition - Gene and protein mentions This model is a state-of-the-art fine-tuned transformer engineered to deliver enterprise-grade accuracy for gene/protein entity recognition - gene and protein mentions. This specialized model excels at identifying and extracting biomedical entities from clinical texts, research papers, and healthcare documents, enabling applications such as drug interaction detection, medication extraction from patient records, adverse event monitoring, literature mining for drug discovery, and biomedical knowledge graph construction with production-ready reliability for clinical and research applications. This model can…