Skip to content

Commit 301a4ad

Browse files
committed
Update readme to llama 3
1 parent 16c1520 commit 301a4ad

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Some models, particularly language models, may not require the version string. R
4646

4747
```python
4848
replicate.run(
49-
"meta/llama-2-70b-chat",
49+
"meta/meta-llama-3-70b-instruct",
5050
input={
5151
"prompt": "Can you write a poem about open source machine learning?",
5252
"system_prompt": "You are a helpful, respectful and honest assistant.",
@@ -102,11 +102,8 @@ Use the `stream` method to consume tokens as they're produced by the model.
102102
```python
103103
import replicate
104104
105-
# https://replicate.com/meta/llama-2-70b-chat
106-
model_version = "meta/llama-2-70b-chat:02e509c789964a7ea8736978a43525956ef40397be9033abf9fd2badfe68c9e3"
107-
108105
for event in replicate.stream(
109-
model_version,
106+
"meta/meta-llama-3-70b-instruct",
110107
input={
111108
"prompt": "Please write a haiku about llamas.",
112109
},

0 commit comments

Comments
 (0)