hsan512 commited on
Commit
4ff194f
·
verified ·
1 Parent(s): 73f033c

Training in progress, step 4

Browse files
adapter_config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
- "base_model_class": "MptForCausalLM",
5
- "parent_library": "transformers.models.mpt.modeling_mpt"
6
  },
7
- "base_model_name_or_path": "vinai/PhoGPT-4B-Chat",
8
  "bias": "none",
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
@@ -23,9 +23,13 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "out_proj",
 
 
 
27
  "up_proj",
28
- "down_proj"
 
29
  ],
30
  "task_type": null,
31
  "use_dora": true,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": {
4
+ "base_model_class": "MistralForCausalLM",
5
+ "parent_library": "transformers.models.mistral.modeling_mistral"
6
  },
7
+ "base_model_name_or_path": "Viet-Mistral/Vistral-7B-Chat",
8
  "bias": "none",
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "down_proj",
27
+ "o_proj",
28
+ "q_proj",
29
+ "k_proj",
30
  "up_proj",
31
+ "v_proj",
32
+ "gate_proj"
33
  ],
34
  "task_type": null,
35
  "use_dora": true,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:48fdc8d91871ab678a84b4b3e96ef8a09058e341b027e071b6e04bd6eb4a0d0c
3
- size 40147760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35dcf7be987c4656918c01d7f8278cad6ee0ff43eff398fbcfe5ce535ba8222b
3
+ size 89481280
special_tokens_map.json CHANGED
@@ -1,4 +1,9 @@
1
  {
 
 
 
 
 
2
  "bos_token": {
3
  "content": "<s>",
4
  "lstrip": false,
@@ -14,7 +19,7 @@
14
  "single_word": false
15
  },
16
  "pad_token": {
17
- "content": "<pad>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
  "bos_token": {
8
  "content": "<s>",
9
  "lstrip": false,
 
19
  "single_word": false
20
  },
21
  "pad_token": {
22
+ "content": "<unk>",
23
  "lstrip": false,
24
  "normalized": false,
25
  "rstrip": false,
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,5 +1,6 @@
1
  {
2
- "add_prefix_space": false,
 
3
  "added_tokens_decoder": {
4
  "0": {
5
  "content": "<unk>",
@@ -25,22 +26,55 @@
25
  "single_word": false,
26
  "special": true
27
  },
28
- "3": {
29
- "content": "<pad>",
30
  "lstrip": false,
31
  "normalized": false,
32
  "rstrip": false,
33
  "single_word": false,
34
- "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
  },
 
 
 
 
 
37
  "bos_token": "<s>",
38
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' and loop.first %}{{ '### Câu hỏi: ' + message['content'].strip() }}{% elif message['role'] == 'user' %}{{ '\n### Câu hỏi: ' + message['content'].strip() }}{% elif message['role'] == 'assistant' %}{{ '\n### Trả lời: ' + message['content'] + eos_token }}{% endif %}{% if loop.last %}{% if message['role'] == 'user' and add_generation_prompt %}{{ '\n### Trả lời:' }}{% endif %}{% endif %}{% endfor %}",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
- "model_max_length": 8192,
42
- "pad_token": "<pad>",
43
- "padding_side": "right",
44
- "tokenizer_class": "BloomTokenizer",
45
- "unk_token": "<unk>"
 
 
 
 
46
  }
 
1
  {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
 
26
  "single_word": false,
27
  "special": true
28
  },
29
+ "38365": {
30
+ "content": "<<SYS>>",
31
  "lstrip": false,
32
  "normalized": false,
33
  "rstrip": false,
34
  "single_word": false,
35
+ "special": false
36
+ },
37
+ "38366": {
38
+ "content": "<</SYS>>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ },
45
+ "38367": {
46
+ "content": "[INST]",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": false
52
+ },
53
+ "38368": {
54
+ "content": "[/INST]",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": false
60
  }
61
  },
62
+ "additional_special_tokens": [
63
+ "<unk>",
64
+ "<s>",
65
+ "</s>"
66
+ ],
67
  "bos_token": "<s>",
68
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
69
  "clean_up_tokenization_spaces": false,
70
  "eos_token": "</s>",
71
+ "legacy": true,
72
+ "model_max_length": 1000000000000000019884624838656,
73
+ "pad_token": "<unk>",
74
+ "sp_model_kwargs": {},
75
+ "spaces_between_special_tokens": false,
76
+ "tokenizer_class": "LlamaTokenizer",
77
+ "unk_token": "<unk>",
78
+ "use_default_system_prompt": false,
79
+ "use_fast": true
80
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:15f63c3f4f3abcfc1da4f12624b5e92d18b65bc877d8a9cc61f75b9e0e477d79
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7665efa84289db8691dafd78e33e2ce23cba58c5370f5c6154c485994d9a201f
3
  size 5368