End of training
Browse files- README.md +76 -0
- config.json +43 -0
- model.safetensors +3 -0
- runs/May26_15-01-24_ac328e7cb895/events.out.tfevents.1716735701.ac328e7cb895.34.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- mn
|
4 |
+
base_model: bayartsogt/mongolian-roberta-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: roberta-base-ner-test
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# roberta-base-ner-test
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [bayartsogt/mongolian-roberta-base](https://huggingface.co/bayartsogt/mongolian-roberta-base) on the None dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.1051
|
25 |
+
- Precision: 0.9154
|
26 |
+
- Recall: 0.9295
|
27 |
+
- F1: 0.9224
|
28 |
+
- Accuracy: 0.9778
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 2e-05
|
48 |
+
- train_batch_size: 128
|
49 |
+
- eval_batch_size: 64
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 10
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
59 |
+
| 0.4118 | 1.0 | 60 | 0.1230 | 0.7683 | 0.8344 | 0.8000 | 0.9584 |
|
60 |
+
| 0.1013 | 2.0 | 120 | 0.0996 | 0.8134 | 0.8677 | 0.8397 | 0.9649 |
|
61 |
+
| 0.0694 | 3.0 | 180 | 0.0961 | 0.8295 | 0.8783 | 0.8532 | 0.9676 |
|
62 |
+
| 0.0523 | 4.0 | 240 | 0.0861 | 0.9030 | 0.9198 | 0.9113 | 0.9762 |
|
63 |
+
| 0.0309 | 5.0 | 300 | 0.0847 | 0.9088 | 0.9239 | 0.9163 | 0.9775 |
|
64 |
+
| 0.0236 | 6.0 | 360 | 0.0950 | 0.9103 | 0.9253 | 0.9177 | 0.9772 |
|
65 |
+
| 0.019 | 7.0 | 420 | 0.0974 | 0.9158 | 0.9277 | 0.9217 | 0.9775 |
|
66 |
+
| 0.0153 | 8.0 | 480 | 0.0996 | 0.9139 | 0.9278 | 0.9208 | 0.9781 |
|
67 |
+
| 0.0122 | 9.0 | 540 | 0.1029 | 0.9143 | 0.9284 | 0.9213 | 0.9781 |
|
68 |
+
| 0.0104 | 10.0 | 600 | 0.1051 | 0.9154 | 0.9295 | 0.9224 | 0.9778 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.39.3
|
74 |
+
- Pytorch 2.1.2
|
75 |
+
- Datasets 2.18.0
|
76 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bayartsogt/mongolian-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "ner",
|
11 |
+
"gradient_checkpointing": false,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "O",
|
17 |
+
"1": "LOC",
|
18 |
+
"2": "MISC",
|
19 |
+
"3": "ORG",
|
20 |
+
"4": "PER"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"LOC": 1,
|
26 |
+
"MISC": 2,
|
27 |
+
"O": 0,
|
28 |
+
"ORG": 3,
|
29 |
+
"PER": 4
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-05,
|
32 |
+
"max_position_embeddings": 514,
|
33 |
+
"model_type": "roberta",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_hidden_layers": 12,
|
36 |
+
"pad_token_id": 1,
|
37 |
+
"position_embedding_type": "absolute",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.39.3",
|
40 |
+
"type_vocab_size": 1,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 50265
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fbdcda43ca5a9286165a9b55aecea54880edd5abb46ef8a3895b2db73033d5e
|
3 |
+
size 496259468
|
runs/May26_15-01-24_ac328e7cb895/events.out.tfevents.1716735701.ac328e7cb895.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96c57f579c2f578b1612702473fbb371801bdd31495d0f672efed71e210dce16
|
3 |
+
size 12070
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38f61ed712ffc287fe203055eca4e222f8276e58647af1e32425263e9e7f36d7
|
3 |
+
size 4920
|