Sandiago21 commited on
Commit
0e6ded5
1 Parent(s): 485cc60

add new training files for possible new loading approach

Browse files
.gitattributes CHANGED
@@ -71,3 +71,5 @@ pytorch_model-00002-of-00039.bin filter=lfs diff=lfs merge=lfs -text
71
  pytorch_model-00008-of-00039.bin filter=lfs diff=lfs merge=lfs -text
72
  pytorch_model-00037-of-00039.bin filter=lfs diff=lfs merge=lfs -text
73
  pytorch_model-00038-of-00039.bin filter=lfs diff=lfs merge=lfs -text
 
 
 
71
  pytorch_model-00008-of-00039.bin filter=lfs diff=lfs merge=lfs -text
72
  pytorch_model-00037-of-00039.bin filter=lfs diff=lfs merge=lfs -text
73
  pytorch_model-00038-of-00039.bin filter=lfs diff=lfs merge=lfs -text
74
+ finetuned_conversations.pth filter=lfs diff=lfs merge=lfs -text
75
+ pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
adapter_config.json CHANGED
@@ -1,14 +1,17 @@
1
  {
2
- "base_model_name_or_path": "chainyo/alpaca-lora-7b",
3
  "bias": "none",
4
  "fan_in_fan_out": false,
5
  "inference_mode": true,
6
  "init_lora_weights": true,
 
 
7
  "lora_alpha": 16,
8
  "lora_dropout": 0.05,
9
  "modules_to_save": null,
10
  "peft_type": "LORA",
11
  "r": 4,
 
12
  "target_modules": [
13
  "q_proj",
14
  "v_proj"
 
1
  {
2
+ "base_model_name_or_path": "Sandiago21/llama-7b-hf-prompt-answering",
3
  "bias": "none",
4
  "fan_in_fan_out": false,
5
  "inference_mode": true,
6
  "init_lora_weights": true,
7
+ "layers_pattern": null,
8
+ "layers_to_transform": null,
9
  "lora_alpha": 16,
10
  "lora_dropout": 0.05,
11
  "modules_to_save": null,
12
  "peft_type": "LORA",
13
  "r": 4,
14
+ "revision": null,
15
  "target_modules": [
16
  "q_proj",
17
  "v_proj"
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:482ce154ea1f70f1ed8c7bc69e87712111be96b7c34491b556ca1ae43ff438ae
3
  size 8434381
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82b9965da92e0780377740523e506b6fc9020d242bb11645eb17a637cebbe971
3
  size 8434381
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "decapoda-research/llama-7b-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -9,15 +9,27 @@
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
 
12
  "max_sequence_length": 2048,
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 32,
16
  "pad_token_id": -1,
 
 
 
 
 
 
 
 
 
 
 
17
  "rms_norm_eps": 1e-06,
18
  "tie_word_embeddings": false,
19
  "torch_dtype": "float16",
20
- "transformers_version": "4.28.0.dev0",
21
- "use_cache": true,
22
  "vocab_size": 32000
23
  }
 
1
  {
2
+ "_name_or_path": "Sandiago21/llama-7b-hf-prompt-answering",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
12
+ "max_position_embeddings": 2048,
13
  "max_sequence_length": 2048,
14
  "model_type": "llama",
15
  "num_attention_heads": 32,
16
  "num_hidden_layers": 32,
17
  "pad_token_id": -1,
18
+ "quantization_config": {
19
+ "bnb_4bit_compute_dtype": "float32",
20
+ "bnb_4bit_quant_type": "fp4",
21
+ "bnb_4bit_use_double_quant": false,
22
+ "llm_int8_enable_fp32_cpu_offload": false,
23
+ "llm_int8_has_fp16_weight": false,
24
+ "llm_int8_skip_modules": null,
25
+ "llm_int8_threshold": 6.0,
26
+ "load_in_4bit": false,
27
+ "load_in_8bit": true
28
+ },
29
  "rms_norm_eps": 1e-06,
30
  "tie_word_embeddings": false,
31
  "torch_dtype": "float16",
32
+ "transformers_version": "4.30.0.dev0",
33
+ "use_cache": false,
34
  "vocab_size": 32000
35
  }
finetuned_conversations.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd029581367e730fd9eb153c60befee837443891c48e853957c6d94217cd2be5
3
+ size 7539803655
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96b020f5dcfaafd1def4df39ccadd2d1527760b8696265782b83ccf5db125416
3
+ size 7539796821
special_tokens_map.json CHANGED
@@ -1 +1,24 @@
1
- {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json CHANGED
@@ -1 +1,33 @@
1
- {"bos_token": "", "eos_token": "", "model_max_length": 1000000000000000019884624838656, "tokenizer_class": "LlamaTokenizer", "unk_token": ""}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "model_max_length": 1000000000000000019884624838656,
22
+ "pad_token": null,
23
+ "sp_model_kwargs": {},
24
+ "tokenizer_class": "LlamaTokenizer",
25
+ "unk_token": {
26
+ "__type": "AddedToken",
27
+ "content": "",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dca92296f96ae7d0ebe763192e441f69834de07a7c8daa4201fea156cbe6392b
3
- size 3643
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d853438453178ebf4e0181c1f1b40d972e2fcedc3237c508b72acb67e2eba20
3
+ size 3963