Update README.md
Browse files
README.md
CHANGED
@@ -6,4 +6,12 @@ This LLaMA model was fine-tuned on a unique Persian dataset of Alpaca chat conve
|
|
6 |
|
7 |
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>
|
8 |
|
9 |
-
This model is open-source, and we invite the community to use and build upon our work. The fine-tuned LLaMA model is designed to improve Persian conversation capabilities, and we hope it will contribute to the advancement of natural language processing in the Persian language.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>
|
8 |
|
9 |
+
This model is open-source, and we invite the community to use and build upon our work. The fine-tuned LLaMA model is designed to improve Persian conversation capabilities, and we hope it will contribute to the advancement of natural language processing in the Persian language.
|
10 |
+
Using the Model
|
11 |
+
|
12 |
+
To use this model, you can utilize the Hugging Face Transformers library. Note: The default usage code provided by Hugging Face is not applicable for this model. Instead, follow the example below:
|
13 |
+
|
14 |
+
messages = [ {"from": "human", "value": prompt},]
|
15 |
+
Finally, use the pipeline to generate responses:
|
16 |
+
pipe = pipeline("text-generation", model="xmanii/Llama3-8b-simorgh-16bit")
|
17 |
+
pipe(messages)
|