Lolimorimorf
commited on
Commit
•
0ab17c5
1
Parent(s):
01857da
damage_trigger_effect_location_deeppavlov_DeepPavlov/rubert-base-cased
Browse files- README.md +79 -0
- config.json +54 -0
- model.safetensors +3 -0
- runs/Dec19_13-42-23_807980aaefa9/events.out.tfevents.1702993345.807980aaefa9.820.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: DeepPavlov/rubert-base-cased
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: damage_trigger_effect_2023-12-19_13_42
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# damage_trigger_effect_2023-12-19_13_42
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [DeepPavlov/rubert-base-cased](https://huggingface.co/DeepPavlov/rubert-base-cased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.5476
|
23 |
+
- Precision: 0.0
|
24 |
+
- Recall: 0.0
|
25 |
+
- F1: 0.0
|
26 |
+
- Accuracy: 0.8690
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 15
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
|
57 |
+
| No log | 1.0 | 34 | 0.6317 | 0.0 | 0.0 | 0.0 | 0.8083 |
|
58 |
+
| No log | 2.0 | 68 | 0.4823 | 0.0 | 0.0 | 0.0 | 0.8318 |
|
59 |
+
| No log | 3.0 | 102 | 0.4314 | 0.0 | 0.0 | 0.0 | 0.8563 |
|
60 |
+
| No log | 4.0 | 136 | 0.4323 | 0.0 | 0.0 | 0.0 | 0.8549 |
|
61 |
+
| No log | 5.0 | 170 | 0.4324 | 0.0 | 0.0 | 0.0 | 0.8586 |
|
62 |
+
| No log | 6.0 | 204 | 0.4647 | 0.0 | 0.0 | 0.0 | 0.8590 |
|
63 |
+
| No log | 7.0 | 238 | 0.4629 | 0.0 | 0.0 | 0.0 | 0.8686 |
|
64 |
+
| No log | 8.0 | 272 | 0.4958 | 0.0 | 0.0 | 0.0 | 0.8519 |
|
65 |
+
| No log | 9.0 | 306 | 0.4954 | 0.0 | 0.0 | 0.0 | 0.8675 |
|
66 |
+
| No log | 10.0 | 340 | 0.5220 | 0.0 | 0.0 | 0.0 | 0.8608 |
|
67 |
+
| No log | 11.0 | 374 | 0.5356 | 0.0 | 0.0 | 0.0 | 0.8616 |
|
68 |
+
| No log | 12.0 | 408 | 0.5416 | 0.0 | 0.0 | 0.0 | 0.8642 |
|
69 |
+
| No log | 13.0 | 442 | 0.5315 | 0.0 | 0.0 | 0.0 | 0.8660 |
|
70 |
+
| No log | 14.0 | 476 | 0.5496 | 0.0 | 0.0 | 0.0 | 0.8675 |
|
71 |
+
| 0.248 | 15.0 | 510 | 0.5476 | 0.0 | 0.0 | 0.0 | 0.8690 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.36.2
|
77 |
+
- Pytorch 2.1.0+cu121
|
78 |
+
- Datasets 2.15.0
|
79 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "DeepPavlov/rubert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "OUT",
|
14 |
+
"1": "B-damage_trigger",
|
15 |
+
"2": "I-damage_trigger",
|
16 |
+
"3": "B-effect",
|
17 |
+
"4": "I-effect",
|
18 |
+
"5": "B-region",
|
19 |
+
"6": "I-region",
|
20 |
+
"7": "B-city",
|
21 |
+
"8": "I-city"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"B-city": 7,
|
27 |
+
"B-damage_trigger": 1,
|
28 |
+
"B-effect": 3,
|
29 |
+
"B-region": 5,
|
30 |
+
"I-city": 8,
|
31 |
+
"I-damage_trigger": 2,
|
32 |
+
"I-effect": 4,
|
33 |
+
"I-region": 6,
|
34 |
+
"OUT": 0
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"max_position_embeddings": 512,
|
38 |
+
"model_type": "bert",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"output_past": true,
|
42 |
+
"pad_token_id": 0,
|
43 |
+
"pooler_fc_size": 768,
|
44 |
+
"pooler_num_attention_heads": 12,
|
45 |
+
"pooler_num_fc_layers": 3,
|
46 |
+
"pooler_size_per_head": 128,
|
47 |
+
"pooler_type": "first_token_transform",
|
48 |
+
"position_embedding_type": "absolute",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.36.2",
|
51 |
+
"type_vocab_size": 2,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 119547
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af6b099dcfb9cc7476c44fb86bf80b66200a08b5f33682e6bce3463b417edb3a
|
3 |
+
size 709102436
|
runs/Dec19_13-42-23_807980aaefa9/events.out.tfevents.1702993345.807980aaefa9.820.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:551f9dfff9210c59be46d3e00affea4054555ef568e8ab83d02df657a9d96840
|
3 |
+
size 12575
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "[PAD]",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"100": {
|
13 |
+
"content": "[UNK]",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"101": {
|
21 |
+
"content": "[CLS]",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"102": {
|
29 |
+
"content": "[SEP]",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"103": {
|
37 |
+
"content": "[MASK]",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": false,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b300344778ed641aae84488da79d9d768d69fef2a455b1b7e10cfd5e37c92c47
|
3 |
+
size 4728
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|