acloudfan commited on
Commit
ae5fc75
·
verified ·
1 Parent(s): 19dcad4

End of training

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: facebook/opt-350m
3
  library_name: transformers
4
  model_name: fine-tuned-chat-model-lora
5
  tags:
@@ -11,7 +11,7 @@ licence: license
11
 
12
  # Model Card for fine-tuned-chat-model-lora
13
 
14
- This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
  ## Quick start
@@ -27,7 +27,7 @@ print(output["generated_text"])
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/raj-acloudfan/lora-sm-fb-opt-350-ft/runs/69ceu8yi)
31
 
32
  This model was trained with SFT.
33
 
 
1
  ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v0.1
3
  library_name: transformers
4
  model_name: fine-tuned-chat-model-lora
5
  tags:
 
11
 
12
  # Model Card for fine-tuned-chat-model-lora
13
 
14
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v0.1](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v0.1).
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/raj-acloudfan/lora-sm-fb-opt-350-ft/runs/2rgl05vo)
31
 
32
  This model was trained with SFT.
33
 
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "facebook/opt-350m",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
@@ -23,14 +23,13 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "k_proj",
27
- "q_proj",
28
- "out_proj",
29
- "fc1",
30
- "project_in",
31
  "v_proj",
32
- "fc2",
33
- "project_out"
 
 
 
 
34
  ],
35
  "task_type": "CAUSAL_LM",
36
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v0.1",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
 
 
 
 
 
26
  "v_proj",
27
+ "o_proj",
28
+ "down_proj",
29
+ "gate_proj",
30
+ "q_proj",
31
+ "k_proj",
32
+ "up_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea6c10575e36507530056bc512e811b08ff27ca78412af3909b14a23738492db
3
- size 216625176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65525d70eb072fd2c1b531366bca624753a813768c669192a951c76c7a123b30
3
+ size 543302152
added_tokens.json CHANGED
@@ -1,4 +1,5 @@
1
  {
2
- "<|im_end|>": 50266,
3
- "<|im_start|>": 50265
 
4
  }
 
1
  {
2
+ "<|im_end|>": 32002,
3
+ "<|im_start|>": 32001,
4
+ "[PAD]": 32000
5
  }
special_tokens_map.json CHANGED
@@ -19,9 +19,9 @@
19
  "eos_token": "<|im_end|>",
20
  "pad_token": "<|im_end|>",
21
  "unk_token": {
22
- "content": "</s>",
23
  "lstrip": false,
24
- "normalized": true,
25
  "rstrip": false,
26
  "single_word": false
27
  }
 
19
  "eos_token": "<|im_end|>",
20
  "pad_token": "<|im_end|>",
21
  "unk_token": {
22
+ "content": "<unk>",
23
  "lstrip": false,
24
+ "normalized": false,
25
  "rstrip": false,
26
  "single_word": false
27
  }
tokenizer.json CHANGED
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json CHANGED
@@ -1,11 +1,20 @@
1
  {
2
  "add_bos_token": true,
3
- "add_prefix_space": false,
 
4
  "added_tokens_decoder": {
 
 
 
 
 
 
 
 
5
  "1": {
6
- "content": "<pad>",
7
  "lstrip": false,
8
- "normalized": true,
9
  "rstrip": false,
10
  "single_word": false,
11
  "special": true
@@ -13,12 +22,20 @@
13
  "2": {
14
  "content": "</s>",
15
  "lstrip": false,
16
- "normalized": true,
 
 
 
 
 
 
 
 
17
  "rstrip": false,
18
  "single_word": false,
19
  "special": true
20
  },
21
- "50265": {
22
  "content": "<|im_start|>",
23
  "lstrip": false,
24
  "normalized": false,
@@ -26,7 +43,7 @@
26
  "single_word": false,
27
  "special": true
28
  },
29
- "50266": {
30
  "content": "<|im_end|>",
31
  "lstrip": false,
32
  "normalized": false,
@@ -43,9 +60,12 @@
43
  "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 %}",
44
  "clean_up_tokenization_spaces": false,
45
  "eos_token": "<|im_end|>",
46
- "errors": "replace",
47
  "model_max_length": 1000000000000000019884624838656,
48
  "pad_token": "<|im_end|>",
49
- "tokenizer_class": "GPT2Tokenizer",
50
- "unk_token": "</s>"
 
 
 
51
  }
 
1
  {
2
  "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
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
 
22
  "2": {
23
  "content": "</s>",
24
  "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
  "rstrip": false,
35
  "single_word": false,
36
  "special": true
37
  },
38
+ "32001": {
39
  "content": "<|im_start|>",
40
  "lstrip": false,
41
  "normalized": false,
 
43
  "single_word": false,
44
  "special": true
45
  },
46
+ "32002": {
47
  "content": "<|im_end|>",
48
  "lstrip": false,
49
  "normalized": false,
 
60
  "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 %}",
61
  "clean_up_tokenization_spaces": false,
62
  "eos_token": "<|im_end|>",
63
+ "legacy": false,
64
  "model_max_length": 1000000000000000019884624838656,
65
  "pad_token": "<|im_end|>",
66
+ "padding_side": "right",
67
+ "sp_model_kwargs": {},
68
+ "tokenizer_class": "LlamaTokenizer",
69
+ "unk_token": "<unk>",
70
+ "use_default_system_prompt": true
71
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7603de7433a550bdf52526e789338c13d8816a4858510c9a51c57d9179cb4e38
3
  size 5624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef9dcc304a55b9342157534d761abdaa2caf2bad2b5451cebd07c76eb4c3f6d0
3
  size 5624