Update README.md
Browse files
README.md
CHANGED
|
@@ -88,8 +88,7 @@ print(generate_text.preprocess("Why is drinking water so healthy?")["prompt_text
|
|
| 88 |
<|prompt|>Why is drinking water so healthy?<|endoftext|><|answer|>
|
| 89 |
```
|
| 90 |
|
| 91 |
-
Alternatively,
|
| 92 |
-
|
| 93 |
|
| 94 |
```python
|
| 95 |
import torch
|
|
|
|
| 88 |
<|prompt|>Why is drinking water so healthy?<|endoftext|><|answer|>
|
| 89 |
```
|
| 90 |
|
| 91 |
+
Alternatively, you can download [h2oai_pipeline.py](h2oai_pipeline.py), store it alongside your notebook, and construct the pipeline yourself from the loaded model and tokenizer:
|
|
|
|
| 92 |
|
| 93 |
```python
|
| 94 |
import torch
|