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
File size: 6,862 Bytes
53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 7eb96c3 53d71f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | {
"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"
}
]
} |