Token Classification
PyTorch
ONNX
English
glitext
NER
GLiNER
information extraction
encoder
entity recognition
biomed
barry-sas Ihor commited on
Commit
369d962
·
0 Parent(s):

Duplicate from Ihor/gliner-biomed-small-v1.0

Browse files

Co-authored-by: Stepanov <Ihor@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - microsoft/deberta-v3-small
4
+ datasets:
5
+ - anthonyyazdaniml/gliner-biomed-pre-training
6
+ - anthonyyazdaniml/gliner-biomed-post-training
7
+ language:
8
+ - en
9
+ library_name: gliner
10
+ license: apache-2.0
11
+ metrics:
12
+ - f1
13
+ pipeline_tag: token-classification
14
+ tags:
15
+ - NER
16
+ - GLiNER
17
+ - information extraction
18
+ - encoder
19
+ - entity recognition
20
+ - biomed
21
+ ---
22
+
23
+ # GLiNER-BioMed
24
+
25
+ The model was presented in the paper [GLiNER-BioMed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition](https://arxiv.org/abs/2504.00676).
26
+
27
+ The code is available at [https://github.com/ds4dh/GLiNER-biomed](https://github.com/ds4dh/GLiNER-biomed).
28
+
29
+ **GLiNER** is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoders (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios.
30
+
31
+
32
+ **GLiNER-biomed**, developed in collaboration with [DS4DH](https://www.unige.ch/medecine/radio/en/research-groups/1035teodoro) from the University of Geneva, introduces a specialized suite of efficient open biomedical NER models based on the GLiNER framework. GLiNER-biomed leverages synthetic annotations distilled from large generative biomedical language models to achieve state-of-the-art zero-shot and few-shot performance in biomedical entity recognition tasks.
33
+
34
+ ### How to Use
35
+ Install the official GLiNER library with pip:
36
+ ```bash
37
+ pip install gliner -U
38
+ ```
39
+
40
+ After installing the GLiNER library, you can easily load a GLiNER-biomed model and perform named entity recognition:
41
+
42
+ ```python
43
+ from gliner import GLiNER
44
+
45
+ model = GLiNER.from_pretrained("Ihor/gliner-biomed-small-v1.0")
46
+
47
+ text = """
48
+ The patient, a 45-year-old male, was diagnosed with type 2 diabetes mellitus and hypertension.
49
+ He was prescribed Metformin 500mg twice daily and Lisinopril 10mg once daily.
50
+ A recent lab test showed elevated HbA1c levels at 8.2%.
51
+ """
52
+
53
+ labels = ["Disease", "Drug", "Drug dosage", "Drug frequency", "Lab test", "Lab test value", "Demographic information"]
54
+
55
+ entities = model.predict_entities(text, labels, threshold=0.5)
56
+
57
+ for entity in entities:
58
+ print(entity["text"], "=>", entity["label"])
59
+ ```
60
+
61
+ Expected output:
62
+ ```
63
+ 45-year-old male => Demographic information
64
+ type 2 diabetes mellitus => Disease
65
+ hypertension => Disease
66
+ Metformin => Drug
67
+ 500mg => Drug dosage
68
+ twice daily => Drug frequency
69
+ Lisinopril => Drug
70
+ 10mg => Drug dosage
71
+ once daily => Drug frequency
72
+ HbA1c levels => Lab test
73
+ 8.2% => Lab test value
74
+ ```
75
+
76
+ ### Benchmarking
77
+
78
+ We examined our models on 8 complex real-world datasets and compared them with other GLiNER models.
79
+
80
+ | Model | F1-score | Macro mean F1 | Macro median F1 | Weighted F1 |
81
+ |------------------------|----------|----------------|------------------|-------------|
82
+ | **Large models** | | | | |
83
+ | [NuNER Zero](https://huggingface.co/numind/NuNER_Zero) | 40.87 | 21.79 | 13.94 | 33.67 |
84
+ | [NuNER Zero span](https://huggingface.co/numind/NuNER_Zero-span) | 40.26 | 22.51 | 14.27 | 32.52 |
85
+ | [GLiNER bio v0.1](https://huggingface.co/urchade/gliner_large_bio-v0.1) | 42.34 | 27.10 | 24.44 | 38.32 |
86
+ | [GLiNER bio v0.2](https://huggingface.co/urchade/gliner_large_bio-v0.2) | 38.66 | 25.36 | 17.02 | 32.42 |
87
+ | [GLiNER v1.0](https://huggingface.co/urchade/gliner_large-v1) | 47.77 | 29.60 | 21.13 | 40.78 |
88
+ | [GLiNER v2.0](https://huggingface.co/urchade/gliner_large-v2) | 37.38 | 21.42 | 15.44 | 33.11 |
89
+ | [GLiNER v2.1](https://huggingface.co/urchade/gliner_large-v2.1) | 48.04 | 29.75 | 28.20 | 43.43 |
90
+ | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_large_news-v2.1) | 48.99 | 31.79 | 33.77 | 45.13 |
91
+ | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_large-v2.5) | 53.81 | 35.22 | 35.65 | 51.57 |
92
+ | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-large-v1.0)** | **59.77**| **40.67** | **42.65** | **58.40** |
93
+ | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-large-v1.0)** | 54.90 | 35.78 | 31.66 | 50.46 |
94
+ | **Base models** | | | | |
95
+ | [GLiNER v1.0](https://huggingface.co/urchade/gliner_medium-v1) | 41.61 | 24.98 | 10.27 | 31.59 |
96
+ | [GLiNER v2.0](https://huggingface.co/urchade/gliner_medium-v2) | 34.33 | 24.48 | 22.01 | 30.58 |
97
+ | [GLiNER v2.1](https://huggingface.co/urchade/gliner_medium-v2.1) | 40.25 | 25.26 | 14.41 | 32.64 |
98
+ | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_medium_news-v2.1) | 41.59 | 27.16 | 17.74 | 34.44 |
99
+ | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_base-v2.5) | 46.49 | 30.93 | 25.26 | 44.68 |
100
+ | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-base-v1.0)** | 54.37| **36.20** | **41.61** | 53.05 |
101
+ | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-base-v1.0)** | **58.31** | 35.22 | 32.39 | **54.91** |
102
+ | **Small models** | | | | |
103
+ | [GLiNER v1.0](https://huggingface.co/urchade/gliner_small-v1) | 40.99 | 22.81 | 7.86 | 31.15 |
104
+ | [GLiNER v2.0](https://huggingface.co/urchade/gliner_small-v2) | 33.55 | 21.12 | 15.76 | 28.78 |
105
+ | [GLiNER v2.1](https://huggingface.co/urchade/gliner_small-v2.1) | 38.45 | 23.25 | 10.92 | 30.67 |
106
+ | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_small_news-v2.1) | 39.15 | 24.96 | 14.48 | 33.10 |
107
+ | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_small-v2.5) | 38.21 | 28.53 | 18.01 | 36.88 |
108
+ | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-small-v1.0)** | 52.53| **34.49** | **38.17** | 50.87 |
109
+ | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-small-v1.0)** | **56.93** | 33.88 | 33.61 | **53.12** |
110
+
111
+
112
+
113
+ ### Join Our Discord
114
+
115
+ Connect with our community on Discord for news, support, and discussion about our models. Join [https://discord.gg/dkyeAgs9DG](https://discord.gg/dkyeAgs9DG).
116
+
117
+ ## Citation
118
+
119
+ ### This work
120
+ If you use GLiNER-biomed models in your work, please cite:
121
+
122
+ ```bibtex
123
+ @misc{yazdani2025glinerbiomedsuiteefficientmodels,
124
+ title={GLiNER-BioMed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition},
125
+ author={Anthony Yazdani and Ihor Stepanov and Douglas Teodoro},
126
+ year={2025},
127
+ eprint={2504.00676},
128
+ archivePrefix={arXiv},
129
+ primaryClass={cs.CL},
130
+ url={https://arxiv.org/abs/2504.00676},
131
+ }
132
+ ```
133
+
134
+ ### Previous work
135
+ ```bibtex
136
+ @misc{zaratiana2023gliner,
137
+ title={GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer},
138
+ author={Urchade Zaratiana and Nadi Tomeh and Pierre Holat and Thierry Charnois},
139
+ year={2023},
140
+ eprint={2311.08526},
141
+ archivePrefix={arXiv},
142
+ primaryClass={cs.CL}
143
+ }
144
+ ```
145
+
146
+ ```bibtex
147
+ @misc{stepanov2024gliner,
148
+ title={GLiNER multi-task: Generalist Lightweight Model for Various Information Extraction Tasks},
149
+ author={Ihor Stepanov and Mykhailo Shtopko},
150
+ year={2024},
151
+ eprint={2406.12925},
152
+ archivePrefix={arXiv},
153
+ primaryClass={id='cs.LG' full_name='Machine Learning' is_active=True alt_name=None in_archive='cs' is_general=False description='Papers on all aspects of machine learning research (supervised, unsupervised, reinforcement learning, bandit problems, and so on) including also robustness, explanation, fairness, and methodology. cs.LG is also an appropriate primary category for applications of machine learning methods.'}
154
+ }
155
+ ```
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<<ENT>>": 128001,
3
+ "<<SEP>>": 128002,
4
+ "[MASK]": 128000
5
+ }
gliner_config.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "class_token_index": 128001,
3
+ "dropout": 0.3,
4
+ "embed_ent_token": true,
5
+ "encoder_config": {
6
+ "_attn_implementation_autoset": false,
7
+ "_name_or_path": "microsoft/deberta-v3-small",
8
+ "add_cross_attention": false,
9
+ "architectures": null,
10
+ "attention_probs_dropout_prob": 0.1,
11
+ "bad_words_ids": null,
12
+ "begin_suppress_tokens": null,
13
+ "bos_token_id": null,
14
+ "chunk_size_feed_forward": 0,
15
+ "cross_attention_hidden_size": null,
16
+ "decoder_start_token_id": null,
17
+ "diversity_penalty": 0.0,
18
+ "do_sample": false,
19
+ "early_stopping": false,
20
+ "encoder_no_repeat_ngram_size": 0,
21
+ "eos_token_id": null,
22
+ "exponential_decay_length_penalty": null,
23
+ "finetuning_task": null,
24
+ "forced_bos_token_id": null,
25
+ "forced_eos_token_id": null,
26
+ "hidden_act": "gelu",
27
+ "hidden_dropout_prob": 0.1,
28
+ "hidden_size": 768,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "is_decoder": false,
36
+ "is_encoder_decoder": false,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1
40
+ },
41
+ "layer_norm_eps": 1e-07,
42
+ "legacy": true,
43
+ "length_penalty": 1.0,
44
+ "max_length": 20,
45
+ "max_position_embeddings": 512,
46
+ "max_relative_positions": -1,
47
+ "min_length": 0,
48
+ "model_type": "deberta-v2",
49
+ "no_repeat_ngram_size": 0,
50
+ "norm_rel_ebd": "layer_norm",
51
+ "num_attention_heads": 12,
52
+ "num_beam_groups": 1,
53
+ "num_beams": 1,
54
+ "num_hidden_layers": 6,
55
+ "num_return_sequences": 1,
56
+ "output_attentions": false,
57
+ "output_hidden_states": false,
58
+ "output_scores": false,
59
+ "pad_token_id": 0,
60
+ "pooler_dropout": 0,
61
+ "pooler_hidden_act": "gelu",
62
+ "pooler_hidden_size": 768,
63
+ "pos_att_type": [
64
+ "p2c",
65
+ "c2p"
66
+ ],
67
+ "position_biased_input": false,
68
+ "position_buckets": 256,
69
+ "prefix": null,
70
+ "problem_type": null,
71
+ "pruned_heads": {},
72
+ "relative_attention": true,
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "sep_token_id": null,
78
+ "share_att_key": true,
79
+ "suppress_tokens": null,
80
+ "task_specific_params": null,
81
+ "temperature": 1.0,
82
+ "tf_legacy_loss": false,
83
+ "tie_encoder_decoder": false,
84
+ "tie_word_embeddings": true,
85
+ "tokenizer_class": null,
86
+ "top_k": 50,
87
+ "top_p": 1.0,
88
+ "torch_dtype": null,
89
+ "torchscript": false,
90
+ "type_vocab_size": 0,
91
+ "typical_p": 1.0,
92
+ "use_bfloat16": false,
93
+ "vocab_size": 128003
94
+ },
95
+ "ent_token": "<<ENT>>",
96
+ "eval_every": 10000,
97
+ "fine_tune": true,
98
+ "freeze_token_rep": false,
99
+ "fuse_layers": false,
100
+ "has_rnn": true,
101
+ "hidden_size": 512,
102
+ "label_smoothing": 0,
103
+ "labels_encoder": null,
104
+ "labels_encoder_config": null,
105
+ "labels_fusion_schema": "",
106
+ "log_dir": "models/",
107
+ "loss_alpha": 0.75,
108
+ "loss_gamma": 2,
109
+ "loss_reduction": "sum",
110
+ "lr_encoder": "1e-5",
111
+ "lr_others": "5e-5",
112
+ "max_grad_norm": 1.0,
113
+ "max_len": 2048,
114
+ "max_neg_type_ratio": 1,
115
+ "max_types": 30,
116
+ "max_width": 12,
117
+ "model_name": "microsoft/deberta-v3-small",
118
+ "model_type": "gliner",
119
+ "name": "span level gliner",
120
+ "num_post_fusion_layers": 1,
121
+ "num_rnns": 1,
122
+ "num_steps": 20000,
123
+ "post_fusion_schema": "",
124
+ "pre_fusion": false,
125
+ "prev_path": null,
126
+ "random_drop": true,
127
+ "root_dir": "gliner_logs",
128
+ "save_total_limit": 3,
129
+ "scheduler_type": "cosine",
130
+ "sep_token": "<<SEP>>",
131
+ "shuffle_types": true,
132
+ "size_sup": -1,
133
+ "span_mode": "markerV0",
134
+ "subtoken_pooling": "first",
135
+ "train_batch_size": 8,
136
+ "train_data": "data/ner_batches_8b_tuned_100k.json",
137
+ "transformers_version": "4.48.0.dev0",
138
+ "val_data_dir": "none",
139
+ "vocab_size": 128003,
140
+ "warmup_ratio": 0.1,
141
+ "weight_decay_encoder": 0.01,
142
+ "weight_decay_other": 0.01,
143
+ "words_splitter_type": "whitespace"
144
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:888b5212e6c4a66d6796d7872e8527fdecf26f296c04f3509544ed60d934652c
3
+ size 610636974
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e1c4af39d092148863bc09af622ccb57c93bce265912a1f0afdde961adc6c14
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e115debc88a308ec6141837d91ce27474371bbc4ba1ac15e0c651b86a69e4cd3
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
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": "[SEP]",
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": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "128001": {
44
+ "content": "<<ENT>>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "128002": {
52
+ "content": "<<SEP>>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "bos_token": "[CLS]",
61
+ "clean_up_tokenization_spaces": false,
62
+ "cls_token": "[CLS]",
63
+ "do_lower_case": false,
64
+ "eos_token": "[SEP]",
65
+ "extra_special_tokens": {},
66
+ "mask_token": "[MASK]",
67
+ "model_max_length": 1000000000000000019884624838656,
68
+ "pad_token": "[PAD]",
69
+ "sep_token": "[SEP]",
70
+ "sp_model_kwargs": {},
71
+ "split_by_punct": false,
72
+ "tokenizer_class": "DebertaV2Tokenizer",
73
+ "unk_token": "[UNK]",
74
+ "vocab_type": "spm"
75
+ }
trainer_state.json ADDED
@@ -0,0 +1,741 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.7711654268508679,
5
+ "eval_steps": 500,
6
+ "global_step": 10000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.017711654268508677,
13
+ "grad_norm": 282.9578857421875,
14
+ "learning_rate": 1.0000000000000002e-06,
15
+ "loss": 515.0844,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.035423308537017355,
20
+ "grad_norm": 952.3278198242188,
21
+ "learning_rate": 2.0000000000000003e-06,
22
+ "loss": 282.6205,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.053134962805526036,
27
+ "grad_norm": 421.5475158691406,
28
+ "learning_rate": 3e-06,
29
+ "loss": 187.263,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.07084661707403471,
34
+ "grad_norm": 697.6055908203125,
35
+ "learning_rate": 4.000000000000001e-06,
36
+ "loss": 181.7124,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.08855827134254339,
41
+ "grad_norm": 12816.384765625,
42
+ "learning_rate": 5e-06,
43
+ "loss": 181.1332,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.10626992561105207,
48
+ "grad_norm": 943.728515625,
49
+ "learning_rate": 6e-06,
50
+ "loss": 119.6682,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.12398157987956075,
55
+ "grad_norm": 1511.4503173828125,
56
+ "learning_rate": 7e-06,
57
+ "loss": 265.4774,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.14169323414806942,
62
+ "grad_norm": 738.5520629882812,
63
+ "learning_rate": 8.000000000000001e-06,
64
+ "loss": 293.2895,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.1594048884165781,
69
+ "grad_norm": 683.668212890625,
70
+ "learning_rate": 9e-06,
71
+ "loss": 170.2527,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.17711654268508678,
76
+ "grad_norm": 2968.679443359375,
77
+ "learning_rate": 1e-05,
78
+ "loss": 307.2464,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.19482819695359546,
83
+ "grad_norm": 358.26092529296875,
84
+ "learning_rate": 9.99695413509548e-06,
85
+ "loss": 191.1959,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.21253985122210414,
90
+ "grad_norm": 814.0306396484375,
91
+ "learning_rate": 9.987820251299121e-06,
92
+ "loss": 118.1777,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.23025150549061282,
97
+ "grad_norm": 1002.783935546875,
98
+ "learning_rate": 9.972609476841368e-06,
99
+ "loss": 152.1576,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.2479631597591215,
104
+ "grad_norm": 3436.5205078125,
105
+ "learning_rate": 9.951340343707852e-06,
106
+ "loss": 139.2181,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.26567481402763016,
111
+ "grad_norm": 895.021484375,
112
+ "learning_rate": 9.924038765061042e-06,
113
+ "loss": 254.7134,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.28338646829613884,
118
+ "grad_norm": 485.51300048828125,
119
+ "learning_rate": 9.890738003669029e-06,
120
+ "loss": 130.9937,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.3010981225646475,
125
+ "grad_norm": 3067.70166015625,
126
+ "learning_rate": 9.851478631379982e-06,
127
+ "loss": 130.5014,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.3188097768331562,
132
+ "grad_norm": 710.6421508789062,
133
+ "learning_rate": 9.806308479691595e-06,
134
+ "loss": 138.9038,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.3365214311016649,
139
+ "grad_norm": 791.8126831054688,
140
+ "learning_rate": 9.755282581475769e-06,
141
+ "loss": 135.9246,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.35423308537017356,
146
+ "grad_norm": 744.6799926757812,
147
+ "learning_rate": 9.698463103929542e-06,
148
+ "loss": 132.2486,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.37194473963868224,
153
+ "grad_norm": 155.03514099121094,
154
+ "learning_rate": 9.635919272833938e-06,
155
+ "loss": 90.2381,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.3896563939071909,
160
+ "grad_norm": 553.8131103515625,
161
+ "learning_rate": 9.567727288213005e-06,
162
+ "loss": 93.5386,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.4073680481756996,
167
+ "grad_norm": 778.4810791015625,
168
+ "learning_rate": 9.493970231495836e-06,
169
+ "loss": 151.3705,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.4250797024442083,
174
+ "grad_norm": 613.4912109375,
175
+ "learning_rate": 9.414737964294636e-06,
176
+ "loss": 149.8487,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.44279135671271697,
181
+ "grad_norm": 202.41319274902344,
182
+ "learning_rate": 9.330127018922195e-06,
183
+ "loss": 121.8082,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.46050301098122565,
188
+ "grad_norm": 1176.41064453125,
189
+ "learning_rate": 9.24024048078213e-06,
190
+ "loss": 92.7877,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.4782146652497343,
195
+ "grad_norm": 2264.6943359375,
196
+ "learning_rate": 9.145187862775208e-06,
197
+ "loss": 109.0094,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.495926319518243,
202
+ "grad_norm": 1426.1497802734375,
203
+ "learning_rate": 9.045084971874738e-06,
204
+ "loss": 179.5395,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.5136379737867517,
209
+ "grad_norm": 1707.4801025390625,
210
+ "learning_rate": 8.94005376803361e-06,
211
+ "loss": 97.74,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.5313496280552603,
216
+ "grad_norm": 622.0428466796875,
217
+ "learning_rate": 8.83022221559489e-06,
218
+ "loss": 69.5907,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.549061282323769,
223
+ "grad_norm": 650.7168579101562,
224
+ "learning_rate": 8.715724127386971e-06,
225
+ "loss": 101.6783,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.5667729365922777,
230
+ "grad_norm": 741.4815673828125,
231
+ "learning_rate": 8.596699001693257e-06,
232
+ "loss": 71.9482,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.5844845908607864,
237
+ "grad_norm": 232.25784301757812,
238
+ "learning_rate": 8.473291852294986e-06,
239
+ "loss": 84.9108,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.602196245129295,
244
+ "grad_norm": 1159.53662109375,
245
+ "learning_rate": 8.345653031794292e-06,
246
+ "loss": 81.3379,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 0.6199078993978038,
251
+ "grad_norm": 164.65911865234375,
252
+ "learning_rate": 8.213938048432697e-06,
253
+ "loss": 82.0289,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 0.6376195536663124,
258
+ "grad_norm": 326.4909362792969,
259
+ "learning_rate": 8.078307376628292e-06,
260
+ "loss": 66.5258,
261
+ "step": 3600
262
+ },
263
+ {
264
+ "epoch": 0.6553312079348211,
265
+ "grad_norm": 404.8460693359375,
266
+ "learning_rate": 7.938926261462366e-06,
267
+ "loss": 77.1912,
268
+ "step": 3700
269
+ },
270
+ {
271
+ "epoch": 0.6730428622033298,
272
+ "grad_norm": 544.1323852539062,
273
+ "learning_rate": 7.795964517353734e-06,
274
+ "loss": 117.8293,
275
+ "step": 3800
276
+ },
277
+ {
278
+ "epoch": 0.6907545164718385,
279
+ "grad_norm": 2064.937744140625,
280
+ "learning_rate": 7.649596321166024e-06,
281
+ "loss": 80.8055,
282
+ "step": 3900
283
+ },
284
+ {
285
+ "epoch": 0.7084661707403471,
286
+ "grad_norm": 403.4572448730469,
287
+ "learning_rate": 7.500000000000001e-06,
288
+ "loss": 96.7227,
289
+ "step": 4000
290
+ },
291
+ {
292
+ "epoch": 0.7261778250088559,
293
+ "grad_norm": 666.6998291015625,
294
+ "learning_rate": 7.347357813929455e-06,
295
+ "loss": 140.3281,
296
+ "step": 4100
297
+ },
298
+ {
299
+ "epoch": 0.7438894792773645,
300
+ "grad_norm": 1186.9765625,
301
+ "learning_rate": 7.191855733945388e-06,
302
+ "loss": 110.6341,
303
+ "step": 4200
304
+ },
305
+ {
306
+ "epoch": 0.7616011335458732,
307
+ "grad_norm": 416.6499938964844,
308
+ "learning_rate": 7.033683215379002e-06,
309
+ "loss": 116.5317,
310
+ "step": 4300
311
+ },
312
+ {
313
+ "epoch": 0.7793127878143818,
314
+ "grad_norm": 1019.04248046875,
315
+ "learning_rate": 6.873032967079562e-06,
316
+ "loss": 159.9792,
317
+ "step": 4400
318
+ },
319
+ {
320
+ "epoch": 0.7970244420828906,
321
+ "grad_norm": 2007.982421875,
322
+ "learning_rate": 6.710100716628345e-06,
323
+ "loss": 96.393,
324
+ "step": 4500
325
+ },
326
+ {
327
+ "epoch": 0.8147360963513992,
328
+ "grad_norm": 1629.4732666015625,
329
+ "learning_rate": 6.545084971874738e-06,
330
+ "loss": 134.7197,
331
+ "step": 4600
332
+ },
333
+ {
334
+ "epoch": 0.832447750619908,
335
+ "grad_norm": 801.6519775390625,
336
+ "learning_rate": 6.378186779084996e-06,
337
+ "loss": 117.0068,
338
+ "step": 4700
339
+ },
340
+ {
341
+ "epoch": 0.8501594048884166,
342
+ "grad_norm": 572.10205078125,
343
+ "learning_rate": 6.209609477998339e-06,
344
+ "loss": 76.2736,
345
+ "step": 4800
346
+ },
347
+ {
348
+ "epoch": 0.8678710591569253,
349
+ "grad_norm": 307.35955810546875,
350
+ "learning_rate": 6.039558454088796e-06,
351
+ "loss": 101.7736,
352
+ "step": 4900
353
+ },
354
+ {
355
+ "epoch": 0.8855827134254339,
356
+ "grad_norm": 356.9403076171875,
357
+ "learning_rate": 5.8682408883346535e-06,
358
+ "loss": 96.7568,
359
+ "step": 5000
360
+ },
361
+ {
362
+ "epoch": 0.9032943676939427,
363
+ "grad_norm": 255.03634643554688,
364
+ "learning_rate": 5.695865504800328e-06,
365
+ "loss": 118.3934,
366
+ "step": 5100
367
+ },
368
+ {
369
+ "epoch": 0.9210060219624513,
370
+ "grad_norm": 567.1763305664062,
371
+ "learning_rate": 5.522642316338268e-06,
372
+ "loss": 117.496,
373
+ "step": 5200
374
+ },
375
+ {
376
+ "epoch": 0.9387176762309599,
377
+ "grad_norm": 1406.6500244140625,
378
+ "learning_rate": 5.348782368720627e-06,
379
+ "loss": 83.3509,
380
+ "step": 5300
381
+ },
382
+ {
383
+ "epoch": 0.9564293304994687,
384
+ "grad_norm": 1967.540283203125,
385
+ "learning_rate": 5.174497483512506e-06,
386
+ "loss": 136.5233,
387
+ "step": 5400
388
+ },
389
+ {
390
+ "epoch": 0.9741409847679773,
391
+ "grad_norm": 329.2083740234375,
392
+ "learning_rate": 5e-06,
393
+ "loss": 163.8091,
394
+ "step": 5500
395
+ },
396
+ {
397
+ "epoch": 0.991852639036486,
398
+ "grad_norm": 1403.033935546875,
399
+ "learning_rate": 4.825502516487497e-06,
400
+ "loss": 85.3021,
401
+ "step": 5600
402
+ },
403
+ {
404
+ "epoch": 1.0,
405
+ "eval_loss": 233.86021423339844,
406
+ "eval_runtime": 45.6534,
407
+ "eval_samples_per_second": 54.98,
408
+ "eval_steps_per_second": 13.756,
409
+ "step": 5646
410
+ },
411
+ {
412
+ "epoch": 1.0095642933049946,
413
+ "grad_norm": 685.2989501953125,
414
+ "learning_rate": 4.651217631279374e-06,
415
+ "loss": 189.6224,
416
+ "step": 5700
417
+ },
418
+ {
419
+ "epoch": 1.0272759475735034,
420
+ "grad_norm": 2071.7216796875,
421
+ "learning_rate": 4.477357683661734e-06,
422
+ "loss": 93.9828,
423
+ "step": 5800
424
+ },
425
+ {
426
+ "epoch": 1.0449876018420121,
427
+ "grad_norm": 3089.990966796875,
428
+ "learning_rate": 4.304134495199675e-06,
429
+ "loss": 95.2696,
430
+ "step": 5900
431
+ },
432
+ {
433
+ "epoch": 1.0626992561105206,
434
+ "grad_norm": 318.3044738769531,
435
+ "learning_rate": 4.131759111665349e-06,
436
+ "loss": 93.2886,
437
+ "step": 6000
438
+ },
439
+ {
440
+ "epoch": 1.0804109103790294,
441
+ "grad_norm": 959.2510375976562,
442
+ "learning_rate": 3.960441545911205e-06,
443
+ "loss": 60.9704,
444
+ "step": 6100
445
+ },
446
+ {
447
+ "epoch": 1.098122564647538,
448
+ "grad_norm": 434.56304931640625,
449
+ "learning_rate": 3.790390522001662e-06,
450
+ "loss": 170.5878,
451
+ "step": 6200
452
+ },
453
+ {
454
+ "epoch": 1.1158342189160468,
455
+ "grad_norm": 437.1268310546875,
456
+ "learning_rate": 3.6218132209150047e-06,
457
+ "loss": 63.596,
458
+ "step": 6300
459
+ },
460
+ {
461
+ "epoch": 1.1335458731845554,
462
+ "grad_norm": 683.8363037109375,
463
+ "learning_rate": 3.4549150281252635e-06,
464
+ "loss": 88.3637,
465
+ "step": 6400
466
+ },
467
+ {
468
+ "epoch": 1.151257527453064,
469
+ "grad_norm": 1063.7440185546875,
470
+ "learning_rate": 3.289899283371657e-06,
471
+ "loss": 90.7109,
472
+ "step": 6500
473
+ },
474
+ {
475
+ "epoch": 1.1689691817215728,
476
+ "grad_norm": 500.3209533691406,
477
+ "learning_rate": 3.12696703292044e-06,
478
+ "loss": 106.912,
479
+ "step": 6600
480
+ },
481
+ {
482
+ "epoch": 1.1866808359900816,
483
+ "grad_norm": 5315.34765625,
484
+ "learning_rate": 2.966316784621e-06,
485
+ "loss": 66.9506,
486
+ "step": 6700
487
+ },
488
+ {
489
+ "epoch": 1.20439249025859,
490
+ "grad_norm": 390.86773681640625,
491
+ "learning_rate": 2.8081442660546126e-06,
492
+ "loss": 72.4987,
493
+ "step": 6800
494
+ },
495
+ {
496
+ "epoch": 1.2221041445270988,
497
+ "grad_norm": 714.1128540039062,
498
+ "learning_rate": 2.6526421860705474e-06,
499
+ "loss": 80.7786,
500
+ "step": 6900
501
+ },
502
+ {
503
+ "epoch": 1.2398157987956075,
504
+ "grad_norm": 625.9713745117188,
505
+ "learning_rate": 2.5000000000000015e-06,
506
+ "loss": 105.9008,
507
+ "step": 7000
508
+ },
509
+ {
510
+ "epoch": 1.257527453064116,
511
+ "grad_norm": 798.7731323242188,
512
+ "learning_rate": 2.3504036788339763e-06,
513
+ "loss": 110.6368,
514
+ "step": 7100
515
+ },
516
+ {
517
+ "epoch": 1.2752391073326248,
518
+ "grad_norm": 503.0509948730469,
519
+ "learning_rate": 2.204035482646267e-06,
520
+ "loss": 65.3358,
521
+ "step": 7200
522
+ },
523
+ {
524
+ "epoch": 1.2929507616011335,
525
+ "grad_norm": 416.53094482421875,
526
+ "learning_rate": 2.061073738537635e-06,
527
+ "loss": 61.5411,
528
+ "step": 7300
529
+ },
530
+ {
531
+ "epoch": 1.3106624158696423,
532
+ "grad_norm": 3666.154541015625,
533
+ "learning_rate": 1.9216926233717087e-06,
534
+ "loss": 84.1701,
535
+ "step": 7400
536
+ },
537
+ {
538
+ "epoch": 1.328374070138151,
539
+ "grad_norm": 330.82928466796875,
540
+ "learning_rate": 1.7860619515673034e-06,
541
+ "loss": 63.6358,
542
+ "step": 7500
543
+ },
544
+ {
545
+ "epoch": 1.3460857244066595,
546
+ "grad_norm": 331.7156066894531,
547
+ "learning_rate": 1.6543469682057105e-06,
548
+ "loss": 116.5511,
549
+ "step": 7600
550
+ },
551
+ {
552
+ "epoch": 1.3637973786751683,
553
+ "grad_norm": 1124.501708984375,
554
+ "learning_rate": 1.5267081477050132e-06,
555
+ "loss": 73.444,
556
+ "step": 7700
557
+ },
558
+ {
559
+ "epoch": 1.381509032943677,
560
+ "grad_norm": 4456.3701171875,
561
+ "learning_rate": 1.4033009983067454e-06,
562
+ "loss": 125.1651,
563
+ "step": 7800
564
+ },
565
+ {
566
+ "epoch": 1.3992206872121855,
567
+ "grad_norm": 254.76058959960938,
568
+ "learning_rate": 1.2842758726130283e-06,
569
+ "loss": 84.9094,
570
+ "step": 7900
571
+ },
572
+ {
573
+ "epoch": 1.4169323414806942,
574
+ "grad_norm": 243.16725158691406,
575
+ "learning_rate": 1.1697777844051105e-06,
576
+ "loss": 70.4103,
577
+ "step": 8000
578
+ },
579
+ {
580
+ "epoch": 1.434643995749203,
581
+ "grad_norm": 444.5528869628906,
582
+ "learning_rate": 1.0599462319663906e-06,
583
+ "loss": 148.3668,
584
+ "step": 8100
585
+ },
586
+ {
587
+ "epoch": 1.4523556500177117,
588
+ "grad_norm": 712.6991577148438,
589
+ "learning_rate": 9.549150281252633e-07,
590
+ "loss": 78.7889,
591
+ "step": 8200
592
+ },
593
+ {
594
+ "epoch": 1.4700673042862205,
595
+ "grad_norm": 1260.743408203125,
596
+ "learning_rate": 8.54812137224792e-07,
597
+ "loss": 133.5537,
598
+ "step": 8300
599
+ },
600
+ {
601
+ "epoch": 1.487778958554729,
602
+ "grad_norm": 375.3415832519531,
603
+ "learning_rate": 7.597595192178702e-07,
604
+ "loss": 96.2294,
605
+ "step": 8400
606
+ },
607
+ {
608
+ "epoch": 1.5054906128232377,
609
+ "grad_norm": 1678.25634765625,
610
+ "learning_rate": 6.698729810778065e-07,
611
+ "loss": 121.3787,
612
+ "step": 8500
613
+ },
614
+ {
615
+ "epoch": 1.5232022670917464,
616
+ "grad_norm": 844.283447265625,
617
+ "learning_rate": 5.852620357053651e-07,
618
+ "loss": 94.1799,
619
+ "step": 8600
620
+ },
621
+ {
622
+ "epoch": 1.540913921360255,
623
+ "grad_norm": 706.9551391601562,
624
+ "learning_rate": 5.06029768504166e-07,
625
+ "loss": 107.5293,
626
+ "step": 8700
627
+ },
628
+ {
629
+ "epoch": 1.5586255756287637,
630
+ "grad_norm": 1072.598388671875,
631
+ "learning_rate": 4.322727117869951e-07,
632
+ "loss": 90.6825,
633
+ "step": 8800
634
+ },
635
+ {
636
+ "epoch": 1.5763372298972724,
637
+ "grad_norm": 534.5012817382812,
638
+ "learning_rate": 3.6408072716606346e-07,
639
+ "loss": 99.7579,
640
+ "step": 8900
641
+ },
642
+ {
643
+ "epoch": 1.594048884165781,
644
+ "grad_norm": 76949.8984375,
645
+ "learning_rate": 3.015368960704584e-07,
646
+ "loss": 186.237,
647
+ "step": 9000
648
+ },
649
+ {
650
+ "epoch": 1.61176053843429,
651
+ "grad_norm": 294.4422302246094,
652
+ "learning_rate": 2.447174185242324e-07,
653
+ "loss": 136.7301,
654
+ "step": 9100
655
+ },
656
+ {
657
+ "epoch": 1.6294721927027984,
658
+ "grad_norm": 347.99017333984375,
659
+ "learning_rate": 1.9369152030840553e-07,
660
+ "loss": 103.0369,
661
+ "step": 9200
662
+ },
663
+ {
664
+ "epoch": 1.6471838469713072,
665
+ "grad_norm": 2896.26806640625,
666
+ "learning_rate": 1.4852136862001766e-07,
667
+ "loss": 73.6874,
668
+ "step": 9300
669
+ },
670
+ {
671
+ "epoch": 1.664895501239816,
672
+ "grad_norm": 398.4006042480469,
673
+ "learning_rate": 1.0926199633097156e-07,
674
+ "loss": 75.4443,
675
+ "step": 9400
676
+ },
677
+ {
678
+ "epoch": 1.6826071555083244,
679
+ "grad_norm": 1028.520751953125,
680
+ "learning_rate": 7.59612349389599e-08,
681
+ "loss": 75.612,
682
+ "step": 9500
683
+ },
684
+ {
685
+ "epoch": 1.7003188097768331,
686
+ "grad_norm": 516.2049560546875,
687
+ "learning_rate": 4.865965629214819e-08,
688
+ "loss": 94.1481,
689
+ "step": 9600
690
+ },
691
+ {
692
+ "epoch": 1.7180304640453419,
693
+ "grad_norm": 1118.83935546875,
694
+ "learning_rate": 2.7390523158633552e-08,
695
+ "loss": 122.414,
696
+ "step": 9700
697
+ },
698
+ {
699
+ "epoch": 1.7357421183138504,
700
+ "grad_norm": 372.98089599609375,
701
+ "learning_rate": 1.2179748700879013e-08,
702
+ "loss": 73.4527,
703
+ "step": 9800
704
+ },
705
+ {
706
+ "epoch": 1.7534537725823593,
707
+ "grad_norm": 1152.221435546875,
708
+ "learning_rate": 3.0458649045211897e-09,
709
+ "loss": 55.3135,
710
+ "step": 9900
711
+ },
712
+ {
713
+ "epoch": 1.7711654268508679,
714
+ "grad_norm": 729.0238037109375,
715
+ "learning_rate": 0.0,
716
+ "loss": 114.0674,
717
+ "step": 10000
718
+ }
719
+ ],
720
+ "logging_steps": 100,
721
+ "max_steps": 10000,
722
+ "num_input_tokens_seen": 0,
723
+ "num_train_epochs": 2,
724
+ "save_steps": 5000,
725
+ "stateful_callbacks": {
726
+ "TrainerControl": {
727
+ "args": {
728
+ "should_epoch_stop": false,
729
+ "should_evaluate": false,
730
+ "should_log": false,
731
+ "should_save": true,
732
+ "should_training_stop": true
733
+ },
734
+ "attributes": {}
735
+ }
736
+ },
737
+ "total_flos": 0.0,
738
+ "train_batch_size": 4,
739
+ "trial_name": null,
740
+ "trial_params": null
741
+ }