EshAhm commited on
Commit
1f296c7
·
verified ·
1 Parent(s): b7b699b

EshAhm/Llama-3-8b-LoRA-Medical2

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3
4
+ base_model: meta-llama/Meta-Llama-3-8B
5
+ tags:
6
+ - base_model:adapter:meta-llama/Meta-Llama-3-8B
7
+ - lora
8
+ - transformers
9
+ pipeline_tag: text-generation
10
+ model-index:
11
+ - name: Llama-3-8bLoRA-Medical2
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # Llama-3-8bLoRA-Medical2
19
+
20
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.4624
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0002
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 8
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 50
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:------:|:----:|:---------------:|
56
+ | 0.4736 | 0.2667 | 100 | 0.4776 |
57
+ | 0.4546 | 0.5333 | 200 | 0.4697 |
58
+ | 0.4659 | 0.8 | 300 | 0.4645 |
59
+ | 0.4357 | 1.0667 | 400 | 0.4637 |
60
+ | 0.4163 | 1.3333 | 500 | 0.4643 |
61
+ | 0.4228 | 1.6 | 600 | 0.4624 |
62
+ | 0.4096 | 1.8667 | 700 | 0.4608 |
63
+ | 0.3708 | 2.1333 | 800 | 0.4737 |
64
+ | 0.355 | 2.4 | 900 | 0.4737 |
65
+ | 0.3693 | 2.6667 | 1000 | 0.4733 |
66
+ | 0.3642 | 2.9333 | 1100 | 0.4726 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - PEFT 0.17.1
72
+ - Transformers 4.56.1
73
+ - Pytorch 2.8.0+cu126
74
+ - Datasets 4.0.0
75
+ - Tokenizers 0.22.0
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 32,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "k_proj",
30
+ "o_proj",
31
+ "v_proj"
32
+ ],
33
+ "target_parameters": null,
34
+ "task_type": "CAUSAL_LM",
35
+ "trainable_token_indices": null,
36
+ "use_dora": false,
37
+ "use_qalora": false,
38
+ "use_rslora": false
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a872f85f7a0e5d7da6216cf55139e9400942acc738a1b8703e7d1a7dcc038887
3
+ size 109086416
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e343ff6c4477a8ad24cc8b8202a363a1980994fd3a972ca8b75fc53d282fa49
3
+ size 5777