10 lines
207 B
Bash
10 lines
207 B
Bash
curl http://localhost:30000/generate \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"text": "Once upon a time,",
|
|
"sampling_params": {
|
|
"max_new_tokens": 64,
|
|
"temperature": 0
|
|
}
|
|
}'
|