Update README.md
Browse files
README.md
CHANGED
@@ -79,7 +79,7 @@ The following hyperparameters were used during training:
|
|
79 |
import torch
|
80 |
from transformers import pipeline
|
81 |
|
82 |
-
pipe = pipeline("text-generation", model="
|
83 |
|
84 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
85 |
messages = [
|
|
|
79 |
import torch
|
80 |
from transformers import pipeline
|
81 |
|
82 |
+
pipe = pipeline("text-generation", model="masakhane/zephyr-7b-gemma-sft-african-ultrachat", torch_dtype=torch.bfloat16, device_map="auto")
|
83 |
|
84 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
85 |
messages = [
|