qwen-nampdn-ai/tiny-textbooks
Browse files- README.md +107 -0
- adapter_config.json +32 -0
- adapter_model.bin +3 -0
- qwen.tiktoken +0 -0
- special_tokens_map.json +4 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen-14B
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: nampdn-ai_tiny-textbooks
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# nampdn-ai_tiny-textbooks
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [Qwen/Qwen-14B](https://huggingface.co/Qwen/Qwen-14B) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 2.4456
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 0.0001
|
37 |
+
- train_batch_size: 2
|
38 |
+
- eval_batch_size: 2
|
39 |
+
- seed: 42
|
40 |
+
- gradient_accumulation_steps: 8
|
41 |
+
- total_train_batch_size: 16
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: cosine
|
44 |
+
- lr_scheduler_warmup_steps: 0.01
|
45 |
+
- num_epochs: 1
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| 2.3995 | 0.02 | 63 | 2.4534 |
|
52 |
+
| 2.4114 | 0.04 | 126 | 2.4578 |
|
53 |
+
| 2.3929 | 0.06 | 189 | 2.4563 |
|
54 |
+
| 2.4145 | 0.08 | 252 | 2.4551 |
|
55 |
+
| 2.4145 | 0.1 | 315 | 2.4539 |
|
56 |
+
| 2.3687 | 0.12 | 378 | 2.4537 |
|
57 |
+
| 2.3899 | 0.14 | 441 | 2.4537 |
|
58 |
+
| 2.3827 | 0.16 | 504 | 2.4513 |
|
59 |
+
| 2.4124 | 0.18 | 567 | 2.4509 |
|
60 |
+
| 2.3839 | 0.2 | 630 | 2.4502 |
|
61 |
+
| 2.3962 | 0.22 | 693 | 2.4489 |
|
62 |
+
| 2.4156 | 0.24 | 756 | 2.4498 |
|
63 |
+
| 2.4085 | 0.26 | 819 | 2.4491 |
|
64 |
+
| 2.4303 | 0.28 | 882 | 2.4480 |
|
65 |
+
| 2.4038 | 0.3 | 945 | 2.4473 |
|
66 |
+
| 2.397 | 0.32 | 1008 | 2.4474 |
|
67 |
+
| 2.4259 | 0.34 | 1071 | 2.4484 |
|
68 |
+
| 2.4248 | 0.36 | 1134 | 2.4481 |
|
69 |
+
| 2.3889 | 0.38 | 1197 | 2.4480 |
|
70 |
+
| 2.397 | 0.4 | 1260 | 2.4472 |
|
71 |
+
| 2.3966 | 0.42 | 1323 | 2.4485 |
|
72 |
+
| 2.3764 | 0.44 | 1386 | 2.4464 |
|
73 |
+
| 2.389 | 0.46 | 1449 | 2.4477 |
|
74 |
+
| 2.4051 | 0.48 | 1512 | 2.4477 |
|
75 |
+
| 2.3919 | 0.5 | 1575 | 2.4483 |
|
76 |
+
| 2.3874 | 0.52 | 1638 | 2.4475 |
|
77 |
+
| 2.3575 | 0.54 | 1701 | 2.4457 |
|
78 |
+
| 2.3941 | 0.56 | 1764 | 2.4468 |
|
79 |
+
| 2.4167 | 0.58 | 1827 | 2.4467 |
|
80 |
+
| 2.3787 | 0.6 | 1890 | 2.4466 |
|
81 |
+
| 2.3838 | 0.62 | 1953 | 2.4472 |
|
82 |
+
| 2.4292 | 0.65 | 2016 | 2.4465 |
|
83 |
+
| 2.3788 | 0.67 | 2079 | 2.4459 |
|
84 |
+
| 2.4314 | 0.69 | 2142 | 2.4466 |
|
85 |
+
| 2.4071 | 0.71 | 2205 | 2.4462 |
|
86 |
+
| 2.3655 | 0.73 | 2268 | 2.4462 |
|
87 |
+
| 2.427 | 0.75 | 2331 | 2.4463 |
|
88 |
+
| 2.3794 | 0.77 | 2394 | 2.4460 |
|
89 |
+
| 2.3645 | 0.79 | 2457 | 2.4458 |
|
90 |
+
| 2.393 | 0.81 | 2520 | 2.4458 |
|
91 |
+
| 2.4032 | 0.83 | 2583 | 2.4457 |
|
92 |
+
| 2.3818 | 0.85 | 2646 | 2.4456 |
|
93 |
+
| 2.4262 | 0.87 | 2709 | 2.4457 |
|
94 |
+
| 2.3719 | 0.89 | 2772 | 2.4457 |
|
95 |
+
| 2.3935 | 0.91 | 2835 | 2.4457 |
|
96 |
+
| 2.393 | 0.93 | 2898 | 2.4456 |
|
97 |
+
| 2.3695 | 0.95 | 2961 | 2.4455 |
|
98 |
+
| 2.3878 | 0.97 | 3024 | 2.4454 |
|
99 |
+
| 2.3873 | 0.99 | 3087 | 2.4456 |
|
100 |
+
|
101 |
+
|
102 |
+
### Framework versions
|
103 |
+
|
104 |
+
- Transformers 4.35.0.dev0
|
105 |
+
- Pytorch 2.1.0+cu121
|
106 |
+
- Datasets 2.5.2
|
107 |
+
- Tokenizers 0.14.0
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "Qwen/Qwen-14B",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": [
|
10 |
+
30,
|
11 |
+
31,
|
12 |
+
32,
|
13 |
+
33,
|
14 |
+
34,
|
15 |
+
35,
|
16 |
+
36,
|
17 |
+
37,
|
18 |
+
38,
|
19 |
+
39
|
20 |
+
],
|
21 |
+
"lora_alpha": 16,
|
22 |
+
"lora_dropout": 0.1,
|
23 |
+
"modules_to_save": null,
|
24 |
+
"peft_type": "LORA",
|
25 |
+
"r": 8,
|
26 |
+
"revision": null,
|
27 |
+
"target_modules": [
|
28 |
+
"c_attn",
|
29 |
+
"c_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM"
|
32 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e894f1a24c9f2b471fc9caba4b68dc158dab14bc6da9c973cd60fd2287c3ca56
|
3 |
+
size 15873058
|
qwen.tiktoken
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "<|endoftext|>",
|
3 |
+
"pad_token": "<|endoftext|>"
|
4 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {},
|
3 |
+
"additional_special_tokens": [],
|
4 |
+
"auto_map": {
|
5 |
+
"AutoTokenizer": [
|
6 |
+
"Qwen/Qwen-14B--tokenization_qwen.QWenTokenizer",
|
7 |
+
null
|
8 |
+
]
|
9 |
+
},
|
10 |
+
"clean_up_tokenization_spaces": true,
|
11 |
+
"model_max_length": 8192,
|
12 |
+
"tokenizer_class": "QWenTokenizer",
|
13 |
+
"tokenizer_file": null
|
14 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9d00f73287665ee4c68de8b4fd6279949df866bff0b5dd4e97822d2c755b516
|
3 |
+
size 4600
|