test_curl.sh 207 Bytes
Newer Older
1
2
3
4
5
curl http://localhost:30000/generate \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Once upon a time,",
    "sampling_params": {
6
      "max_new_tokens": 64,
7
8
9
      "temperature": 0
    }
  }'