File size: 2,319 Bytes
ada7168
2e0119e
 
 
ada7168
 
 
 
 
 
2e0119e
 
ada7168
 
 
 
 
2e0119e
 
ada7168
 
 
2e0119e
 
 
 
 
64b2eb0
2e0119e
 
 
 
 
 
 
 
 
 
 
 
 
ada7168
2e0119e
 
 
 
 
 
 
 
 
 
 
 
 
9390f8f
 
ada7168
2e0119e
9390f8f
 
 
 
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:** 1st 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: 512
- LoRA Alpha: 10
- LoRA Rank (r): 128
- Learning rate: 1e-5
- Gradient Accumulation Steps: 2
- Batch Size: 4
- Quantization: None

---
# Model Quantitative Performace
- Training Quantitative Loss: 0.2073 (at final 5200th Step)

---
# Limitations
- Token Limitations: With a max token limit of 512, 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)
- Correct Responses: 79.03%
- Incorrect Responses: 20.97%

<p align="center">
  <img src="https://cdn-uploads.huggingface.co/production/uploads/669100cee760dfd88da676a6/AWkIpdkz-jyXlg3kP8g-r.png" width="20%" style="display:inline-block;"/>
  <img src="https://cdn-uploads.huggingface.co/production/uploads/669100cee760dfd88da676a6/6Q-DW_jRFwHzWt1wtbFR3.png" width="35%" style="display:inline-block;"/>
  <img src="https://cdn-uploads.huggingface.co/production/uploads/669100cee760dfd88da676a6/nG0b-w6wmj6bJgelzXjHY.png" width="35%" style="display:inline-block;"/>
</p>