Update README.md
Browse files
README.md
CHANGED
@@ -35,6 +35,21 @@ The project is still in the testing phase, and the training parameters will cont
|
|
35 |
- learning_rate=5e-5
|
36 |
- max_grad_norm=1.0
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
## How to Use the Model
|
39 |
|
40 |
To use this model, follow the example code provided below. Ensure you have the necessary libraries installed (e.g., Hugging Face's `transformers`).
|
@@ -48,7 +63,7 @@ pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
|
|
48 |
pip install llmtuner
|
49 |
```
|
50 |
|
51 |
-
###
|
52 |
|
53 |
```bash
|
54 |
from llmtuner import ChatModel
|
|
|
35 |
- learning_rate=5e-5
|
36 |
- max_grad_norm=1.0
|
37 |
|
38 |
+
## Testing The Model
|
39 |
+
|
40 |
+
Below, we have several examples of question-answer pairs comparing the pure Llama3 model with the Llama3 model fine tunned for the Galician language.
|
41 |
+
|
42 |
+
*Llama3-8B*
|
43 |
+
```bash
|
44 |
+
User: Cal é a capital de Canadá?
|
45 |
+
Assistant: Não! Cal não é a capital de Canadá. A capital de Canadá é Ottawa.
|
46 |
+
```
|
47 |
+
*Llama3-8B-Galician-Chat*
|
48 |
+
```bash
|
49 |
+
User: Cal é a capital de Canadá?
|
50 |
+
Assistant: A capital de Canadá é Ottawa.
|
51 |
+
```
|
52 |
+
|
53 |
## How to Use the Model
|
54 |
|
55 |
To use this model, follow the example code provided below. Ensure you have the necessary libraries installed (e.g., Hugging Face's `transformers`).
|
|
|
63 |
pip install llmtuner
|
64 |
```
|
65 |
|
66 |
+
### Run the model
|
67 |
|
68 |
```bash
|
69 |
from llmtuner import ChatModel
|