Upload README.md
Browse files
README.md
CHANGED
@@ -304,7 +304,7 @@ pipeline = transformers.pipeline(
|
|
304 |
"text-generation",
|
305 |
model=model_id,
|
306 |
model_kwargs={"torch_dtype": torch.bfloat16},
|
307 |
-
|
308 |
)
|
309 |
|
310 |
messages = [
|
|
|
304 |
"text-generation",
|
305 |
model=model_id,
|
306 |
model_kwargs={"torch_dtype": torch.bfloat16},
|
307 |
+
device_map="auto",
|
308 |
)
|
309 |
|
310 |
messages = [
|