Idowenst/finetuned-llama3-mental-health-chatbot
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
base_model: unsloth/llama-3.2-1b-unsloth-bnb-4bit
|
| 4 |
+
tags:
|
| 5 |
+
- unsloth
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: results
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# results
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [unsloth/llama-3.2-1b-unsloth-bnb-4bit](https://huggingface.co/unsloth/llama-3.2-1b-unsloth-bnb-4bit) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 7.2083
|
| 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: 5e-05
|
| 39 |
+
- train_batch_size: 4
|
| 40 |
+
- eval_batch_size: 4
|
| 41 |
+
- seed: 42
|
| 42 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
+
- lr_scheduler_type: linear
|
| 44 |
+
- num_epochs: 15
|
| 45 |
+
- mixed_precision_training: Native AMP
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| 13.3929 | 1.0 | 43 | 7.2656 |
|
| 52 |
+
| 11.4271 | 2.0 | 86 | 7.2669 |
|
| 53 |
+
| 11.0609 | 3.0 | 129 | 7.3441 |
|
| 54 |
+
| 10.097 | 4.0 | 172 | 7.6927 |
|
| 55 |
+
| 8.2179 | 5.0 | 215 | 7.7197 |
|
| 56 |
+
| 7.1093 | 6.0 | 258 | 7.6223 |
|
| 57 |
+
| 6.3082 | 7.0 | 301 | 7.5638 |
|
| 58 |
+
| 5.8958 | 8.0 | 344 | 7.4709 |
|
| 59 |
+
| 5.7789 | 9.0 | 387 | 7.3977 |
|
| 60 |
+
| 5.5157 | 10.0 | 430 | 7.3469 |
|
| 61 |
+
| 5.3691 | 11.0 | 473 | 7.3023 |
|
| 62 |
+
| 5.4559 | 12.0 | 516 | 7.2700 |
|
| 63 |
+
| 5.3126 | 13.0 | 559 | 7.2285 |
|
| 64 |
+
| 5.2435 | 14.0 | 602 | 7.2138 |
|
| 65 |
+
| 5.3684 | 15.0 | 645 | 7.2083 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- PEFT 0.14.0
|
| 71 |
+
- Transformers 4.48.3
|
| 72 |
+
- Pytorch 2.6.0+cu124
|
| 73 |
+
- Datasets 3.2.0
|
| 74 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "unsloth/llama-3.2-1b-unsloth-bnb-4bit",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 16,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 8,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"q_proj",
|
| 27 |
+
"v_proj"
|
| 28 |
+
],
|
| 29 |
+
"task_type": "CAUSAL_LM",
|
| 30 |
+
"use_dora": false,
|
| 31 |
+
"use_rslora": false
|
| 32 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30de0d6429681369c8c5b34b8f2584fed046cc2099c55de70929639976bfc5f3
|
| 3 |
+
size 3416264
|
runs/Feb13_01-41-26_69ed60e663c1/events.out.tfevents.1739410888.69ed60e663c1.31.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11e3dcfeb1effcfb48e7e00af7769298b814a9584db718b940c8007c4052ab8f
|
| 3 |
+
size 5758
|
runs/Feb13_01-51-33_69ed60e663c1/events.out.tfevents.1739411494.69ed60e663c1.31.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7701b68bc5a1f117b5ec37e496bb03ee2fe39990e82bdf61301d7e0388a21e19
|
| 3 |
+
size 5797
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3485a7194793c8926f5deb2e2a7272c9ef1058871bc62579a1bddf6018434bce
|
| 3 |
+
size 5304
|