Training in progress, step 500
Browse files- README.md +93 -0
- config.json +46 -0
- model.safetensors +3 -0
- runs/Mar24_09-40-54_bdce0a1b1624/events.out.tfevents.1742809311.bdce0a1b1624.1914.0 +3 -0
- runs/Mar24_09-40-54_bdce0a1b1624/events.out.tfevents.1742809622.bdce0a1b1624.1914.1 +3 -0
- runs/Mar24_10-18-18_bdce0a1b1624/events.out.tfevents.1742811537.bdce0a1b1624.1914.2 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: distilbert-base-uncased
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- conll2003
|
| 9 |
+
metrics:
|
| 10 |
+
- precision
|
| 11 |
+
- recall
|
| 12 |
+
- f1
|
| 13 |
+
- accuracy
|
| 14 |
+
model-index:
|
| 15 |
+
- name: distilbert-base-uncased-finetuned-ner-conll
|
| 16 |
+
results:
|
| 17 |
+
- task:
|
| 18 |
+
name: Token Classification
|
| 19 |
+
type: token-classification
|
| 20 |
+
dataset:
|
| 21 |
+
name: conll2003
|
| 22 |
+
type: conll2003
|
| 23 |
+
config: conll2003
|
| 24 |
+
split: validation
|
| 25 |
+
args: conll2003
|
| 26 |
+
metrics:
|
| 27 |
+
- name: Precision
|
| 28 |
+
type: precision
|
| 29 |
+
value: 0.9257130223303117
|
| 30 |
+
- name: Recall
|
| 31 |
+
type: recall
|
| 32 |
+
value: 0.9367938248126189
|
| 33 |
+
- name: F1
|
| 34 |
+
type: f1
|
| 35 |
+
value: 0.9312204614956908
|
| 36 |
+
- name: Accuracy
|
| 37 |
+
type: accuracy
|
| 38 |
+
value: 0.9835734824534926
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 42 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 43 |
+
|
| 44 |
+
# distilbert-base-uncased-finetuned-ner-conll
|
| 45 |
+
|
| 46 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2003 dataset.
|
| 47 |
+
It achieves the following results on the evaluation set:
|
| 48 |
+
- Loss: 0.0620
|
| 49 |
+
- Precision: 0.9257
|
| 50 |
+
- Recall: 0.9368
|
| 51 |
+
- F1: 0.9312
|
| 52 |
+
- Accuracy: 0.9836
|
| 53 |
+
|
| 54 |
+
## Model description
|
| 55 |
+
|
| 56 |
+
More information needed
|
| 57 |
+
|
| 58 |
+
## Intended uses & limitations
|
| 59 |
+
|
| 60 |
+
More information needed
|
| 61 |
+
|
| 62 |
+
## Training and evaluation data
|
| 63 |
+
|
| 64 |
+
More information needed
|
| 65 |
+
|
| 66 |
+
## Training procedure
|
| 67 |
+
|
| 68 |
+
### Training hyperparameters
|
| 69 |
+
|
| 70 |
+
The following hyperparameters were used during training:
|
| 71 |
+
- learning_rate: 2e-05
|
| 72 |
+
- train_batch_size: 16
|
| 73 |
+
- eval_batch_size: 16
|
| 74 |
+
- seed: 42
|
| 75 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 76 |
+
- lr_scheduler_type: linear
|
| 77 |
+
- num_epochs: 3
|
| 78 |
+
|
| 79 |
+
### Training results
|
| 80 |
+
|
| 81 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 82 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 83 |
+
| 0.2523 | 1.0 | 878 | 0.0704 | 0.9004 | 0.9198 | 0.9100 | 0.9796 |
|
| 84 |
+
| 0.0523 | 2.0 | 1756 | 0.0620 | 0.9208 | 0.9346 | 0.9276 | 0.9829 |
|
| 85 |
+
| 0.0304 | 3.0 | 2634 | 0.0620 | 0.9257 | 0.9368 | 0.9312 | 0.9836 |
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
### Framework versions
|
| 89 |
+
|
| 90 |
+
- Transformers 4.49.0
|
| 91 |
+
- Pytorch 2.6.0+cu124
|
| 92 |
+
- Datasets 3.4.1
|
| 93 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForTokenClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "O",
|
| 13 |
+
"1": "B-PER",
|
| 14 |
+
"2": "I-PER",
|
| 15 |
+
"3": "B-ORG",
|
| 16 |
+
"4": "I-ORG",
|
| 17 |
+
"5": "B-LOC",
|
| 18 |
+
"6": "I-LOC",
|
| 19 |
+
"7": "B-MISC",
|
| 20 |
+
"8": "I-MISC"
|
| 21 |
+
},
|
| 22 |
+
"initializer_range": 0.02,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"B-LOC": 5,
|
| 25 |
+
"B-MISC": 7,
|
| 26 |
+
"B-ORG": 3,
|
| 27 |
+
"B-PER": 1,
|
| 28 |
+
"I-LOC": 6,
|
| 29 |
+
"I-MISC": 8,
|
| 30 |
+
"I-ORG": 4,
|
| 31 |
+
"I-PER": 2,
|
| 32 |
+
"O": 0
|
| 33 |
+
},
|
| 34 |
+
"max_position_embeddings": 512,
|
| 35 |
+
"model_type": "distilbert",
|
| 36 |
+
"n_heads": 12,
|
| 37 |
+
"n_layers": 6,
|
| 38 |
+
"pad_token_id": 0,
|
| 39 |
+
"qa_dropout": 0.1,
|
| 40 |
+
"seq_classif_dropout": 0.2,
|
| 41 |
+
"sinusoidal_pos_embds": false,
|
| 42 |
+
"tie_weights_": true,
|
| 43 |
+
"torch_dtype": "float32",
|
| 44 |
+
"transformers_version": "4.49.0",
|
| 45 |
+
"vocab_size": 30522
|
| 46 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a4b6aee22c4e3d38cd5a584388af0f3bd78cd0908bffe53baa27e6e9fe5f206
|
| 3 |
+
size 265491548
|
runs/Mar24_09-40-54_bdce0a1b1624/events.out.tfevents.1742809311.bdce0a1b1624.1914.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9297473903e6437d4ca90ec35b141f11881ed1f038321ac1d8a9a00edad4d3de
|
| 3 |
+
size 8253
|
runs/Mar24_09-40-54_bdce0a1b1624/events.out.tfevents.1742809622.bdce0a1b1624.1914.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6271111e76583b0cc0256b4e2422f5db6dbad1ba0dbcb03c8e481e4dc94e182c
|
| 3 |
+
size 560
|
runs/Mar24_10-18-18_bdce0a1b1624/events.out.tfevents.1742811537.bdce0a1b1624.1914.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44207c6db3456cbc4807c72d61d8d6536685ce6e8be2973edc6b0fa99a3a8ded
|
| 3 |
+
size 5599
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_lower_case": true,
|
| 47 |
+
"extra_special_tokens": {},
|
| 48 |
+
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 512,
|
| 50 |
+
"pad_token": "[PAD]",
|
| 51 |
+
"sep_token": "[SEP]",
|
| 52 |
+
"strip_accents": null,
|
| 53 |
+
"tokenize_chinese_chars": true,
|
| 54 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 55 |
+
"unk_token": "[UNK]"
|
| 56 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22b386ee648756a954ac14981697aecec81a3c2bb8539434ffa15fc46c4345bb
|
| 3 |
+
size 5368
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|