Instructions to use Yan777/trained_weigths with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Yan777/trained_weigths with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "Yan777/trained_weigths") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -50,10 +50,10 @@ The following hyperparameters were used during training:
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 52 |
|:-------------:|:-----:|:-----:|:---------------:|
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
-
| 0.
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
|
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.3979
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 52 |
|:-------------:|:-----:|:-----:|:---------------:|
|
| 53 |
+
| 0.8117 | 1.0 | 5194 | 0.4067 |
|
| 54 |
+
| 0.8273 | 2.0 | 10388 | 0.3959 |
|
| 55 |
+
| 0.6862 | 3.0 | 15582 | 0.3951 |
|
| 56 |
+
| 0.7213 | 4.0 | 20776 | 0.3979 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
adapter_config.json
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
],
|
| 25 |
"task_type": "CAUSAL_LM",
|
| 26 |
"use_rslora": false
|
|
|
|
| 19 |
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
+
"q_proj",
|
| 23 |
+
"v_proj"
|
| 24 |
],
|
| 25 |
"task_type": "CAUSAL_LM",
|
| 26 |
"use_rslora": false
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1182877280
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a32ddf53860de39052acdf5f8a21bd976f8506f558f927a9c6e6d99e6fc2e941
|
| 3 |
size 1182877280
|
runs/Apr15_12-27-22_DESKTOP-5GR7SN9/events.out.tfevents.1713155251.DESKTOP-5GR7SN9.6780.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a4dfee1970ab9017d0636c90d72e2be9421342f7d28a795f1432cf4eac3d69f
|
| 3 |
+
size 137218
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc60dfc5737958d08261fb018c9bfe868d55a9be97c6718313c76b177d457f51
|
| 3 |
size 4728
|