Commit
•
cb0ac8f
1
Parent(s):
631d39a
Update README.md
Browse files
README.md
CHANGED
@@ -198,7 +198,7 @@ _coming soon_
|
|
198 |
```python
|
199 |
from optimum.neuron import pipeline
|
200 |
|
201 |
-
|
202 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
203 |
messages = [
|
204 |
{
|
|
|
198 |
```python
|
199 |
from optimum.neuron import pipeline
|
200 |
|
201 |
+
pipe = pipeline('text-generation', 'aws-neuron/zephyr-7b-seqlen-2048-bs-4-cores-2')
|
202 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
203 |
messages = [
|
204 |
{
|