Oliver Adams
commited on
Commit
•
36c704e
1
Parent(s):
a1016d3
Updated for compatibility with more recent unsloth versions.
Browse files- README.md +2 -2
- adapter_config.json +7 -7
- adapter_model.safetensors +1 -1
- tokenizer.json +4 -0
- tokenizer_config.json +3 -11
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
-
library_name: peft
|
3 |
base_model: unsloth/tinyllama-bnb-4bit
|
|
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
@@ -199,4 +199,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
199 |
[More Information Needed]
|
200 |
### Framework versions
|
201 |
|
202 |
-
- PEFT 0.
|
|
|
1 |
---
|
|
|
2 |
base_model: unsloth/tinyllama-bnb-4bit
|
3 |
+
library_name: peft
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
|
|
199 |
[More Information Needed]
|
200 |
### Framework versions
|
201 |
|
202 |
+
- PEFT 0.12.0
|
adapter_config.json
CHANGED
@@ -18,15 +18,15 @@
|
|
18 |
"peft_type": "LORA",
|
19 |
"r": 32,
|
20 |
"rank_pattern": {},
|
21 |
-
"revision":
|
22 |
"target_modules": [
|
23 |
-
"k_proj",
|
24 |
-
"down_proj",
|
25 |
-
"o_proj",
|
26 |
-
"gate_proj",
|
27 |
-
"up_proj",
|
28 |
"v_proj",
|
29 |
-
"
|
|
|
|
|
|
|
|
|
|
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
|
|
18 |
"peft_type": "LORA",
|
19 |
"r": 32,
|
20 |
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
|
23 |
"v_proj",
|
24 |
+
"up_proj",
|
25 |
+
"o_proj",
|
26 |
+
"down_proj",
|
27 |
+
"k_proj",
|
28 |
+
"q_proj",
|
29 |
+
"gate_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 100966336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bd79c67173596e6956e8334efe449d440e9296d5cb55256320f7e2deff4e21e
|
3 |
size 100966336
|
tokenizer.json
CHANGED
@@ -34,6 +34,10 @@
|
|
34 |
"normalizer": {
|
35 |
"type": "Sequence",
|
36 |
"normalizers": [
|
|
|
|
|
|
|
|
|
37 |
{
|
38 |
"type": "Replace",
|
39 |
"pattern": {
|
|
|
34 |
"normalizer": {
|
35 |
"type": "Sequence",
|
36 |
"normalizers": [
|
37 |
+
{
|
38 |
+
"type": "Prepend",
|
39 |
+
"prepend": "▁"
|
40 |
+
},
|
41 |
{
|
42 |
"type": "Replace",
|
43 |
"pattern": {
|
tokenizer_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
|
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
@@ -27,24 +28,15 @@
|
|
27 |
"special": true
|
28 |
}
|
29 |
},
|
30 |
-
"additional_special_tokens": [],
|
31 |
"bos_token": "<s>",
|
32 |
-
"chat_template": null,
|
33 |
"clean_up_tokenization_spaces": false,
|
34 |
-
"cls_token": null,
|
35 |
"eos_token": "</s>",
|
36 |
-
"
|
37 |
-
"model_input_names": [
|
38 |
-
"input_ids",
|
39 |
-
"attention_mask"
|
40 |
-
],
|
41 |
"model_max_length": 2048,
|
42 |
"pad_token": "<unk>",
|
43 |
"padding_side": "right",
|
44 |
-
"
|
45 |
-
"split_special_tokens": false,
|
46 |
"tokenizer_class": "LlamaTokenizer",
|
47 |
-
"truncation_side": "right",
|
48 |
"unk_token": "<unk>",
|
49 |
"use_default_system_prompt": false
|
50 |
}
|
|
|
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>",
|
|
|
28 |
"special": true
|
29 |
}
|
30 |
},
|
|
|
31 |
"bos_token": "<s>",
|
|
|
32 |
"clean_up_tokenization_spaces": false,
|
|
|
33 |
"eos_token": "</s>",
|
34 |
+
"legacy": false,
|
|
|
|
|
|
|
|
|
35 |
"model_max_length": 2048,
|
36 |
"pad_token": "<unk>",
|
37 |
"padding_side": "right",
|
38 |
+
"sp_model_kwargs": {},
|
|
|
39 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
40 |
"unk_token": "<unk>",
|
41 |
"use_default_system_prompt": false
|
42 |
}
|