Upload folder using huggingface_hub
Browse files- README.md +106 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- all_results.json +22 -0
- config.json +47 -0
- eval_results.json +16 -0
- runs/May09_09-50-24_lrdn0126.leonardo.local/events.out.tfevents.1715241665.lrdn0126.leonardo.local.140021.0 +3 -0
- runs/May10_18-37-51_lrdn0427.leonardo.local/events.out.tfevents.1715359193.lrdn0427.leonardo.local.1322689.0 +3 -0
- runs/May10_18-37-51_lrdn0427.leonardo.local/events.out.tfevents.1715403756.lrdn0427.leonardo.local.1322689.1 +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +51 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- alignment-handbook
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: g8a9/tweety-mistral-7b
|
7 |
+
datasets:
|
8 |
+
- giux78/ultrafeedback-binarized-preferences-cleaned-ita
|
9 |
+
model-index:
|
10 |
+
- name: dpo
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# dpo
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [/leonardo_scratch/fast/IscrC_ItaLLM_0/tweety_models/sft](https://huggingface.co//leonardo_scratch/fast/IscrC_ItaLLM_0/tweety_models/sft) on the giux78/ultrafeedback-binarized-preferences-cleaned-ita dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.6931
|
22 |
+
- Rewards/chosen: -0.0430
|
23 |
+
- Rewards/rejected: -0.0430
|
24 |
+
- Rewards/accuracies: 0.0
|
25 |
+
- Rewards/margins: 0.0
|
26 |
+
- Logps/rejected: -310.7832
|
27 |
+
- Logps/chosen: -310.7832
|
28 |
+
- Logits/rejected: -2.3909
|
29 |
+
- Logits/chosen: -2.3909
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-06
|
49 |
+
- train_batch_size: 4
|
50 |
+
- eval_batch_size: 8
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- gradient_accumulation_steps: 4
|
54 |
+
- total_train_batch_size: 16
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: cosine
|
57 |
+
- lr_scheduler_warmup_ratio: 0.1
|
58 |
+
- num_epochs: 1
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Logits/chosen | Logits/rejected | Logps/chosen | Logps/rejected | Validation Loss | Rewards/accuracies | Rewards/chosen | Rewards/margins | Rewards/rejected |
|
63 |
+
|:-------------:|:------:|:----:|:-------------:|:---------------:|:------------:|:--------------:|:---------------:|:------------------:|:--------------:|:---------------:|:----------------:|
|
64 |
+
| 0.6931 | 0.0292 | 100 | -2.3941 | -2.3941 | -306.3899 | -306.3899 | 0.6931 | 0.0 | 0.0009 | 0.0 | 0.0009 |
|
65 |
+
| 0.6931 | 0.0584 | 200 | -2.3946 | -2.3946 | -306.5539 | -306.5539 | 0.6931 | 0.0 | -0.0008 | 0.0 | -0.0008 |
|
66 |
+
| 0.6931 | 0.0876 | 300 | -2.3942 | -2.3942 | -307.0490 | -307.0490 | 0.6931 | 0.0 | -0.0057 | 0.0 | -0.0057 |
|
67 |
+
| 0.6931 | 0.1168 | 400 | -2.3940 | -2.3940 | -307.3796 | -307.3796 | 0.6931 | 0.0 | -0.0090 | 0.0 | -0.0090 |
|
68 |
+
| 0.6931 | 0.1460 | 500 | -2.3937 | -2.3937 | -307.1581 | -307.1581 | 0.6931 | 0.0 | -0.0068 | 0.0 | -0.0068 |
|
69 |
+
| 0.6931 | 0.1751 | 600 | -2.3950 | -2.3950 | -306.9631 | -306.9631 | 0.6931 | 0.0 | -0.0048 | 0.0 | -0.0048 |
|
70 |
+
| 0.6931 | 0.2043 | 700 | -2.3949 | -2.3949 | -307.6349 | -307.6349 | 0.6931 | 0.0 | -0.0116 | 0.0 | -0.0116 |
|
71 |
+
| 0.6931 | 0.2335 | 800 | -2.3947 | -2.3947 | -307.6957 | -307.6957 | 0.6931 | 0.0 | -0.0122 | 0.0 | -0.0122 |
|
72 |
+
| 0.6931 | 0.2627 | 900 | -2.3968 | -2.3968 | -307.1708 | -307.1708 | 0.6931 | 0.0 | -0.0069 | 0.0 | -0.0069 |
|
73 |
+
| 0.6931 | 0.2919 | 1000 | -2.3967 | -2.3967 | -308.2130 | -308.2130 | 0.6931 | 0.0 | -0.0173 | 0.0 | -0.0173 |
|
74 |
+
| 0.6931 | 0.3211 | 1100 | -2.3971 | -2.3971 | -309.4724 | -309.4724 | 0.6931 | 0.0 | -0.0299 | 0.0 | -0.0299 |
|
75 |
+
| 0.6931 | 0.3503 | 1200 | -2.3976 | -2.3976 | -310.0194 | -310.0194 | 0.6931 | 0.0 | -0.0354 | 0.0 | -0.0354 |
|
76 |
+
| 0.6931 | 0.3795 | 1300 | -2.3963 | -2.3963 | -309.5114 | -309.5114 | 0.6931 | 0.0 | -0.0303 | 0.0 | -0.0303 |
|
77 |
+
| 0.6931 | 0.4087 | 1400 | -2.3955 | -2.3955 | -309.2061 | -309.2061 | 0.6931 | 0.0 | -0.0273 | 0.0 | -0.0273 |
|
78 |
+
| 0.6931 | 0.4379 | 1500 | -2.3943 | -2.3943 | -308.9652 | -308.9652 | 0.6931 | 0.0 | -0.0249 | 0.0 | -0.0249 |
|
79 |
+
| 0.6931 | 0.4671 | 1600 | -2.3954 | -2.3954 | -309.1586 | -309.1586 | 0.6931 | 0.0 | -0.0268 | 0.0 | -0.0268 |
|
80 |
+
| 0.6931 | 0.4962 | 1700 | -2.3913 | -2.3913 | -309.4055 | -309.4055 | 0.6931 | 0.0 | -0.0293 | 0.0 | -0.0293 |
|
81 |
+
| 0.6931 | 0.5254 | 1800 | -2.3927 | -2.3927 | -310.2643 | -310.2643 | 0.6931 | 0.0 | -0.0379 | 0.0 | -0.0379 |
|
82 |
+
| 0.6931 | 0.5546 | 1900 | -2.3927 | -2.3927 | -310.4164 | -310.4164 | 0.6931 | 0.0 | -0.0394 | 0.0 | -0.0394 |
|
83 |
+
| 0.6931 | 0.5838 | 2000 | -2.3920 | -2.3920 | -310.4427 | -310.4427 | 0.6931 | 0.0 | -0.0396 | 0.0 | -0.0396 |
|
84 |
+
| 0.6931 | 0.6130 | 2100 | -2.3901 | -2.3901 | -310.7150 | -310.7150 | 0.6931 | 0.0 | -0.0424 | 0.0 | -0.0424 |
|
85 |
+
| 0.6931 | 0.6422 | 2200 | -2.3911 | -2.3911 | -311.0310 | -311.0310 | 0.6931 | 0.0 | -0.0455 | 0.0 | -0.0455 |
|
86 |
+
| 0.6931 | 0.6714 | 2300 | -2.3912 | -2.3912 | -310.7881 | -310.7881 | 0.6931 | 0.0 | -0.0431 | 0.0 | -0.0431 |
|
87 |
+
| 0.6931 | 0.7006 | 2400 | -2.3899 | -2.3899 | -310.6455 | -310.6455 | 0.6931 | 0.0 | -0.0417 | 0.0 | -0.0417 |
|
88 |
+
| 0.6931 | 0.7298 | 2500 | -2.3915 | -2.3915 | -310.8196 | -310.8196 | 0.6931 | 0.0 | -0.0434 | 0.0 | -0.0434 |
|
89 |
+
| 0.6931 | 0.7590 | 2600 | 0.6931 | -0.0438 | -0.0438 | 0.0 | 0.0 | -310.8546 | -310.8546 | -2.3919 | -2.3919 |
|
90 |
+
| 0.6931 | 0.7881 | 2700 | 0.6931 | -0.0436 | -0.0436 | 0.0 | 0.0 | -310.8407 | -310.8407 | -2.3916 | -2.3916 |
|
91 |
+
| 0.6931 | 0.8173 | 2800 | 0.6931 | -0.0432 | -0.0432 | 0.0 | 0.0 | -310.7981 | -310.7981 | -2.3915 | -2.3915 |
|
92 |
+
| 0.6931 | 0.8465 | 2900 | 0.6931 | -0.0432 | -0.0432 | 0.0 | 0.0 | -310.7943 | -310.7943 | -2.3920 | -2.3920 |
|
93 |
+
| 0.6931 | 0.8757 | 3000 | 0.6931 | -0.0431 | -0.0431 | 0.0 | 0.0 | -310.7866 | -310.7866 | -2.3918 | -2.3918 |
|
94 |
+
| 0.6931 | 0.9049 | 3100 | 0.6931 | -0.0430 | -0.0430 | 0.0 | 0.0 | -310.7794 | -310.7794 | -2.3908 | -2.3908 |
|
95 |
+
| 0.6931 | 0.9341 | 3200 | 0.6931 | -0.0430 | -0.0430 | 0.0 | 0.0 | -310.7812 | -310.7812 | -2.3911 | -2.3911 |
|
96 |
+
| 0.6931 | 0.9633 | 3300 | 0.6931 | -0.0430 | -0.0430 | 0.0 | 0.0 | -310.7767 | -310.7767 | -2.3915 | -2.3915 |
|
97 |
+
| 0.6931 | 0.9925 | 3400 | 0.6931 | -0.0430 | -0.0430 | 0.0 | 0.0 | -310.7832 | -310.7832 | -2.3909 | -2.3909 |
|
98 |
+
|
99 |
+
|
100 |
+
### Framework versions
|
101 |
+
|
102 |
+
- PEFT 0.7.1
|
103 |
+
- Transformers 4.40.2
|
104 |
+
- Pytorch 2.1.2+cu121
|
105 |
+
- Datasets 2.19.1
|
106 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "g8a9/tweety-mistral-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 128,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 128,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"o_proj",
|
23 |
+
"v_proj",
|
24 |
+
"k_proj",
|
25 |
+
"down_proj",
|
26 |
+
"up_proj",
|
27 |
+
"q_proj",
|
28 |
+
"gate_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM"
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08b32c6ca6c1d6f474fd9bdfdd89647ad949c3884e8b8678930e4247254ff80d
|
3 |
+
size 671150064
|
all_results.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9997810698387214,
|
3 |
+
"eval_logits/chosen": -2.3908660411834717,
|
4 |
+
"eval_logits/rejected": -2.3908660411834717,
|
5 |
+
"eval_logps/chosen": -310.7823181152344,
|
6 |
+
"eval_logps/rejected": -310.7823181152344,
|
7 |
+
"eval_loss": 0.6931472420692444,
|
8 |
+
"eval_rewards/accuracies": 0.0,
|
9 |
+
"eval_rewards/chosen": -0.043037299066782,
|
10 |
+
"eval_rewards/margins": 0.0,
|
11 |
+
"eval_rewards/rejected": -0.043037299066782,
|
12 |
+
"eval_runtime": 2686.5205,
|
13 |
+
"eval_samples": 6090,
|
14 |
+
"eval_samples_per_second": 2.267,
|
15 |
+
"eval_steps_per_second": 0.284,
|
16 |
+
"total_flos": 0.0,
|
17 |
+
"train_loss": 0.18720042388804636,
|
18 |
+
"train_runtime": 41876.0871,
|
19 |
+
"train_samples": 54810,
|
20 |
+
"train_samples_per_second": 1.309,
|
21 |
+
"train_steps_per_second": 0.082
|
22 |
+
}
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "g8a9/tweety-mistral-7b",
|
3 |
+
"additional_special_tokens_ids": [],
|
4 |
+
"architectures": [
|
5 |
+
"MistralForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"cls_token_id": null,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 14336,
|
15 |
+
"mask_token_id": null,
|
16 |
+
"max_position_embeddings": 32768,
|
17 |
+
"model_type": "mistral",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pad_token_id": 2,
|
22 |
+
"quantization_config": {
|
23 |
+
"_load_in_4bit": true,
|
24 |
+
"_load_in_8bit": false,
|
25 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
26 |
+
"bnb_4bit_quant_storage": "uint8",
|
27 |
+
"bnb_4bit_quant_type": "nf4",
|
28 |
+
"bnb_4bit_use_double_quant": false,
|
29 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
30 |
+
"llm_int8_has_fp16_weight": false,
|
31 |
+
"llm_int8_skip_modules": null,
|
32 |
+
"llm_int8_threshold": 6.0,
|
33 |
+
"load_in_4bit": true,
|
34 |
+
"load_in_8bit": false,
|
35 |
+
"quant_method": "bitsandbytes"
|
36 |
+
},
|
37 |
+
"rms_norm_eps": 1e-05,
|
38 |
+
"rope_theta": 10000.0,
|
39 |
+
"sliding_window": 4096,
|
40 |
+
"tie_word_embeddings": false,
|
41 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
42 |
+
"torch_dtype": "bfloat16",
|
43 |
+
"transformers_version": "4.40.2",
|
44 |
+
"unk_token_id": 0,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 32000
|
47 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9997810698387214,
|
3 |
+
"eval_logits/chosen": -2.3908660411834717,
|
4 |
+
"eval_logits/rejected": -2.3908660411834717,
|
5 |
+
"eval_logps/chosen": -310.7823181152344,
|
6 |
+
"eval_logps/rejected": -310.7823181152344,
|
7 |
+
"eval_loss": 0.6931472420692444,
|
8 |
+
"eval_rewards/accuracies": 0.0,
|
9 |
+
"eval_rewards/chosen": -0.043037299066782,
|
10 |
+
"eval_rewards/margins": 0.0,
|
11 |
+
"eval_rewards/rejected": -0.043037299066782,
|
12 |
+
"eval_runtime": 2686.5205,
|
13 |
+
"eval_samples": 6090,
|
14 |
+
"eval_samples_per_second": 2.267,
|
15 |
+
"eval_steps_per_second": 0.284
|
16 |
+
}
|
runs/May09_09-50-24_lrdn0126.leonardo.local/events.out.tfevents.1715241665.lrdn0126.leonardo.local.140021.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a81d4da72013e676051fb773c3ec2d3d02028444771b95e2b114af8d48be41da
|
3 |
+
size 203533
|
runs/May10_18-37-51_lrdn0427.leonardo.local/events.out.tfevents.1715359193.lrdn0427.leonardo.local.1322689.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eabf2fcc476f01de59b62b2cedbf32aefa8e0236a2585c89d08b03140966f779
|
3 |
+
size 75944
|
runs/May10_18-37-51_lrdn0427.leonardo.local/events.out.tfevents.1715403756.lrdn0427.leonardo.local.1322689.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:495d799f0add6ed211b52c7e1222be04420c3f5452331740ff874cd5d49acee6
|
3 |
+
size 828
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2ddc1899cc92e7a8d539baa0107d226a195a0548881a2806c5de01eea2822e0
|
3 |
+
size 723618
|
tokenizer_config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
},
|
30 |
+
"3": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": true
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"bos_token": "<s>",
|
40 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
41 |
+
"clean_up_tokenization_spaces": false,
|
42 |
+
"eos_token": "</s>",
|
43 |
+
"legacy": true,
|
44 |
+
"model_max_length": 2048,
|
45 |
+
"pad_token": "</s>",
|
46 |
+
"sp_model_kwargs": {},
|
47 |
+
"spaces_between_special_tokens": false,
|
48 |
+
"tokenizer_class": "LlamaTokenizer",
|
49 |
+
"unk_token": "<unk>",
|
50 |
+
"use_default_system_prompt": false
|
51 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9997810698387214,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.18720042388804636,
|
5 |
+
"train_runtime": 41876.0871,
|
6 |
+
"train_samples": 54810,
|
7 |
+
"train_samples_per_second": 1.309,
|
8 |
+
"train_steps_per_second": 0.082
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d7aed1d3f8069be186ddde57e8d1a0ee0f72ae82c125a504f4f28900551c93f
|
3 |
+
size 5240
|