Publish fine-tuned NER model and tokenizer
Browse filesFiles changed (8)
- README.mdAdded+12
- config.jsonAdded+91
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
- vocab.txtAdded
123456789101112---license: cc-by-nc-sa-4.0tags: [token-classification, ner, distilbert]language: [en]base_model: distilbert/distilbert-base-caseddatasets: [Babelscape/multinerd]metrics: [f1, precision, recall, accuracy]---# DistilBERT MultiNERD NER (English)Fine-tuned DistilBERT with a 31-label BIO token-classification head on 10,000 English MultiNERD examples for 2 epochs. Validation/test subsets: 2,000 each. Test entity precision 0.883, recall 0.891, F1 0.887; token accuracy 0.983.
Dataset license: CC BY-NC-SA 4.0. Coursework/non-commercial demonstration only; obtain appropriate permissions for commercial use. TIME extraction needs further evaluation.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091{ "_name_or_path": "distilbert/distilbert-base-cased", "activation": "gelu", "architectures": [ "DistilBertForTokenClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "O", "1": "B-PER", "2": "I-PER", "3": "B-ORG", "4": "I-ORG", "5": "B-LOC", "6": "I-LOC", "7": "B-ANIM", "8": "I-ANIM", "9": "B-BIO", "10": "I-BIO", "11": "B-CEL", "12": "I-CEL", "13": "B-DIS", "14": "I-DIS", "15": "B-EVE", "16": "I-EVE", "17": "B-FOOD", "18": "I-FOOD", "19": "B-INST", "20": "I-INST", "21": "B-MEDIA", "22": "I-MEDIA", "23": "B-MYTH", "24": "I-MYTH", "25": "B-PLANT", "26": "I-PLANT", "27": "B-TIME", "28": "I-TIME", "29": "B-VEHI", "30": "I-VEHI" }, "initializer_range": 0.02, "label2id": { "B-ANIM": 7, "B-BIO": 9, "B-CEL": 11, "B-DIS": 13, "B-EVE": 15, "B-FOOD": 17, "B-INST": 19, "B-LOC": 5, "B-MEDIA": 21, "B-MYTH": 23, "B-ORG": 3, "B-PER": 1, "B-PLANT": 25, "B-TIME": 27, "B-VEHI": 29, "I-ANIM": 8, "I-BIO": 10, "I-CEL": 12, "I-DIS": 14, "I-EVE": 16, "I-FOOD": 18, "I-INST": 20, "I-LOC": 6, "I-MEDIA": 22, "I-MYTH": 24, "I-ORG": 4, "I-PER": 2, "I-PLANT": 26, "I-TIME": 28, "I-VEHI": 30, "O": 0 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "output_past": true, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.46.3", "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:cdf169e18f00c70ecca18e3b47490666b8d400471039186db7bde1bb97c977b3size 2608713481234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": false, "cls_token": "[CLS]", "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "DistilBertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:4d2218cd2d1753de5a9d730d30e6ca11f269f7fc1b7cd6134d28638dab5db06dsize 5713README.mdAdded+12
config.jsonAdded+91
model.safetensorsAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+55
training_args.binAdded+3
vocab.txtAdded