Token Classification
spaCy
Transformers
Indonesian
dependency-parsing
pos-tagging
lemmatization
ner
Eval Results (legacy)
Run this model with HF Jobs
Run firqaaa/id_core_web_trf on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/firqaaa/id_core_web_trf. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/firqaaa/id_core_web_trf on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use firqaaa/id_core_web_trf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use firqaaa/id_core_web_trf with spaCy:
!pip install https://huggingface.co/firqaaa/id_core_web_trf/resolve/main/id_core_web_trf-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("id_core_web_trf") # Importing as module. import id_core_web_trf nlp = id_core_web_trf.load() - Transformers
How to use firqaaa/id_core_web_trf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="firqaaa/id_core_web_trf")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("firqaaa/id_core_web_trf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download meta.json from firqaaa/id_core_web_trf: direct link, hf CLI and curl.
- Browser
- Download file 6.86 kB
-
https://huggingface.co/firqaaa/id_core_web_trf/resolve/main/meta.json
- Command line
-
hf download hf://firqaaa/id_core_web_trf/meta.json
-
curl -L -o meta.json https://huggingface.co/firqaaa/id_core_web_trf/resolve/main/meta.json
6.86 kB
| { | |
| "lang": "id", | |
| "name": "core_web_trf", | |
| "version": "0.1.0", | |
| "spacy_version": ">=3.8.18,<3.9.0", | |
| "description": "Indonesian transformer pipeline modelled on en_core_web_trf: indolem/indobert-base-uncased, UD-style tokenizer, morphologizer, lemmatizer, parser, ner and rule-based entities (labels: CARDINAL, DATE, EVENT, FAC, GPE, LANGUAGE, LAW, LOC, MONEY, NORP, ORDINAL, ORG, PERCENT, PERSON, PRODUCT, QUANTITY, TIME, WORK_OF_ART).", | |
| "author": "", | |
| "email": "", | |
| "url": "", | |
| "license": "CC BY-NC-SA 4.0: research only (IDN Tagged Corpus is non-commercial); NER data licences unconfirmed", | |
| "spacy_git_version": "4331199", | |
| "vectors": { | |
| "width": 0, | |
| "vectors": 0, | |
| "keys": 0, | |
| "name": null, | |
| "mode": "default" | |
| }, | |
| "labels": { | |
| "transformer": [], | |
| "morphologizer": [ | |
| "POS=PUNCT", | |
| "POS=VERB|Voice=Act", | |
| "POS=CCONJ", | |
| "POS=AUX", | |
| "Number=Sing|POS=NOUN", | |
| "POS=ADP", | |
| "POS=PROPN", | |
| "NumType=Card|POS=NUM", | |
| "Definite=Ind|POS=DET|PronType=Art", | |
| "POS=PRON|PronType=Rel", | |
| "POS=ADJ", | |
| "POS=VERB|Voice=Pass", | |
| "POS=SCONJ", | |
| "Number=Sing|POS=PRON|Person=3|PronType=Prs", | |
| "POS=DET|PronType=Dem", | |
| "Foreign=Yes|POS=X", | |
| "POS=ADV", | |
| "POS=NOUN", | |
| "Number=Plur|POS=NOUN", | |
| "Number=Plur|POS=DET|PronType=Ind", | |
| "POS=PRON|PronType=Dem", | |
| "NumType=Ord|POS=ADJ", | |
| "POS=PART|Polarity=Neg", | |
| "NumType=Card|POS=NUM|PronType=Tot", | |
| "Number=Sing|POS=PRON|PronType=Ind", | |
| "POS=VERB", | |
| "Clusivity=In|Number=Plur|POS=PRON|Person=1|PronType=Prs", | |
| "POS=PART", | |
| "POS=PRON|PronType=Int", | |
| "Degree=Sup|POS=ADJ", | |
| "POS=DET|PronType=Tot", | |
| "Number=Sing|POS=PRON|Person=1|Polite=Form|PronType=Prs", | |
| "Clusivity=Ex|Number=Plur|POS=PRON|Person=1|PronType=Prs", | |
| "POS=X", | |
| "Abbr=Yes|POS=PART|Polarity=Neg", | |
| "POS=DET|PronType=Emp", | |
| "Number=Plur|POS=PRON|Person=3|PronType=Prs", | |
| "POS=INTJ", | |
| "POS=PRON|PronType=Prs|Reflex=Yes", | |
| "Number=Sing|POS=PRON|Person=1|Polite=Infm|PronType=Prs", | |
| "POS=ADV|PronType=Int", | |
| "POS=ADV|PronType=Dem", | |
| "Number=Plur|POS=PRON|Person=2|Polite=Infm|PronType=Prs", | |
| "ExtPos=ADV|POS=ADV", | |
| "POS=VERB|Typo=Yes|Voice=Act", | |
| "Number=Sing|POS=PRON|Person=2|Polite=Form|PronType=Prs", | |
| "Definite=Def|POS=DET|PronType=Art", | |
| "Abbr=Yes|POS=DET|PronType=Dem", | |
| "POS=ADV|PronType=Tot", | |
| "POS=SYM", | |
| "ExtPos=ADV|POS=SCONJ", | |
| "Number=Sing|POS=PRON|Person=2|Polite=Infm|PronType=Prs", | |
| "POS=ADV|PronType=Ind", | |
| "Number=Sing|POS=PRON|Person=3|Polite=Form|PronType=Prs", | |
| "ExtPos=SCONJ|POS=ADP", | |
| "POS=ADV|Typo=Yes", | |
| "ExtPos=ADP|POS=ADP", | |
| "POS=NOUN|Typo=Yes", | |
| "POS=VERB|Typo=Yes|Voice=Pass", | |
| "POS=ADP|Typo=Yes", | |
| "Number=Plur|POS=PRON|PronType=Ind", | |
| "POS=PRON|PronType=Tot", | |
| "POS=DET|PronType=Art", | |
| "ExtPos=ADV|POS=ADP", | |
| "POS=SCONJ|Typo=Yes", | |
| "NumType=Card|POS=NUM|Typo=Yes", | |
| "POS=VERB|Typo=Yes", | |
| "ExtPos=ADV|POS=AUX", | |
| "ExtPos=ADV|POS=CCONJ", | |
| "POS=ADV|PronType=Rel", | |
| "Number=Sing|POS=NOUN|Typo=Yes", | |
| "ExtPos=ADV|POS=ADJ", | |
| "POS=DET|PronType=Ind", | |
| "ExtPos=SCONJ|POS=SCONJ", | |
| "ExtPos=ADV|POS=PRON|PronType=Dem", | |
| "Number=Sing|POS=DET|PronType=Ind", | |
| "POS=DET|PronType=Ind|Typo=Yes", | |
| "POS=PRON|PronType=Ind", | |
| "Abbr=Yes|POS=PROPN", | |
| "ExtPos=ADV|POS=ADV|PronType=Dem", | |
| "Abbr=Yes|POS=PRON|PronType=Rel", | |
| "Number=Plur|POS=PRON|PronType=Int", | |
| "POS=DET|PronType=Rel", | |
| "ExtPos=CCONJ|POS=AUX", | |
| "Abbr=Yes|POS=ADV", | |
| "ExtPos=ADP|POS=SCONJ", | |
| "POS=ADJ|Typo=Yes", | |
| "POS=X|Typo=Yes", | |
| "Number=Sing|POS=PRON|Person=2|PronType=Prs", | |
| "POS=ADV|PronType=Int|Typo=Yes", | |
| "NumType=Ord|POS=ADJ|Typo=Yes" | |
| ], | |
| "parser": [ | |
| "ROOT", | |
| "acl", | |
| "acl:relcl", | |
| "advcl", | |
| "advmod", | |
| "advmod:emph", | |
| "amod", | |
| "appos", | |
| "aux", | |
| "case", | |
| "case:adv", | |
| "cc", | |
| "ccomp", | |
| "compound", | |
| "conj", | |
| "cop", | |
| "csubj", | |
| "dep", | |
| "det", | |
| "fixed", | |
| "flat", | |
| "flat:foreign", | |
| "flat:name", | |
| "goeswith", | |
| "mark", | |
| "nmod", | |
| "nmod:lmod", | |
| "nmod:poss", | |
| "nmod:tmod", | |
| "nsubj", | |
| "nsubj:pass", | |
| "nummod", | |
| "obj", | |
| "obl", | |
| "obl:agent", | |
| "obl:tmod", | |
| "parataxis", | |
| "punct", | |
| "xcomp" | |
| ], | |
| "ner": [ | |
| "CARDINAL", | |
| "DATE", | |
| "EVENT", | |
| "FAC", | |
| "GPE", | |
| "LANGUAGE", | |
| "LAW", | |
| "LOC", | |
| "MONEY", | |
| "NORP", | |
| "ORDINAL", | |
| "ORG", | |
| "PERCENT", | |
| "PERSON", | |
| "PRODUCT", | |
| "QUANTITY", | |
| "TIME", | |
| "WORK_OF_ART" | |
| ] | |
| }, | |
| "pipeline": [ | |
| "transformer", | |
| "morphologizer", | |
| "trainable_lemmatizer", | |
| "id_lemma_fallback", | |
| "parser", | |
| "ner", | |
| "id_rule_ner" | |
| ], | |
| "components": [ | |
| "transformer", | |
| "morphologizer", | |
| "trainable_lemmatizer", | |
| "id_lemma_fallback", | |
| "parser", | |
| "ner", | |
| "id_rule_ner" | |
| ], | |
| "disabled": [], | |
| "performance": { | |
| "pos_acc": 0.9102362205, | |
| "morph_acc": 0.9220945083, | |
| "morph_micro_p": 0.9754047961, | |
| "morph_micro_r": 0.8724106324, | |
| "morph_micro_f": 0.9210373524, | |
| "lemma_acc": 0.7767378542, | |
| "sents_p": 0.8289036545, | |
| "sents_r": 0.8958707361, | |
| "sents_f": 0.8610871441, | |
| "dep_uas": 0.839584052, | |
| "dep_las": 0.7351564425 | |
| }, | |
| "sources": [ | |
| { | |
| "name": "UD Indonesian-GSD r2.19", | |
| "license": "CC BY-SA 4.0" | |
| }, | |
| { | |
| "name": "UD Indonesian-CSUI r2.19", | |
| "license": "CC BY-SA 4.0" | |
| }, | |
| { | |
| "name": "NERGRIT (IndoNLU)", | |
| "license": "not stated" | |
| }, | |
| { | |
| "name": "NERP (IndoNLU), truecased", | |
| "license": "not stated" | |
| }, | |
| { | |
| "name": "NER UI / NER UGM (IndoLEM)", | |
| "license": "not stated" | |
| }, | |
| { | |
| "name": "Wikidata place names", | |
| "license": "CC0" | |
| }, | |
| { | |
| "name": "spacy-lookups-data id lemma table", | |
| "license": "MIT" | |
| }, | |
| { | |
| "name": "IDN Tagged Corpus (Dinakaramani et al. 2014), POS only", | |
| "license": "CC BY-NC-SA 4.0" | |
| }, | |
| { | |
| "name": "spacy-lookups-data Indonesian lemma lookup table (lemma fallback)", | |
| "license": "MIT" | |
| }, | |
| { | |
| "name": "UD Indonesian-GSD and -CSUI train sentences, 18-label NER annotated by an LLM, not human-verified (0.5.0: 2,000; 0.6.0: 4,675)", | |
| "license": "CC BY-SA 4.0" | |
| }, | |
| { | |
| "name": "Indonesian Wikipedia sentences (2,000) picked for rare labels, 18-label NER annotated by an LLM, not human-verified", | |
| "license": "CC BY-SA 3.0 / 4.0" | |
| }, | |
| { | |
| "name": "indolem/indobert-base-uncased (IndoLEM, Koto et al. 2020)", | |
| "license": "MIT" | |
| } | |
| ] | |
| } |