Commit
•
24f83d7
1
Parent(s):
1ee117a
End of training
Browse files- README.md +233 -0
- added_tokens.json +4 -0
- config.json +112 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Nov15_23-11-41_c53ae88cd063/events.out.tfevents.1700089927.c53ae88cd063.1511.0 +3 -0
- runs/Nov15_23-11-41_c53ae88cd063/events.out.tfevents.1700090077.c53ae88cd063.1511.1 +3 -0
- runs/Nov15_23-16-05_c53ae88cd063/events.out.tfevents.1700090168.c53ae88cd063.1511.2 +3 -0
- runs/Nov15_23-17-13_c53ae88cd063/events.out.tfevents.1700090234.c53ae88cd063.1511.3 +3 -0
- runs/Nov15_23-17-13_c53ae88cd063/events.out.tfevents.1700091256.c53ae88cd063.1511.4 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +74 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: mit
|
5 |
+
library_name: span-marker
|
6 |
+
tags:
|
7 |
+
- span-marker
|
8 |
+
- token-classification
|
9 |
+
- ner
|
10 |
+
- named-entity-recognition
|
11 |
+
- generated_from_span_marker_trainer
|
12 |
+
datasets:
|
13 |
+
- DFKI-SLT/few-nerd
|
14 |
+
metrics:
|
15 |
+
- precision
|
16 |
+
- recall
|
17 |
+
- f1
|
18 |
+
widget:
|
19 |
+
- text: The Hebrew Union College libraries in Cincinnati and Los Angeles, the Library
|
20 |
+
of Congress in Washington, D.C ., the Jewish Theological Seminary in New York
|
21 |
+
City, and the Harvard University Library (which received donations of Deinard's
|
22 |
+
texts from Lucius Nathan Littauer, housed in Widener and Houghton libraries) also
|
23 |
+
have large collections of Deinard works.
|
24 |
+
- text: Abu Abd Allah Muhammad al-Idrisi (1099–1165 or 1166), the Moroccan Muslim
|
25 |
+
geographer, cartographer, Egyptologist and traveller who lived in Sicily at the
|
26 |
+
court of King Roger II, mentioned this island, naming it جزيرة مليطمة ("jazīrat
|
27 |
+
Malīṭma", "the island of Malitma ") on page 583 of his book "Nuzhat al-mushtaq
|
28 |
+
fi ihtiraq ghal afaq", otherwise known as The Book of Roger, considered a geographic
|
29 |
+
encyclopaedia of the medieval world.
|
30 |
+
- text: The font is also used in the logo of the American rock band Greta Van Fleet,
|
31 |
+
in the logo for Netflix show "Stranger Things ", and in the album art for rapper
|
32 |
+
Logic's album "Supermarket ".
|
33 |
+
- text: Caretaker manager George Goss led them on a run in the FA Cup, defeating Liverpool
|
34 |
+
in round 4, to reach the semi-final at Stamford Bridge, where they were defeated
|
35 |
+
2–0 by Sheffield United on 28 March 1925.
|
36 |
+
- text: In 1991, the National Science Foundation (NSF), which manages the U.S . Antarctic
|
37 |
+
Program (US AP), honoured his memory by dedicating a state-of-the-art laboratory
|
38 |
+
complex in his name, the Albert P. Crary Science and Engineering Center (CSEC)
|
39 |
+
located in McMurdo Station.
|
40 |
+
pipeline_tag: token-classification
|
41 |
+
base_model: numind/generic-entity_recognition_NER-v1
|
42 |
+
model-index:
|
43 |
+
- name: SpanMarker with numind/generic-entity_recognition_NER-v1 on DFKI-SLT/few-nerd
|
44 |
+
results:
|
45 |
+
- task:
|
46 |
+
type: token-classification
|
47 |
+
name: Named Entity Recognition
|
48 |
+
dataset:
|
49 |
+
name: Unknown
|
50 |
+
type: DFKI-SLT/few-nerd
|
51 |
+
split: test
|
52 |
+
metrics:
|
53 |
+
- type: f1
|
54 |
+
value: 0.7665505226480835
|
55 |
+
name: F1
|
56 |
+
- type: precision
|
57 |
+
value: 0.7581967213114754
|
58 |
+
name: Precision
|
59 |
+
- type: recall
|
60 |
+
value: 0.775090458960198
|
61 |
+
name: Recall
|
62 |
+
---
|
63 |
+
|
64 |
+
# SpanMarker with numind/generic-entity_recognition_NER-v1 on DFKI-SLT/few-nerd
|
65 |
+
|
66 |
+
This is a [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) model trained on the [DFKI-SLT/few-nerd](https://huggingface.co/datasets/DFKI-SLT/few-nerd) dataset that can be used for Named Entity Recognition. This SpanMarker model uses [numind/generic-entity_recognition_NER-v1](https://huggingface.co/numind/generic-entity_recognition_NER-v1) as the underlying encoder.
|
67 |
+
|
68 |
+
## Model Details
|
69 |
+
|
70 |
+
### Model Description
|
71 |
+
- **Model Type:** SpanMarker
|
72 |
+
- **Encoder:** [numind/generic-entity_recognition_NER-v1](https://huggingface.co/numind/generic-entity_recognition_NER-v1)
|
73 |
+
- **Maximum Sequence Length:** 256 tokens
|
74 |
+
- **Maximum Entity Length:** 19 words
|
75 |
+
- **Training Dataset:** [DFKI-SLT/few-nerd](https://huggingface.co/datasets/DFKI-SLT/few-nerd)
|
76 |
+
- **Language:** en
|
77 |
+
- **License:** mit
|
78 |
+
|
79 |
+
### Model Sources
|
80 |
+
|
81 |
+
- **Repository:** [SpanMarker on GitHub](https://github.com/tomaarsen/SpanMarkerNER)
|
82 |
+
- **Thesis:** [SpanMarker For Named Entity Recognition](https://raw.githubusercontent.com/tomaarsen/SpanMarkerNER/main/thesis.pdf)
|
83 |
+
|
84 |
+
### Model Labels
|
85 |
+
| Label | Examples |
|
86 |
+
|:-------------|:-------------------------------------------------------------------------------|
|
87 |
+
| art | "Time", "The Seven Year Itch", "Imelda de ' Lambertazzi" |
|
88 |
+
| building | "Boston Garden", "Sheremetyevo International Airport", "Henry Ford Museum" |
|
89 |
+
| event | "Iranian Constitutional Revolution", "Russian Revolution", "French Revolution" |
|
90 |
+
| location | "the Republic of Croatia", "Croatian", "Mediterranean Basin" |
|
91 |
+
| organization | "IAEA", "Texas Chicken", "Church 's Chicken" |
|
92 |
+
| other | "BAR", "Amphiphysin", "N-terminal lipid" |
|
93 |
+
| person | "Edmund Payne", "Hicks", "Ellaline Terriss" |
|
94 |
+
| product | "Phantom", "100EX", "Corvettes - GT1 C6R" |
|
95 |
+
|
96 |
+
## Evaluation
|
97 |
+
|
98 |
+
### Metrics
|
99 |
+
| Label | Precision | Recall | F1 |
|
100 |
+
|:-------------|:----------|:-------|:-------|
|
101 |
+
| **all** | 0.7582 | 0.7751 | 0.7666 |
|
102 |
+
| art | 0.7713 | 0.7783 | 0.7748 |
|
103 |
+
| building | 0.6034 | 0.7085 | 0.6518 |
|
104 |
+
| event | 0.5512 | 0.5207 | 0.5355 |
|
105 |
+
| location | 0.8163 | 0.8321 | 0.8242 |
|
106 |
+
| organization | 0.7083 | 0.6894 | 0.6987 |
|
107 |
+
| other | 0.6748 | 0.7253 | 0.6991 |
|
108 |
+
| person | 0.8987 | 0.9053 | 0.9020 |
|
109 |
+
| product | 0.5685 | 0.6431 | 0.6035 |
|
110 |
+
|
111 |
+
## Uses
|
112 |
+
|
113 |
+
### Direct Use for Inference
|
114 |
+
|
115 |
+
```python
|
116 |
+
from span_marker import SpanMarkerModel
|
117 |
+
|
118 |
+
# Download from the 🤗 Hub
|
119 |
+
model = SpanMarkerModel.from_pretrained("span_marker_model_id")
|
120 |
+
# Run inference
|
121 |
+
entities = model.predict("Caretaker manager George Goss led them on a run in the FA Cup, defeating Liverpool in round 4, to reach the semi-final at Stamford Bridge, where they were defeated 2–0 by Sheffield United on 28 March 1925.")
|
122 |
+
```
|
123 |
+
|
124 |
+
### Downstream Use
|
125 |
+
You can finetune this model on your own dataset.
|
126 |
+
|
127 |
+
<details><summary>Click to expand</summary>
|
128 |
+
|
129 |
+
```python
|
130 |
+
from span_marker import SpanMarkerModel, Trainer
|
131 |
+
|
132 |
+
# Download from the 🤗 Hub
|
133 |
+
model = SpanMarkerModel.from_pretrained("span_marker_model_id")
|
134 |
+
|
135 |
+
# Specify a Dataset with "tokens" and "ner_tag" columns
|
136 |
+
dataset = load_dataset("conll2003") # For example CoNLL2003
|
137 |
+
|
138 |
+
# Initialize a Trainer using the pretrained model & dataset
|
139 |
+
trainer = Trainer(
|
140 |
+
model=model,
|
141 |
+
train_dataset=dataset["train"],
|
142 |
+
eval_dataset=dataset["validation"],
|
143 |
+
)
|
144 |
+
trainer.train()
|
145 |
+
trainer.save_model("span_marker_model_id-finetuned")
|
146 |
+
```
|
147 |
+
</details>
|
148 |
+
|
149 |
+
<!--
|
150 |
+
### Out-of-Scope Use
|
151 |
+
|
152 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
153 |
+
-->
|
154 |
+
|
155 |
+
<!--
|
156 |
+
## Bias, Risks and Limitations
|
157 |
+
|
158 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
159 |
+
-->
|
160 |
+
|
161 |
+
<!--
|
162 |
+
### Recommendations
|
163 |
+
|
164 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
165 |
+
-->
|
166 |
+
|
167 |
+
## Training Details
|
168 |
+
|
169 |
+
### Training Set Metrics
|
170 |
+
| Training set | Min | Median | Max |
|
171 |
+
|:----------------------|:----|:--------|:----|
|
172 |
+
| Sentence length | 1 | 24.4956 | 163 |
|
173 |
+
| Entities per sentence | 0 | 2.5439 | 35 |
|
174 |
+
|
175 |
+
### Training Hyperparameters
|
176 |
+
- learning_rate: 5e-05
|
177 |
+
- train_batch_size: 64
|
178 |
+
- eval_batch_size: 128
|
179 |
+
- seed: 42
|
180 |
+
- gradient_accumulation_steps: 2
|
181 |
+
- total_train_batch_size: 128
|
182 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
183 |
+
- lr_scheduler_type: linear
|
184 |
+
- lr_scheduler_warmup_ratio: 0.1
|
185 |
+
- num_epochs: 10
|
186 |
+
- mixed_precision_training: Native AMP
|
187 |
+
|
188 |
+
### Training Results
|
189 |
+
| Epoch | Step | Validation Loss | Validation Precision | Validation Recall | Validation F1 | Validation Accuracy |
|
190 |
+
|:------:|:----:|:---------------:|:--------------------:|:-----------------:|:-------------:|:-------------------:|
|
191 |
+
| 1.7467 | 200 | 0.0120 | 0.7533 | 0.7473 | 0.7503 | 0.9286 |
|
192 |
+
| 3.4934 | 400 | 0.0110 | 0.7659 | 0.7761 | 0.7710 | 0.9385 |
|
193 |
+
| 5.2402 | 600 | 0.0114 | 0.7772 | 0.7899 | 0.7835 | 0.9424 |
|
194 |
+
| 6.9869 | 800 | 0.0120 | 0.7724 | 0.7953 | 0.7837 | 0.9421 |
|
195 |
+
| 8.7336 | 1000 | 0.0124 | 0.7680 | 0.7942 | 0.7809 | 0.9413 |
|
196 |
+
|
197 |
+
### Framework Versions
|
198 |
+
- Python: 3.10.12
|
199 |
+
- SpanMarker: 1.5.0
|
200 |
+
- Transformers: 4.35.2
|
201 |
+
- PyTorch: 2.1.0+cu118
|
202 |
+
- Datasets: 2.14.7
|
203 |
+
- Tokenizers: 0.15.0
|
204 |
+
|
205 |
+
## Citation
|
206 |
+
|
207 |
+
### BibTeX
|
208 |
+
```
|
209 |
+
@software{Aarsen_SpanMarker,
|
210 |
+
author = {Aarsen, Tom},
|
211 |
+
license = {Apache-2.0},
|
212 |
+
title = {{SpanMarker for Named Entity Recognition}},
|
213 |
+
url = {https://github.com/tomaarsen/SpanMarkerNER}
|
214 |
+
}
|
215 |
+
```
|
216 |
+
|
217 |
+
<!--
|
218 |
+
## Glossary
|
219 |
+
|
220 |
+
*Clearly define terms in order to be accessible across audiences.*
|
221 |
+
-->
|
222 |
+
|
223 |
+
<!--
|
224 |
+
## Model Card Authors
|
225 |
+
|
226 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
227 |
+
-->
|
228 |
+
|
229 |
+
<!--
|
230 |
+
## Model Card Contact
|
231 |
+
|
232 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
233 |
+
-->
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<end>": 50266,
|
3 |
+
"<start>": 50265
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SpanMarkerModel"
|
4 |
+
],
|
5 |
+
"encoder": {
|
6 |
+
"_name_or_path": "numind/generic-entity_recognition_NER-v1",
|
7 |
+
"add_cross_attention": false,
|
8 |
+
"architectures": [
|
9 |
+
"RobertaModel"
|
10 |
+
],
|
11 |
+
"attention_probs_dropout_prob": 0.1,
|
12 |
+
"bad_words_ids": null,
|
13 |
+
"begin_suppress_tokens": null,
|
14 |
+
"bos_token_id": 0,
|
15 |
+
"chunk_size_feed_forward": 0,
|
16 |
+
"classifier_dropout": null,
|
17 |
+
"cross_attention_hidden_size": null,
|
18 |
+
"decoder_start_token_id": null,
|
19 |
+
"diversity_penalty": 0.0,
|
20 |
+
"do_sample": false,
|
21 |
+
"early_stopping": false,
|
22 |
+
"encoder_no_repeat_ngram_size": 0,
|
23 |
+
"eos_token_id": 2,
|
24 |
+
"exponential_decay_length_penalty": null,
|
25 |
+
"finetuning_task": null,
|
26 |
+
"forced_bos_token_id": null,
|
27 |
+
"forced_eos_token_id": null,
|
28 |
+
"hidden_act": "gelu",
|
29 |
+
"hidden_dropout_prob": 0.1,
|
30 |
+
"hidden_size": 768,
|
31 |
+
"id2label": {
|
32 |
+
"0": "O",
|
33 |
+
"1": "art",
|
34 |
+
"2": "building",
|
35 |
+
"3": "event",
|
36 |
+
"4": "location",
|
37 |
+
"5": "organization",
|
38 |
+
"6": "other",
|
39 |
+
"7": "person",
|
40 |
+
"8": "product"
|
41 |
+
},
|
42 |
+
"initializer_range": 0.02,
|
43 |
+
"intermediate_size": 3072,
|
44 |
+
"is_decoder": false,
|
45 |
+
"is_encoder_decoder": false,
|
46 |
+
"label2id": {
|
47 |
+
"O": 0,
|
48 |
+
"art": 1,
|
49 |
+
"building": 2,
|
50 |
+
"event": 3,
|
51 |
+
"location": 4,
|
52 |
+
"organization": 5,
|
53 |
+
"other": 6,
|
54 |
+
"person": 7,
|
55 |
+
"product": 8
|
56 |
+
},
|
57 |
+
"layer_norm_eps": 1e-05,
|
58 |
+
"length_penalty": 1.0,
|
59 |
+
"max_length": 20,
|
60 |
+
"max_position_embeddings": 514,
|
61 |
+
"min_length": 0,
|
62 |
+
"model_type": "roberta",
|
63 |
+
"no_repeat_ngram_size": 0,
|
64 |
+
"num_attention_heads": 12,
|
65 |
+
"num_beam_groups": 1,
|
66 |
+
"num_beams": 1,
|
67 |
+
"num_hidden_layers": 12,
|
68 |
+
"num_return_sequences": 1,
|
69 |
+
"output_attentions": false,
|
70 |
+
"output_hidden_states": false,
|
71 |
+
"output_scores": false,
|
72 |
+
"pad_token_id": 1,
|
73 |
+
"position_embedding_type": "absolute",
|
74 |
+
"prefix": null,
|
75 |
+
"problem_type": null,
|
76 |
+
"pruned_heads": {},
|
77 |
+
"remove_invalid_values": false,
|
78 |
+
"repetition_penalty": 1.0,
|
79 |
+
"return_dict": true,
|
80 |
+
"return_dict_in_generate": false,
|
81 |
+
"sep_token_id": null,
|
82 |
+
"suppress_tokens": null,
|
83 |
+
"task_specific_params": null,
|
84 |
+
"temperature": 1.0,
|
85 |
+
"tf_legacy_loss": false,
|
86 |
+
"tie_encoder_decoder": false,
|
87 |
+
"tie_word_embeddings": true,
|
88 |
+
"tokenizer_class": null,
|
89 |
+
"top_k": 50,
|
90 |
+
"top_p": 1.0,
|
91 |
+
"torch_dtype": "float32",
|
92 |
+
"torchscript": false,
|
93 |
+
"transformers_version": "4.35.2",
|
94 |
+
"type_vocab_size": 1,
|
95 |
+
"typical_p": 1.0,
|
96 |
+
"use_bfloat16": false,
|
97 |
+
"use_cache": true,
|
98 |
+
"vocab_size": 50272
|
99 |
+
},
|
100 |
+
"entity_max_length": 19,
|
101 |
+
"marker_max_length": 128,
|
102 |
+
"max_next_context": null,
|
103 |
+
"max_prev_context": null,
|
104 |
+
"model_max_length": 256,
|
105 |
+
"model_max_length_default": 512,
|
106 |
+
"model_type": "span-marker",
|
107 |
+
"span_marker_version": "1.5.0",
|
108 |
+
"torch_dtype": "float32",
|
109 |
+
"trained_with_document_context": false,
|
110 |
+
"transformers_version": "4.35.2",
|
111 |
+
"vocab_size": 50272
|
112 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16879abc815730346010e58900a7c7a6412f2ec118114b36915f5fb7ed466b21
|
3 |
+
size 498683492
|
runs/Nov15_23-11-41_c53ae88cd063/events.out.tfevents.1700089927.c53ae88cd063.1511.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b017e34f3ec169e6dbd6a2f3dde7bfc6d15f4ffffa6814955f4ac2641f70000d
|
3 |
+
size 9293
|
runs/Nov15_23-11-41_c53ae88cd063/events.out.tfevents.1700090077.c53ae88cd063.1511.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8ff18eda76664debac4bbbe54bdb9c50c8a4a19434f2dc0bc2f72f915d7f86c
|
3 |
+
size 592
|
runs/Nov15_23-16-05_c53ae88cd063/events.out.tfevents.1700090168.c53ae88cd063.1511.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:529c416c4acb6e52ed9d2271d5be8b871f8a145cf7f33ea99c04ad7ea87a1b21
|
3 |
+
size 7147
|
runs/Nov15_23-17-13_c53ae88cd063/events.out.tfevents.1700090234.c53ae88cd063.1511.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa307f1d75ed201fc94a6a07b4c7e326daa1ec805d2d131f3983ae0d1a765ab8
|
3 |
+
size 12848
|
runs/Nov15_23-17-13_c53ae88cd063/events.out.tfevents.1700091256.c53ae88cd063.1511.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:251b16a1e3369df92d36e275e2696cf2c5e6864377eb453179cb55ab2ea864df
|
3 |
+
size 1096
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"50265": {
|
45 |
+
"content": "<start>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"50266": {
|
53 |
+
"content": "<end>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"bos_token": "<s>",
|
62 |
+
"clean_up_tokenization_spaces": true,
|
63 |
+
"cls_token": "<s>",
|
64 |
+
"entity_max_length": 19,
|
65 |
+
"eos_token": "</s>",
|
66 |
+
"errors": "replace",
|
67 |
+
"mask_token": "<mask>",
|
68 |
+
"model_max_length": 256,
|
69 |
+
"pad_token": "<pad>",
|
70 |
+
"sep_token": "</s>",
|
71 |
+
"tokenizer_class": "RobertaTokenizer",
|
72 |
+
"trim_offsets": true,
|
73 |
+
"unk_token": "<unk>"
|
74 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed5e4e83094d1a957d29b9b2c0cdad722b47d8d4c08bd9eeed18b4418d427dab
|
3 |
+
size 4600
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|