Update README.md
Browse files
README.md
CHANGED
|
@@ -42,8 +42,8 @@ from transformers import pipeline
|
|
| 42 |
import torch
|
| 43 |
|
| 44 |
generate_text = pipeline(model="aisquared/dlite-dais-2023", torch_dtype=torch.float16, trust_remote_code=True, device_map="auto")
|
| 45 |
-
You can then use the pipeline to answer instructions:
|
| 46 |
|
|
|
|
| 47 |
res = generate_text("Tell me about the Data And AI Summit 2023.")
|
| 48 |
print(res)
|
| 49 |
```
|
|
|
|
| 42 |
import torch
|
| 43 |
|
| 44 |
generate_text = pipeline(model="aisquared/dlite-dais-2023", torch_dtype=torch.float16, trust_remote_code=True, device_map="auto")
|
|
|
|
| 45 |
|
| 46 |
+
# You can then use the pipeline to answer instructions:
|
| 47 |
res = generate_text("Tell me about the Data And AI Summit 2023.")
|
| 48 |
print(res)
|
| 49 |
```
|