Update README.md
Browse files
README.md
CHANGED
|
@@ -59,6 +59,7 @@ pipeline = transformers.pipeline(
|
|
| 59 |
model=model,
|
| 60 |
torch_dtype=torch.float16,
|
| 61 |
device_map="auto",
|
|
|
|
| 62 |
)
|
| 63 |
|
| 64 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
|
|
|
| 59 |
model=model,
|
| 60 |
torch_dtype=torch.float16,
|
| 61 |
device_map="auto",
|
| 62 |
+
trust_remote_code=True
|
| 63 |
)
|
| 64 |
|
| 65 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|