Instructions to use mohmaednno/last_version with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mohmaednno/last_version with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct") model = PeftModel.from_pretrained(base_model, "mohmaednno/last_version") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +3 -2
- all_results.json +12 -0
- eval_results.json +7 -0
- train_results.json +8 -0
- trainer_state.json +58 -0
- training_eval_loss.png +0 -0
- training_loss.png +0 -0
README.md
CHANGED
|
@@ -4,6 +4,7 @@ license: apache-2.0
|
|
| 4 |
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 5 |
tags:
|
| 6 |
- llama-factory
|
|
|
|
| 7 |
- generated_from_trainer
|
| 8 |
model-index:
|
| 9 |
- name: last_version
|
|
@@ -15,9 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# last_version
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 1.
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 4 |
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 5 |
tags:
|
| 6 |
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
- generated_from_trainer
|
| 9 |
model-index:
|
| 10 |
- name: last_version
|
|
|
|
| 16 |
|
| 17 |
# last_version
|
| 18 |
|
| 19 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the chat_train dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.8395
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
all_results.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"eval_loss": 1.839530110359192,
|
| 4 |
+
"eval_runtime": 498.8921,
|
| 5 |
+
"eval_samples_per_second": 0.108,
|
| 6 |
+
"eval_steps_per_second": 0.108,
|
| 7 |
+
"total_flos": 994098989383680.0,
|
| 8 |
+
"train_loss": 1.8405975977579752,
|
| 9 |
+
"train_runtime": 23722.9763,
|
| 10 |
+
"train_samples_per_second": 0.04,
|
| 11 |
+
"train_steps_per_second": 0.005
|
| 12 |
+
}
|
eval_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"eval_loss": 1.839530110359192,
|
| 4 |
+
"eval_runtime": 498.8921,
|
| 5 |
+
"eval_samples_per_second": 0.108,
|
| 6 |
+
"eval_steps_per_second": 0.108
|
| 7 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 994098989383680.0,
|
| 4 |
+
"train_loss": 1.8405975977579752,
|
| 5 |
+
"train_runtime": 23722.9763,
|
| 6 |
+
"train_samples_per_second": 0.04,
|
| 7 |
+
"train_steps_per_second": 0.005
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 100,
|
| 7 |
+
"global_step": 120,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 2.5,
|
| 14 |
+
"grad_norm": 3.227240562438965,
|
| 15 |
+
"learning_rate": 9.042397785550405e-06,
|
| 16 |
+
"loss": 1.9625,
|
| 17 |
+
"step": 100
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 2.5,
|
| 21 |
+
"eval_loss": 1.8376805782318115,
|
| 22 |
+
"eval_runtime": 533.9255,
|
| 23 |
+
"eval_samples_per_second": 0.101,
|
| 24 |
+
"eval_steps_per_second": 0.101,
|
| 25 |
+
"step": 100
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 3.0,
|
| 29 |
+
"step": 120,
|
| 30 |
+
"total_flos": 994098989383680.0,
|
| 31 |
+
"train_loss": 1.8405975977579752,
|
| 32 |
+
"train_runtime": 23722.9763,
|
| 33 |
+
"train_samples_per_second": 0.04,
|
| 34 |
+
"train_steps_per_second": 0.005
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"logging_steps": 100,
|
| 38 |
+
"max_steps": 120,
|
| 39 |
+
"num_input_tokens_seen": 0,
|
| 40 |
+
"num_train_epochs": 3,
|
| 41 |
+
"save_steps": 500,
|
| 42 |
+
"stateful_callbacks": {
|
| 43 |
+
"TrainerControl": {
|
| 44 |
+
"args": {
|
| 45 |
+
"should_epoch_stop": false,
|
| 46 |
+
"should_evaluate": false,
|
| 47 |
+
"should_log": false,
|
| 48 |
+
"should_save": true,
|
| 49 |
+
"should_training_stop": true
|
| 50 |
+
},
|
| 51 |
+
"attributes": {}
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"total_flos": 994098989383680.0,
|
| 55 |
+
"train_batch_size": 2,
|
| 56 |
+
"trial_name": null,
|
| 57 |
+
"trial_params": null
|
| 58 |
+
}
|
training_eval_loss.png
ADDED
|
training_loss.png
ADDED
|