sebcif commited on
Commit
b7b25d0
·
verified ·
1 Parent(s): be11eed

Model save

Browse files
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: BSC-LT/salamandra-7b
7
  tags:
8
  - generated_from_trainer
9
- - alignment-handbook
10
  - trl
11
  - sft
12
  licence: license
13
  ---
14
 
15
- # Model Card for BSC-LT/salamandra-7b
16
 
17
- This model is a fine-tuned version of [BSC-LT/salamandra-7b](https://huggingface.co/BSC-LT/salamandra-7b) on the [['latam-gpt/es-ultrachat']](https://huggingface.co/datasets/['latam-gpt/es-ultrachat']) dataset.
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/a904c82q)
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.9995122744269225,
3
- "total_flos": 1.5426787958438494e+19,
4
- "train_loss": 3.4351423407190405,
5
- "train_runtime": 37293.9625,
6
  "train_samples": 207864,
7
- "train_samples_per_second": 1.979,
8
- "train_steps_per_second": 0.082
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": true,
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:8956cae1eb07c4bcae2e5b934b117cdacf2f3033674fa1782cba6fc7b5016a74
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:5bb239ce89c80fa3c622e2981ee2c871ce3eb66959d9a770d41262a29542e273
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:5dc193ab6a160c9b1dbd883c4fc8c62ca1fcba400c2585e5b17c0e4ae22f53a6
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:f2d233f9553d8864b8f5e20ade5acacacd61e147c38bddcec81833e07dac2c9a
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
- "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": "</s>",
 
 
 
 
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
- "bos_token": "<s>",
 
 
 
 
 
1088
  "clean_up_tokenization_spaces": false,
1089
- "eos_token": "</s>",
1090
  "extra_special_tokens": {},
1091
  "legacy": false,
1092
  "local_files_only": true,
1093
- "model_max_length": 1000000000000000019884624838656,
1094
- "pad_token": "</s>",
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.9995122744269225,
3
- "total_flos": 1.5426787958438494e+19,
4
- "train_loss": 3.4351423407190405,
5
- "train_runtime": 37293.9625,
6
  "train_samples": 207864,
7
- "train_samples_per_second": 1.979,
8
- "train_steps_per_second": 0.082
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:7d430db56a35c3305e8b23a60a63cea7d30944d273ee2d3936ccf953376170d1
3
- size 18673016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:226f4269505212abaaeec8ef162fef5b5022fd8f73bb9ff5e87e83dc01c8243b
3
+ size 7032