Instructions to use anhdai312/test2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anhdai312/test2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anhdai312/test2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use anhdai312/test2 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for anhdai312/test2 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for anhdai312/test2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for anhdai312/test2 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="anhdai312/test2", max_seq_length=2048, )
Training in progress, step 10, checkpoint
Browse files- last-checkpoint/README.md +2 -2
- last-checkpoint/adapter_config.json +9 -9
- last-checkpoint/adapter_model.safetensors +2 -2
- last-checkpoint/optimizer.pt +2 -2
- last-checkpoint/rng_state.pth +1 -1
- last-checkpoint/scaler.pt +1 -1
- last-checkpoint/scheduler.pt +1 -1
- last-checkpoint/tokenizer.json +2 -2
- last-checkpoint/tokenizer_config.json +1 -41
- last-checkpoint/trainer_state.json +72 -23
- last-checkpoint/training_args.bin +1 -1
last-checkpoint/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: unsloth/
|
| 3 |
library_name: peft
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
tags:
|
| 6 |
-
- base_model:adapter:unsloth/
|
| 7 |
- lora
|
| 8 |
- sft
|
| 9 |
- transformers
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
|
| 3 |
library_name: peft
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
tags:
|
| 6 |
+
- base_model:adapter:unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
|
| 7 |
- lora
|
| 8 |
- sft
|
| 9 |
- transformers
|
last-checkpoint/adapter_config.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": {
|
| 6 |
-
"base_model_class": "
|
| 7 |
-
"parent_library": "transformers.models.
|
| 8 |
"unsloth_fixed": true
|
| 9 |
},
|
| 10 |
-
"base_model_name_or_path": "unsloth/
|
| 11 |
"bias": "none",
|
| 12 |
"corda_config": null,
|
| 13 |
"ensure_weight_tying": false,
|
|
@@ -29,17 +29,17 @@
|
|
| 29 |
"peft_type": "LORA",
|
| 30 |
"peft_version": "0.18.1",
|
| 31 |
"qalora_group_size": 16,
|
| 32 |
-
"r":
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"gate_proj",
|
| 37 |
-
"v_proj",
|
| 38 |
-
"q_proj",
|
| 39 |
"up_proj",
|
|
|
|
|
|
|
| 40 |
"down_proj",
|
| 41 |
-
"
|
| 42 |
-
"
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 3 |
"alpha_pattern": {},
|
| 4 |
"arrow_config": null,
|
| 5 |
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Qwen2ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.qwen2.modeling_qwen2",
|
| 8 |
"unsloth_fixed": true
|
| 9 |
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit",
|
| 11 |
"bias": "none",
|
| 12 |
"corda_config": null,
|
| 13 |
"ensure_weight_tying": false,
|
|
|
|
| 29 |
"peft_type": "LORA",
|
| 30 |
"peft_version": "0.18.1",
|
| 31 |
"qalora_group_size": 16,
|
| 32 |
+
"r": 8,
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
| 36 |
"up_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"o_proj",
|
| 39 |
"down_proj",
|
| 40 |
+
"v_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"k_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
last-checkpoint/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:a616e38fa8e78d658c3597cb8b80666469400ae0af05db84f75fda5e1b965d18
|
| 3 |
+
size 17640136
|
last-checkpoint/optimizer.pt
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:5ebbbf6734ed4b7059ac474e7fa33d29006da0bced77223d4fd8b701ce4276b3
|
| 3 |
+
size 9572677
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14645
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2618226506644b44f9acd396cb1169369bfcc3cbedb2e7b2c06a112a3a8cd862
|
| 3 |
size 14645
|
last-checkpoint/scaler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1383
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f573b9f7149922ed73a27c9028f6f2cbdca1c0ef23c998ef777ef3be95e566d
|
| 3 |
size 1383
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1465
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f90ad91c82489d458a8723b573e91e4f2e9d0c77a9a58a9022645b90b2afea7d
|
| 3 |
size 1465
|
last-checkpoint/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:6b4360dd6a184650ffc48056c2569bc603f896c5adfe94b10f1c79f809638aa5
|
| 3 |
+
size 11422166
|
last-checkpoint/tokenizer_config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"bos_token": null,
|
| 5 |
"eos_token": "<|im_end|>",
|
| 6 |
"model_max_length": 1000000000000000019884624838656,
|
| 7 |
-
"pad_token": "<|
|
| 8 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 9 |
"unk_token": null,
|
| 10 |
"added_tokens_decoder": {
|
|
@@ -183,46 +183,6 @@
|
|
| 183 |
"rstrip": false,
|
| 184 |
"normalized": false,
|
| 185 |
"special": false
|
| 186 |
-
},
|
| 187 |
-
"151665": {
|
| 188 |
-
"content": "<tool_response>",
|
| 189 |
-
"single_word": false,
|
| 190 |
-
"lstrip": false,
|
| 191 |
-
"rstrip": false,
|
| 192 |
-
"normalized": false,
|
| 193 |
-
"special": false
|
| 194 |
-
},
|
| 195 |
-
"151666": {
|
| 196 |
-
"content": "</tool_response>",
|
| 197 |
-
"single_word": false,
|
| 198 |
-
"lstrip": false,
|
| 199 |
-
"rstrip": false,
|
| 200 |
-
"normalized": false,
|
| 201 |
-
"special": false
|
| 202 |
-
},
|
| 203 |
-
"151667": {
|
| 204 |
-
"content": "<think>",
|
| 205 |
-
"single_word": false,
|
| 206 |
-
"lstrip": false,
|
| 207 |
-
"rstrip": false,
|
| 208 |
-
"normalized": false,
|
| 209 |
-
"special": false
|
| 210 |
-
},
|
| 211 |
-
"151668": {
|
| 212 |
-
"content": "</think>",
|
| 213 |
-
"single_word": false,
|
| 214 |
-
"lstrip": false,
|
| 215 |
-
"rstrip": false,
|
| 216 |
-
"normalized": false,
|
| 217 |
-
"special": false
|
| 218 |
-
},
|
| 219 |
-
"151669": {
|
| 220 |
-
"content": "<|PAD_TOKEN|>",
|
| 221 |
-
"single_word": false,
|
| 222 |
-
"lstrip": false,
|
| 223 |
-
"rstrip": false,
|
| 224 |
-
"normalized": false,
|
| 225 |
-
"special": true
|
| 226 |
}
|
| 227 |
}
|
| 228 |
}
|
|
|
|
| 4 |
"bos_token": null,
|
| 5 |
"eos_token": "<|im_end|>",
|
| 6 |
"model_max_length": 1000000000000000019884624838656,
|
| 7 |
+
"pad_token": "<|vision_pad|>",
|
| 8 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 9 |
"unk_token": null,
|
| 10 |
"added_tokens_decoder": {
|
|
|
|
| 183 |
"rstrip": false,
|
| 184 |
"normalized": false,
|
| 185 |
"special": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
}
|
| 187 |
}
|
| 188 |
}
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,46 +1,95 @@
|
|
| 1 |
{
|
| 2 |
-
"best_global_step":
|
| 3 |
-
"best_metric":
|
| 4 |
-
"best_model_checkpoint": "/tmp/checkpoints_/
|
| 5 |
"epoch": 1.0,
|
| 6 |
"eval_steps": 50,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
-
"epoch": 0.
|
| 14 |
-
"grad_norm":
|
| 15 |
"learning_rate": 0.0,
|
| 16 |
-
"loss":
|
| 17 |
"step": 1
|
| 18 |
},
|
| 19 |
{
|
| 20 |
-
"epoch": 0.
|
| 21 |
-
"grad_norm":
|
| 22 |
-
"learning_rate":
|
| 23 |
-
"loss":
|
| 24 |
"step": 2
|
| 25 |
},
|
| 26 |
{
|
| 27 |
-
"epoch":
|
| 28 |
-
"grad_norm": 3.
|
| 29 |
-
"learning_rate": 2e-05,
|
| 30 |
-
"loss": 3.
|
| 31 |
"step": 3
|
| 32 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
{
|
| 34 |
"epoch": 1.0,
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
],
|
| 42 |
"logging_steps": 1,
|
| 43 |
-
"max_steps":
|
| 44 |
"num_input_tokens_seen": 0,
|
| 45 |
"num_train_epochs": 1,
|
| 46 |
"save_steps": 50,
|
|
@@ -56,8 +105,8 @@
|
|
| 56 |
"attributes": {}
|
| 57 |
}
|
| 58 |
},
|
| 59 |
-
"total_flos":
|
| 60 |
-
"train_batch_size":
|
| 61 |
"trial_name": null,
|
| 62 |
"trial_params": null
|
| 63 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 10,
|
| 3 |
+
"best_metric": 3.068567991256714,
|
| 4 |
+
"best_model_checkpoint": "/tmp/checkpoints_/job_fa60d36f-e0b6-414f-8ec4-8d27b9463040/checkpoint-10",
|
| 5 |
"epoch": 1.0,
|
| 6 |
"eval_steps": 50,
|
| 7 |
+
"global_step": 10,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
+
"epoch": 0.1,
|
| 14 |
+
"grad_norm": 4.2067131996154785,
|
| 15 |
"learning_rate": 0.0,
|
| 16 |
+
"loss": 3.324939250946045,
|
| 17 |
"step": 1
|
| 18 |
},
|
| 19 |
{
|
| 20 |
+
"epoch": 0.2,
|
| 21 |
+
"grad_norm": 4.331752777099609,
|
| 22 |
+
"learning_rate": 6e-06,
|
| 23 |
+
"loss": 3.4889280796051025,
|
| 24 |
"step": 2
|
| 25 |
},
|
| 26 |
{
|
| 27 |
+
"epoch": 0.3,
|
| 28 |
+
"grad_norm": 3.86865496635437,
|
| 29 |
+
"learning_rate": 1.2e-05,
|
| 30 |
+
"loss": 3.312532901763916,
|
| 31 |
"step": 3
|
| 32 |
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.4,
|
| 35 |
+
"grad_norm": 4.405333995819092,
|
| 36 |
+
"learning_rate": 1.8e-05,
|
| 37 |
+
"loss": 3.5451769828796387,
|
| 38 |
+
"step": 4
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.5,
|
| 42 |
+
"grad_norm": 4.006685256958008,
|
| 43 |
+
"learning_rate": 2.4e-05,
|
| 44 |
+
"loss": 3.31204891204834,
|
| 45 |
+
"step": 5
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.6,
|
| 49 |
+
"grad_norm": 4.052533149719238,
|
| 50 |
+
"learning_rate": 3e-05,
|
| 51 |
+
"loss": 3.3880691528320312,
|
| 52 |
+
"step": 6
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.7,
|
| 56 |
+
"grad_norm": 3.28196382522583,
|
| 57 |
+
"learning_rate": 2.4e-05,
|
| 58 |
+
"loss": 3.151078224182129,
|
| 59 |
+
"step": 7
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.8,
|
| 63 |
+
"grad_norm": 3.2284908294677734,
|
| 64 |
+
"learning_rate": 1.8e-05,
|
| 65 |
+
"loss": 3.2133283615112305,
|
| 66 |
+
"step": 8
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.9,
|
| 70 |
+
"grad_norm": 2.721409797668457,
|
| 71 |
+
"learning_rate": 1.2e-05,
|
| 72 |
+
"loss": 3.000295400619507,
|
| 73 |
+
"step": 9
|
| 74 |
+
},
|
| 75 |
{
|
| 76 |
"epoch": 1.0,
|
| 77 |
+
"grad_norm": 2.67348051071167,
|
| 78 |
+
"learning_rate": 6e-06,
|
| 79 |
+
"loss": 3.0001535415649414,
|
| 80 |
+
"step": 10
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 1.0,
|
| 84 |
+
"eval_loss": 3.068567991256714,
|
| 85 |
+
"eval_runtime": 0.3622,
|
| 86 |
+
"eval_samples_per_second": 13.803,
|
| 87 |
+
"eval_steps_per_second": 5.521,
|
| 88 |
+
"step": 10
|
| 89 |
}
|
| 90 |
],
|
| 91 |
"logging_steps": 1,
|
| 92 |
+
"max_steps": 10,
|
| 93 |
"num_input_tokens_seen": 0,
|
| 94 |
"num_train_epochs": 1,
|
| 95 |
"save_steps": 50,
|
|
|
|
| 105 |
"attributes": {}
|
| 106 |
}
|
| 107 |
},
|
| 108 |
+
"total_flos": 15401254652160.0,
|
| 109 |
+
"train_batch_size": 1,
|
| 110 |
"trial_name": null,
|
| 111 |
"trial_params": null
|
| 112 |
}
|
last-checkpoint/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5777
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62ef5223b9379a2e2e03f9ae8eb4a1125fbf4b72c2cc943819d449b0935619a3
|
| 3 |
size 5777
|