hiraltalsaniya commited on
Commit
44b113b
·
verified ·
1 Parent(s): 241c8f4

Model save

Browse files
Files changed (4) hide show
  1. README.md +93 -0
  2. model.safetensors +1 -1
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +37 -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
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.9240632253785785
30
+ - name: Recall
31
+ type: recall
32
+ value: 0.9352276541000112
33
+ - name: F1
34
+ type: f1
35
+ value: 0.9296119203825197
36
+ - name: Accuracy
37
+ type: accuracy
38
+ value: 0.9833034139831922
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
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.0612
49
+ - Precision: 0.9241
50
+ - Recall: 0.9352
51
+ - F1: 0.9296
52
+ - Accuracy: 0.9833
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_FUSED 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.2418 | 1.0 | 878 | 0.0703 | 0.8958 | 0.9178 | 0.9067 | 0.9794 |
84
+ | 0.0513 | 2.0 | 1756 | 0.0604 | 0.9250 | 0.9314 | 0.9282 | 0.9830 |
85
+ | 0.0302 | 3.0 | 2634 | 0.0612 | 0.9241 | 0.9352 | 0.9296 | 0.9833 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 5.3.0
91
+ - Pytorch 2.10.0+cpu
92
+ - Datasets 4.6.1
93
+ - Tokenizers 0.22.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c567673d425cdc1d8b9fe1848d016c536a410e6a76efc5689bfd023de872fbd
3
  size 265491548
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c4da63621f599f7ac3ba33344d193bc1ef8316a8216f99d6eb46100ebc6a35e
3
  size 265491548
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "id2label": {
6
+ "0": "O",
7
+ "1": "B-PER",
8
+ "2": "I-PER",
9
+ "3": "B-ORG",
10
+ "4": "I-ORG",
11
+ "5": "B-LOC",
12
+ "6": "I-LOC",
13
+ "7": "B-MISC",
14
+ "8": "I-MISC"
15
+ },
16
+ "is_local": false,
17
+ "label2id": {
18
+ "B-LOC": 5,
19
+ "B-MISC": 7,
20
+ "B-ORG": 3,
21
+ "B-PER": 1,
22
+ "I-LOC": 6,
23
+ "I-MISC": 8,
24
+ "I-ORG": 4,
25
+ "I-PER": 2,
26
+ "O": 0
27
+ },
28
+ "mask_token": "[MASK]",
29
+ "model_max_length": 512,
30
+ "num_labels": 9,
31
+ "pad_token": "[PAD]",
32
+ "sep_token": "[SEP]",
33
+ "strip_accents": null,
34
+ "tokenize_chinese_chars": true,
35
+ "tokenizer_class": "BertTokenizer",
36
+ "unk_token": "[UNK]"
37
+ }