HugoVoxx/llama-3.2-1b-it-ag
Browse files- README.md +38 -36
- adapter_config.json +33 -33
- adapter_model.safetensors +2 -2
- runs/Oct23_01-44-10_0df87f83d07d/events.out.tfevents.1729647852.0df87f83d07d.30.0 +3 -0
- special_tokens_map.json +21 -21
- tokenizer.json +2 -2
- tokenizer_config.json +0 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,57 +1,59 @@
|
|
1 |
---
|
2 |
base_model: unsloth/Llama-3.2-1B-Instruct
|
3 |
-
library_name:
|
4 |
-
|
5 |
tags:
|
6 |
-
- generated_from_trainer
|
7 |
- trl
|
8 |
- sft
|
9 |
-
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
|
|
|
13 |
|
14 |
-
|
15 |
-
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
20 |
-
from transformers import pipeline
|
21 |
|
22 |
-
|
23 |
-
generator = pipeline("text-generation", model="HugoVoxx/llama-3.2-1b-it-ag", device="cuda")
|
24 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
-
print(output["generated_text"])
|
26 |
-
```
|
27 |
|
28 |
-
##
|
29 |
|
|
|
30 |
|
|
|
31 |
|
32 |
-
|
33 |
|
34 |
-
|
|
|
|
|
35 |
|
36 |
-
|
37 |
-
-
|
38 |
-
-
|
39 |
-
-
|
40 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
-
|
43 |
|
44 |
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
journal = {GitHub repository},
|
54 |
-
publisher = {GitHub},
|
55 |
-
howpublished = {\url{https://github.com/huggingface/trl}}
|
56 |
-
}
|
57 |
-
```
|
|
|
1 |
---
|
2 |
base_model: unsloth/Llama-3.2-1B-Instruct
|
3 |
+
library_name: peft
|
4 |
+
license: llama3.2
|
5 |
tags:
|
|
|
6 |
- trl
|
7 |
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: llama-3.2-1b-it-ag
|
11 |
+
results: []
|
12 |
---
|
13 |
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
|
17 |
+
# llama-3.2-1b-it-ag
|
|
|
18 |
|
19 |
+
This model is a fine-tuned version of [unsloth/Llama-3.2-1B-Instruct](https://huggingface.co/unsloth/Llama-3.2-1B-Instruct) on an unknown dataset.
|
20 |
|
21 |
+
## Model description
|
|
|
22 |
|
23 |
+
More information needed
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
## Intended uses & limitations
|
26 |
|
27 |
+
More information needed
|
28 |
|
29 |
+
## Training and evaluation data
|
30 |
|
31 |
+
More information needed
|
32 |
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0002
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 8
|
43 |
+
- total_train_batch_size: 16
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 10
|
47 |
+
- num_epochs: 5
|
48 |
|
49 |
+
### Training results
|
50 |
|
51 |
|
52 |
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.13.2
|
56 |
+
- Transformers 4.45.2
|
57 |
+
- Pytorch 2.4.0
|
58 |
+
- Datasets 3.0.2
|
59 |
+
- Tokenizers 0.20.0
|
|
|
|
|
|
|
|
|
|
adapter_config.json
CHANGED
@@ -1,34 +1,34 @@
|
|
1 |
-
{
|
2 |
-
"alpha_pattern": {},
|
3 |
-
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "unsloth/Llama-3.2-1B-Instruct",
|
5 |
-
"bias": "none",
|
6 |
-
"fan_in_fan_out": false,
|
7 |
-
"inference_mode": true,
|
8 |
-
"init_lora_weights": true,
|
9 |
-
"layer_replication": null,
|
10 |
-
"layers_pattern": null,
|
11 |
-
"layers_to_transform": null,
|
12 |
-
"loftq_config": {},
|
13 |
-
"lora_alpha":
|
14 |
-
"lora_dropout": 0.01,
|
15 |
-
"megatron_config": null,
|
16 |
-
"megatron_core": "megatron.core",
|
17 |
-
"modules_to_save": null,
|
18 |
-
"peft_type": "LORA",
|
19 |
-
"r":
|
20 |
-
"rank_pattern": {},
|
21 |
-
"revision": null,
|
22 |
-
"target_modules": [
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
],
|
31 |
-
"task_type": "CAUSAL_LM",
|
32 |
-
"use_dora": false,
|
33 |
-
"use_rslora": false
|
34 |
}
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "unsloth/Llama-3.2-1B-Instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 256,
|
14 |
+
"lora_dropout": 0.01,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 128,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"up_proj",
|
24 |
+
"k_proj",
|
25 |
+
"o_proj",
|
26 |
+
"v_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"down_proj",
|
29 |
+
"q_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db8a91ccfcd440c96c1304447baba0ddc73541baaa4f6d0346bc9c2d18e5e291
|
3 |
+
size 1411430208
|
runs/Oct23_01-44-10_0df87f83d07d/events.out.tfevents.1729647852.0df87f83d07d.30.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03a21509782e4b600ef0e00098404fecf9b794e050512d81f7651c1a0991d362
|
3 |
+
size 6364
|
special_tokens_map.json
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
{
|
2 |
-
"additional_special_tokens": [
|
3 |
-
{
|
4 |
-
"content": "<|im_start|>",
|
5 |
-
"lstrip": false,
|
6 |
-
"normalized": false,
|
7 |
-
"rstrip": false,
|
8 |
-
"single_word": false
|
9 |
-
},
|
10 |
-
{
|
11 |
-
"content": "<|im_end|>",
|
12 |
-
"lstrip": false,
|
13 |
-
"normalized": false,
|
14 |
-
"rstrip": false,
|
15 |
-
"single_word": false
|
16 |
-
}
|
17 |
-
],
|
18 |
-
"bos_token": "<|im_start|>",
|
19 |
-
"eos_token": "<|im_end|>",
|
20 |
-
"pad_token": "<|im_end|>"
|
21 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|im_start|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<|im_end|>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"bos_token": "<|im_start|>",
|
19 |
+
"eos_token": "<|im_end|>",
|
20 |
+
"pad_token": "<|im_end|>"
|
21 |
+
}
|
tokenizer.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5183f5ff3c6a5bb58733e2d242ef948580948862f5c16473564707ff1e5b48e
|
3 |
+
size 17210395
|
tokenizer_config.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0ecc28b9d61250a22a4f59bc20e8e210efab66c53df03e3cb30011c8e909453
|
3 |
+
size 5496
|