Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,7 @@ Requires: Transformers from source - only needed for versions <= v4.34.
|
|
32 |
import torch
|
33 |
from transformers import pipeline
|
34 |
|
35 |
-
pipe = pipeline("text-generation", model="Haary/
|
36 |
|
37 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
38 |
messages = [
|
|
|
32 |
import torch
|
33 |
from transformers import pipeline
|
34 |
|
35 |
+
pipe = pipeline("text-generation", model="Haary/haryra-7b-id", torch_dtype=torch.bfloat16, device_map="auto")
|
36 |
|
37 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
38 |
messages = [
|