File size: 2,030 Bytes
9d3b9b5
fa6add6
 
 
9d3b9b5
 
 
 
 
 
fa6add6
 
9d3b9b5
 
 
 
 
fa6add6
 
9d3b9b5
 
 
fa6add6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d3b9b5
fa6add6
 
 
 
 
 
70bcfe4
fa6add6
 
 
 
 
 
 
 
 
9d3b9b5
fa6add6
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
base_model: meta-llama/Llama-3.2-1B
datasets:
- student-abdullah/BigPharma_Generic_Q-A_Format_Augemented_Dataset
language:
- en
license: apache-2.0
tags:
- text-generation-inference
- transformers
- torch
- trl
- unsloth
- llama
- gguf
---


# Uploaded model

- **Developed by:** student-abdullah
- **License:** apache-2.0
- **Finetuned from model:** meta-llama/Llama-3.2-1B
- **Created on:** 9th October, 2024

---
# Acknowledgement
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>

---
# Model Description
This model is fine-tuned from the meta-llama/Llama-3.2-1B base model to enhance its capabilities in generating relevant and accurate responses related to generic medications under the PMBJP scheme. The fine-tuning process included the following hyperparameters:

- Fine Tuning Template: Llama Q&A
- Max Tokens: 1024
- LoRA Alpha: 2
- LoRA Rank (r): 1024
- Learning rate: 5e-5
- Gradient Accumulation Steps: 1
- Batch Size: 8
- Quantization: None

---
# Model Quantitative Performace
- Training Quantitative Loss: 0.1376 (at final 10th epoch 5150th Step)

---
# Limitations
- Token Limitations: With a max token limit of 1024, the model might not handle very long queries or contexts effectively.
- Training Data Limitations: The model’s performance is contingent on the quality and coverage of the fine-tuning dataset, which may affect its generalizability to different contexts or medications not covered in the dataset.
- Potential Biases: As with any model fine-tuned on specific data, there may be biases based on the dataset used for training.

---
# Model Performace Evaluation:
- Evaluation on 1000 Questions based on dataset (to evaluate the finetuned knowledge base)
- At temperature 0.3
- Correct Responses: %
- Incorrect Responses: %

<p align="center">
  <img src="" width="20%" style="display:inline-block;"/>
  <img src="" width="35%" style="display:inline-block;"/>
  <img src="" width="35%" style="display:inline-block;"/>
</p>