Update README.md
Browse files
README.md
CHANGED
@@ -79,7 +79,7 @@ tokenizer = AutoTokenizer.from_pretrained(model)
|
|
79 |
pipeline = transformers.pipeline(
|
80 |
"text-generation",
|
81 |
model=model,
|
82 |
-
model_kwargs={"torch_dtype": torch.float16
|
83 |
)
|
84 |
|
85 |
messages = [{"role": "user", "content": "Why am i feeling so tired this month?"}]
|
|
|
79 |
pipeline = transformers.pipeline(
|
80 |
"text-generation",
|
81 |
model=model,
|
82 |
+
model_kwargs={"torch_dtype": torch.float16},
|
83 |
)
|
84 |
|
85 |
messages = [{"role": "user", "content": "Why am i feeling so tired this month?"}]
|