varma007ut
commited on
Commit
•
f67ac82
1
Parent(s):
9a20392
Update README.md
Browse files
README.md
CHANGED
@@ -1,43 +1,24 @@
|
|
1 |
-
Model README
|
2 |
-
Model Overview
|
3 |
-
Model Name: [Your Model Name]
|
4 |
-
Base Model: unsloth/meta-llama-3.1-8b-bnb-4bit
|
5 |
-
Developed by: varma007ut
|
6 |
-
License: Apache 2.0
|
7 |
-
Description
|
8 |
-
This model is a fine-tuned version of the unsloth/meta-llama-3.1-8b-bnb-4bit designed specifically for text generation tasks in the medical domain. It leverages a substantial dataset of medical texts to improve its performance and relevance in generating medical-related content.
|
9 |
-
|
10 |
-
Fine-tuning Details
|
11 |
-
Fine-tuned Data: The model has been fine-tuned on medicinal data, enhancing its ability to understand and generate contextually appropriate medical text.
|
12 |
-
Objective: The fine-tuning process aims to make the model proficient in medical terminology, guidelines, and general knowledge pertinent to healthcare professionals.
|
13 |
-
Installation
|
14 |
-
To use this model, ensure you have the necessary libraries installed. You can install them using pip:
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
21 |
|
22 |
-
|
23 |
-
Copy code
|
24 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
30 |
-
model = AutoModelForCausalLM.from_pretrained(model_name)
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
35 |
|
36 |
-
|
37 |
-
generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
If you wish to contribute to this model or report issues, please open an issue on the repository or contact the developer directly.
|
|
|
1 |
+
# Model README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
## Model Overview
|
4 |
+
|
5 |
+
- **Model Name:** Medicine_chat
|
6 |
+
- **Base Model:** unsloth/meta-llama-3.1-8b-bnb-4bit
|
7 |
+
- **Developed by:** varma007ut
|
8 |
+
- **License:** Apache 2.0
|
9 |
|
10 |
+
## Description
|
|
|
|
|
11 |
|
12 |
+
This model is a fine-tuned version of the `unsloth/meta-llama-3.1-8b-bnb-4bit` designed specifically for text generation tasks in the medical domain. It leverages a substantial dataset of medical texts to improve its performance and relevance in generating medical-related content.
|
13 |
|
14 |
+
## Fine-tuning Details
|
|
|
|
|
15 |
|
16 |
+
- **Fine-tuned Data:** The model has been fine-tuned on medicinal data, enhancing its ability to understand and generate contextually appropriate medical text.
|
17 |
+
- **Objective:** The fine-tuning process aims to make the model proficient in medical terminology, guidelines, and general knowledge pertinent to healthcare professionals.
|
|
|
18 |
|
19 |
+
## Installation
|
|
|
20 |
|
21 |
+
To use this model, ensure you have the necessary libraries installed. You can install them using pip:
|
22 |
+
|
23 |
+
```bash
|
24 |
+
pip install transformers
|
|