Model save
Browse files- README.md +4 -7
- all_results.json +6 -6
- config.json +1 -1
- model-00001-of-00004.safetensors +1 -1
- model-00002-of-00004.safetensors +1 -1
- model-00003-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
- special_tokens_map.json +19 -15
- tokenizer_config.json +9 -4
- train_results.json +6 -6
- trainer_state.json +0 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,20 +1,17 @@
|
|
1 |
---
|
2 |
base_model: BSC-LT/salamandra-7b
|
3 |
-
datasets:
|
4 |
-
- latam-gpt/es-ultrachat
|
5 |
library_name: transformers
|
6 |
-
model_name:
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
-
- alignment-handbook
|
10 |
- trl
|
11 |
- sft
|
12 |
licence: license
|
13 |
---
|
14 |
|
15 |
-
# Model Card for
|
16 |
|
17 |
-
This model is a fine-tuned version of [BSC-LT/salamandra-7b](https://huggingface.co/BSC-LT/salamandra-7b)
|
18 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
19 |
|
20 |
## Quick start
|
@@ -30,7 +27,7 @@ print(output["generated_text"])
|
|
30 |
|
31 |
## Training procedure
|
32 |
|
33 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/sebcif-cenia/huggingface/runs/
|
34 |
|
35 |
|
36 |
This model was trained with SFT.
|
|
|
1 |
---
|
2 |
base_model: BSC-LT/salamandra-7b
|
|
|
|
|
3 |
library_name: transformers
|
4 |
+
model_name: salamandra-2B-instruct-ultrachat
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
7 |
- trl
|
8 |
- sft
|
9 |
licence: license
|
10 |
---
|
11 |
|
12 |
+
# Model Card for salamandra-2B-instruct-ultrachat
|
13 |
|
14 |
+
This model is a fine-tuned version of [BSC-LT/salamandra-7b](https://huggingface.co/BSC-LT/salamandra-7b).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
## Quick start
|
|
|
27 |
|
28 |
## Training procedure
|
29 |
|
30 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/sebcif-cenia/huggingface/runs/aq3zw85i)
|
31 |
|
32 |
|
33 |
This model was trained with SFT.
|
all_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch": 1.
|
3 |
-
"total_flos": 1.
|
4 |
-
"train_loss": 3.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 207864,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second": 0.
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.998916106655105,
|
3 |
+
"total_flos": 1.542232840692197e+19,
|
4 |
+
"train_loss": 3.6333630210094006,
|
5 |
+
"train_runtime": 27233.3224,
|
6 |
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 2.71,
|
8 |
+
"train_steps_per_second": 0.085
|
9 |
}
|
config.json
CHANGED
@@ -26,6 +26,6 @@
|
|
26 |
"tie_word_embeddings": false,
|
27 |
"torch_dtype": "bfloat16",
|
28 |
"transformers_version": "4.48.1",
|
29 |
-
"use_cache":
|
30 |
"vocab_size": 256000
|
31 |
}
|
|
|
26 |
"tie_word_embeddings": false,
|
27 |
"torch_dtype": "bfloat16",
|
28 |
"transformers_version": "4.48.1",
|
29 |
+
"use_cache": false,
|
30 |
"vocab_size": 256000
|
31 |
}
|
model-00001-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4982973048
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e826d898cacc5f3ee3acaf75e70eb229a994476e1767d488d65f38454d349fa
|
3 |
size 4982973048
|
model-00002-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4995660232
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14002701b7e0caea8d8ded8137c1d5598493da8db4d437136efa12c61adf5a00
|
3 |
size 4995660232
|
model-00003-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3460482936
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5b96b96b523f9c8771cb7cb190a8791f333c2be04aaa469ef629599b0750d56
|
3 |
size 3460482936
|
model-00004-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2097152128
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:121c597ceb5b84c1eae35b560abab0fb244ded3639da924259671a988ac9882e
|
3 |
size 2097152128
|
special_tokens_map.json
CHANGED
@@ -1,19 +1,23 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
"unk_token": {
|
18 |
"content": "<unk>",
|
19 |
"lstrip": false,
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|im_start|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<|im_end|>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"bos_token": "<|im_start|>",
|
19 |
+
"eos_token": "<|im_end|>",
|
20 |
+
"pad_token": "<|im_end|>",
|
21 |
"unk_token": {
|
22 |
"content": "<unk>",
|
23 |
"lstrip": false,
|
tokenizer_config.json
CHANGED
@@ -1084,14 +1084,19 @@
|
|
1084 |
"special": false
|
1085 |
}
|
1086 |
},
|
1087 |
-
"
|
|
|
|
|
|
|
|
|
|
|
1088 |
"clean_up_tokenization_spaces": false,
|
1089 |
-
"eos_token": "
|
1090 |
"extra_special_tokens": {},
|
1091 |
"legacy": false,
|
1092 |
"local_files_only": true,
|
1093 |
-
"model_max_length":
|
1094 |
-
"pad_token": "
|
1095 |
"sp_model_kwargs": {},
|
1096 |
"spaces_between_special_tokens": false,
|
1097 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
1084 |
"special": false
|
1085 |
}
|
1086 |
},
|
1087 |
+
"additional_special_tokens": [
|
1088 |
+
"<|im_start|>",
|
1089 |
+
"<|im_end|>"
|
1090 |
+
],
|
1091 |
+
"bos_token": "<|im_start|>",
|
1092 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
1093 |
"clean_up_tokenization_spaces": false,
|
1094 |
+
"eos_token": "<|im_end|>",
|
1095 |
"extra_special_tokens": {},
|
1096 |
"legacy": false,
|
1097 |
"local_files_only": true,
|
1098 |
+
"model_max_length": 2048,
|
1099 |
+
"pad_token": "<|im_end|>",
|
1100 |
"sp_model_kwargs": {},
|
1101 |
"spaces_between_special_tokens": false,
|
1102 |
"tokenizer_class": "LlamaTokenizer",
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch": 1.
|
3 |
-
"total_flos": 1.
|
4 |
-
"train_loss": 3.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 207864,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second": 0.
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.998916106655105,
|
3 |
+
"total_flos": 1.542232840692197e+19,
|
4 |
+
"train_loss": 3.6333630210094006,
|
5 |
+
"train_runtime": 27233.3224,
|
6 |
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 2.71,
|
8 |
+
"train_steps_per_second": 0.085
|
9 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
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:226f4269505212abaaeec8ef162fef5b5022fd8f73bb9ff5e87e83dc01c8243b
|
3 |
+
size 7032
|