jaggernaut007
commited on
Model save
Browse files- README.md +4 -19
- config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +5 -49
- tokenizer.json +0 -0
- tokenizer_config.json +14 -23
- training_args.bin +2 -2
README.md
CHANGED
@@ -3,11 +3,6 @@ license: cc-by-sa-4.0
|
|
3 |
base_model: surrey-nlp/roberta-large-finetuned-abbr-filtered-plod
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
-
metrics:
|
7 |
-
- precision
|
8 |
-
- recall
|
9 |
-
- f1
|
10 |
-
- accuracy
|
11 |
model-index:
|
12 |
- name: roberta-large-finetuned-abbr-filtered-plod-finetuned-ner
|
13 |
results: []
|
@@ -19,12 +14,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
19 |
# roberta-large-finetuned-abbr-filtered-plod-finetuned-ner
|
20 |
|
21 |
This model is a fine-tuned version of [surrey-nlp/roberta-large-finetuned-abbr-filtered-plod](https://huggingface.co/surrey-nlp/roberta-large-finetuned-abbr-filtered-plod) on an unknown dataset.
|
22 |
-
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.1367
|
24 |
-
- Precision: 0.9809
|
25 |
-
- Recall: 0.9745
|
26 |
-
- F1: 0.9777
|
27 |
-
- Accuracy: 0.9739
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -44,20 +33,16 @@ More information needed
|
|
44 |
|
45 |
The following hyperparameters were used during training:
|
46 |
- learning_rate: 2e-05
|
47 |
-
- train_batch_size:
|
48 |
- eval_batch_size: 4
|
49 |
- seed: 42
|
50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
- lr_scheduler_type: linear
|
52 |
- num_epochs: 6
|
53 |
|
54 |
-
### Training results
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
### Framework versions
|
59 |
|
60 |
-
- Transformers 4.
|
61 |
-
- Pytorch
|
62 |
- Datasets 2.18.0
|
63 |
-
- Tokenizers 0.15.
|
|
|
3 |
base_model: surrey-nlp/roberta-large-finetuned-abbr-filtered-plod
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
6 |
model-index:
|
7 |
- name: roberta-large-finetuned-abbr-filtered-plod-finetuned-ner
|
8 |
results: []
|
|
|
14 |
# roberta-large-finetuned-abbr-filtered-plod-finetuned-ner
|
15 |
|
16 |
This model is a fine-tuned version of [surrey-nlp/roberta-large-finetuned-abbr-filtered-plod](https://huggingface.co/surrey-nlp/roberta-large-finetuned-abbr-filtered-plod) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
33 |
|
34 |
The following hyperparameters were used during training:
|
35 |
- learning_rate: 2e-05
|
36 |
+
- train_batch_size: 2
|
37 |
- eval_batch_size: 4
|
38 |
- seed: 42
|
39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
- lr_scheduler_type: linear
|
41 |
- num_epochs: 6
|
42 |
|
|
|
|
|
|
|
|
|
43 |
### Framework versions
|
44 |
|
45 |
+
- Transformers 4.37.2
|
46 |
+
- Pytorch 2.2.2+cu121
|
47 |
- Datasets 2.18.0
|
48 |
+
- Tokenizers 0.15.1
|
config.json
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
"pad_token_id": 1,
|
35 |
"position_embedding_type": "absolute",
|
36 |
"torch_dtype": "float32",
|
37 |
-
"transformers_version": "4.
|
38 |
"type_vocab_size": 1,
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50265
|
|
|
34 |
"pad_token_id": 1,
|
35 |
"position_embedding_type": "absolute",
|
36 |
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.37.2",
|
38 |
"type_vocab_size": 1,
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50265
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1417309084
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c618cac95e3571727d9fe07a5cd914bcf3a79a97cf6be92382846fc22fef6c6c
|
3 |
size 1417309084
|
special_tokens_map.json
CHANGED
@@ -1,51 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"cls_token": {
|
10 |
-
"content": "<s>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"eos_token": {
|
17 |
-
"content": "</s>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"mask_token": {
|
24 |
-
"content": "<mask>",
|
25 |
-
"lstrip": true,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"pad_token": {
|
31 |
-
"content": "<pad>",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": false,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
},
|
37 |
-
"sep_token": {
|
38 |
-
"content": "</s>",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": false,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false
|
43 |
-
},
|
44 |
-
"unk_token": {
|
45 |
-
"content": "<unk>",
|
46 |
-
"lstrip": false,
|
47 |
-
"normalized": false,
|
48 |
-
"rstrip": false,
|
49 |
-
"single_word": false
|
50 |
-
}
|
51 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
-
"add_prefix_space": true,
|
3 |
"added_tokens_decoder": {
|
4 |
"0": {
|
5 |
-
"content": "
|
6 |
"lstrip": false,
|
7 |
"normalized": false,
|
8 |
"rstrip": false,
|
@@ -10,7 +9,7 @@
|
|
10 |
"special": true
|
11 |
},
|
12 |
"1": {
|
13 |
-
"content": "
|
14 |
"lstrip": false,
|
15 |
"normalized": false,
|
16 |
"rstrip": false,
|
@@ -18,7 +17,7 @@
|
|
18 |
"special": true
|
19 |
},
|
20 |
"2": {
|
21 |
-
"content": "
|
22 |
"lstrip": false,
|
23 |
"normalized": false,
|
24 |
"rstrip": false,
|
@@ -26,36 +25,28 @@
|
|
26 |
"special": true
|
27 |
},
|
28 |
"3": {
|
29 |
-
"content": "
|
30 |
"lstrip": false,
|
31 |
"normalized": false,
|
32 |
"rstrip": false,
|
33 |
"single_word": false,
|
34 |
"special": true
|
35 |
},
|
36 |
-
"
|
37 |
-
"content": "
|
38 |
-
"lstrip":
|
39 |
"normalized": false,
|
40 |
"rstrip": false,
|
41 |
"single_word": false,
|
42 |
"special": true
|
43 |
}
|
44 |
},
|
45 |
-
"bos_token": "<s>",
|
46 |
"clean_up_tokenization_spaces": true,
|
47 |
-
"cls_token": "
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"sep_token": "</s>",
|
55 |
-
"stride": 0,
|
56 |
-
"tokenizer_class": "RobertaTokenizer",
|
57 |
-
"trim_offsets": true,
|
58 |
-
"truncation_side": "right",
|
59 |
-
"truncation_strategy": "longest_first",
|
60 |
-
"unk_token": "<unk>"
|
61 |
}
|
|
|
1 |
{
|
|
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
+
"content": "[UNK]",
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
|
|
9 |
"special": true
|
10 |
},
|
11 |
"1": {
|
12 |
+
"content": "[PAD]",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
|
|
17 |
"special": true
|
18 |
},
|
19 |
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
|
|
25 |
"special": true
|
26 |
},
|
27 |
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
+
"4": {
|
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": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"mask_token": "[MASK]",
|
47 |
+
"model_max_length": 1000000000000000019884624838656,
|
48 |
+
"pad_token": "[PAD]",
|
49 |
+
"sep_token": "[SEP]",
|
50 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
51 |
+
"unk_token": "[UNK]"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b2d8c912c60187b6502d83783b89fc522bb6ed4194fd8a6151f3dae3fc58b1e
|
3 |
+
size 4792
|