Instructions to use duyphu/380bc76e-f068-4938-8563-66819cf1d4af with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use duyphu/380bc76e-f068-4938-8563-66819cf1d4af with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-128k-instruct") model = PeftModel.from_pretrained(base_model, "duyphu/380bc76e-f068-4938-8563-66819cf1d4af") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +11 -4
- adapter_model.bin +1 -1
README.md
CHANGED
|
@@ -65,7 +65,7 @@ lora_model_dir: null
|
|
| 65 |
lora_r: 8
|
| 66 |
lora_target_linear: true
|
| 67 |
lr_scheduler: cosine
|
| 68 |
-
max_steps:
|
| 69 |
micro_batch_size: 2
|
| 70 |
mlflow_experiment_name: /tmp/a46d02fc217c0509_train_data.json
|
| 71 |
model_type: AutoModelForCausalLM
|
|
@@ -90,7 +90,7 @@ wandb_name: da5a59e4-b4e2-40cf-906c-59fc8d44af6a
|
|
| 90 |
wandb_project: Gradients-On-Demand
|
| 91 |
wandb_run: your_name
|
| 92 |
wandb_runid: da5a59e4-b4e2-40cf-906c-59fc8d44af6a
|
| 93 |
-
warmup_steps:
|
| 94 |
weight_decay: 0.0
|
| 95 |
xformers_attention: null
|
| 96 |
|
|
@@ -101,6 +101,8 @@ xformers_attention: null
|
|
| 101 |
# 380bc76e-f068-4938-8563-66819cf1d4af
|
| 102 |
|
| 103 |
This model is a fine-tuned version of [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) on the None dataset.
|
|
|
|
|
|
|
| 104 |
|
| 105 |
## Model description
|
| 106 |
|
|
@@ -127,14 +129,19 @@ The following hyperparameters were used during training:
|
|
| 127 |
- total_train_batch_size: 8
|
| 128 |
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 129 |
- lr_scheduler_type: cosine
|
| 130 |
-
- lr_scheduler_warmup_steps:
|
| 131 |
-
- training_steps:
|
| 132 |
|
| 133 |
### Training results
|
| 134 |
|
| 135 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 136 |
|:-------------:|:------:|:----:|:---------------:|
|
| 137 |
| No log | 0.0007 | 1 | 5.1141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
|
| 140 |
### Framework versions
|
|
|
|
| 65 |
lora_r: 8
|
| 66 |
lora_target_linear: true
|
| 67 |
lr_scheduler: cosine
|
| 68 |
+
max_steps: 50
|
| 69 |
micro_batch_size: 2
|
| 70 |
mlflow_experiment_name: /tmp/a46d02fc217c0509_train_data.json
|
| 71 |
model_type: AutoModelForCausalLM
|
|
|
|
| 90 |
wandb_project: Gradients-On-Demand
|
| 91 |
wandb_run: your_name
|
| 92 |
wandb_runid: da5a59e4-b4e2-40cf-906c-59fc8d44af6a
|
| 93 |
+
warmup_steps: 10
|
| 94 |
weight_decay: 0.0
|
| 95 |
xformers_attention: null
|
| 96 |
|
|
|
|
| 101 |
# 380bc76e-f068-4938-8563-66819cf1d4af
|
| 102 |
|
| 103 |
This model is a fine-tuned version of [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) on the None dataset.
|
| 104 |
+
It achieves the following results on the evaluation set:
|
| 105 |
+
- Loss: 2.2988
|
| 106 |
|
| 107 |
## Model description
|
| 108 |
|
|
|
|
| 129 |
- total_train_batch_size: 8
|
| 130 |
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 131 |
- lr_scheduler_type: cosine
|
| 132 |
+
- lr_scheduler_warmup_steps: 10
|
| 133 |
+
- training_steps: 50
|
| 134 |
|
| 135 |
### Training results
|
| 136 |
|
| 137 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 138 |
|:-------------:|:------:|:----:|:---------------:|
|
| 139 |
| No log | 0.0007 | 1 | 5.1141 |
|
| 140 |
+
| 19.9015 | 0.0068 | 10 | 4.7637 |
|
| 141 |
+
| 15.6149 | 0.0137 | 20 | 3.2703 |
|
| 142 |
+
| 9.8552 | 0.0205 | 30 | 2.5106 |
|
| 143 |
+
| 7.8637 | 0.0274 | 40 | 2.3464 |
|
| 144 |
+
| 10.2621 | 0.0342 | 50 | 2.2988 |
|
| 145 |
|
| 146 |
|
| 147 |
### Framework versions
|
adapter_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 50424202
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a69b0ee1d3c06b16040f7836040b334e52a3d05992ac057c5d3a359205448150
|
| 3 |
size 50424202
|