Update README.md
Browse files
README.md
CHANGED
|
@@ -37,10 +37,11 @@ This model has been fine-tuned on [Egrigor/ValheimTestData](https://huggingface.
|
|
| 37 |
|
| 38 |
To load and interact with the model, use the following code:
|
| 39 |
|
| 40 |
-
from
|
|
|
|
| 41 |
|
| 42 |
-
# Load
|
| 43 |
-
model =
|
| 44 |
tokenizer = AutoTokenizer.from_pretrained("Egrigor/ValheimAssistantV1")
|
| 45 |
|
| 46 |
# Prepare input and generate output
|
|
|
|
| 37 |
|
| 38 |
To load and interact with the model, use the following code:
|
| 39 |
|
| 40 |
+
from unsloth import FastLanguageModel
|
| 41 |
+
from transformers import AutoTokenizer
|
| 42 |
|
| 43 |
+
# Load model and tokenizer
|
| 44 |
+
model = FastLanguageModel.from_pretrained("Egrigor/ValheimAssistantV1")
|
| 45 |
tokenizer = AutoTokenizer.from_pretrained("Egrigor/ValheimAssistantV1")
|
| 46 |
|
| 47 |
# Prepare input and generate output
|