dylan9n commited on
Commit
be408dc
·
1 Parent(s): 3a4c7f8

Tinyllama-1B-Openorca 0.2

Browse files
README.md DELETED
@@ -1,26 +0,0 @@
1
- ---
2
- library_name: peft
3
- base_model: unsloth/tinyllama
4
- datasets:
5
- - Open-Orca/OpenOrca
6
- pipeline_tag: text-generation
7
- ---
8
-
9
- # Model Card for Model ID
10
-
11
- <!-- Provide a quick summary of what the model is/does. -->
12
-
13
- ## Model Details
14
-
15
- ### Model Description
16
-
17
- <!-- Provide a longer summary of what this model is. -->
18
-
19
- - **Developed by:** dylan9n
20
- - **Model type:** Text Generation
21
- - **Finetuned from model [optional]:** Tinyllama
22
-
23
-
24
- ### Framework versions
25
-
26
- - PEFT 0.7.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
adapter_config.json DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "unsloth/tinyllama-bnb-4bit",
5
- "bias": "none",
6
- "fan_in_fan_out": false,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layers_pattern": null,
10
- "layers_to_transform": null,
11
- "loftq_config": {},
12
- "lora_alpha": 16,
13
- "lora_dropout": 0,
14
- "megatron_config": null,
15
- "megatron_core": "megatron.core",
16
- "modules_to_save": null,
17
- "peft_type": "LORA",
18
- "r": 16,
19
- "rank_pattern": {},
20
- "revision": null,
21
- "target_modules": [
22
- "v_proj",
23
- "up_proj",
24
- "gate_proj",
25
- "k_proj",
26
- "o_proj",
27
- "q_proj",
28
- "down_proj"
29
- ],
30
- "task_type": "CAUSAL_LM"
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|im_end|>": 32002,
3
+ "<|im_start|>": 32001,
4
+ "[PAD]": 32000
5
+ }
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "unsloth/tinyllama",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -16,27 +16,13 @@
16
  "num_attention_heads": 32,
17
  "num_hidden_layers": 22,
18
  "num_key_value_heads": 4,
19
- "pad_token_id": 0,
20
  "pretraining_tp": 1,
21
- "quantization_config": {
22
- "bnb_4bit_compute_dtype": "bfloat16",
23
- "bnb_4bit_quant_type": "nf4",
24
- "bnb_4bit_use_double_quant": true,
25
- "llm_int8_enable_fp32_cpu_offload": false,
26
- "llm_int8_has_fp16_weight": false,
27
- "llm_int8_skip_modules": null,
28
- "llm_int8_threshold": 6.0,
29
- "load_in_4bit": true,
30
- "load_in_8bit": false,
31
- "quant_method": "bitsandbytes"
32
- },
33
  "rms_norm_eps": 1e-05,
34
  "rope_scaling": null,
35
  "rope_theta": 10000.0,
36
  "tie_word_embeddings": false,
37
- "torch_dtype": "bfloat16",
38
- "transformers_version": "4.37.0.dev0",
39
- "unsloth_version": "2024.1",
40
  "use_cache": true,
41
- "vocab_size": 32000
42
  }
 
1
  {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v0.4",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
16
  "num_attention_heads": 32,
17
  "num_hidden_layers": 22,
18
  "num_key_value_heads": 4,
 
19
  "pretraining_tp": 1,
 
 
 
 
 
 
 
 
 
 
 
 
20
  "rms_norm_eps": 1e-05,
21
  "rope_scaling": null,
22
  "rope_theta": 10000.0,
23
  "tie_word_embeddings": false,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.37.1",
 
26
  "use_cache": true,
27
+ "vocab_size": 32003
28
  }
generation_config.json CHANGED
@@ -1,7 +1,4 @@
1
  {
2
- "bos_token_id": 1,
3
- "eos_token_id": 2,
4
- "max_length": 2048,
5
- "pad_token_id": 0,
6
- "transformers_version": "4.37.0.dev0"
7
  }
 
1
  {
2
+ "max_new_tokens": 32,
3
+ "transformers_version": "4.37.1"
 
 
 
4
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f069c7e23cbf43314abb7f8f5e3bfd12604e3f93b8e06c8b5eaa0696d6690684
3
- size 762453384
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15cf99cb7d1102bfb8608409544170c32e96719184bbca80a1036c0456d1c053
3
+ size 2200144240
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "[PAD]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
adapter_model.safetensors → tokenizer.model RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab4ad34ed95422c72a5edd91fe2146790660e71210036b3df382666eb875104f
3
- size 50503544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "[PAD]",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<s>",
59
+ "clean_up_tokenization_spaces": false,
60
+ "eos_token": "</s>",
61
+ "legacy": false,
62
+ "model_max_length": 1000000000000000019884624838656,
63
+ "pad_token": "[PAD]",
64
+ "padding_side": "left",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "split_special_tokens": false,
68
+ "tokenizer_class": "LlamaTokenizer",
69
+ "unk_token": "<unk>",
70
+ "use_default_system_prompt": true
71
+ }