davidshtian commited on
Commit
177a060
1 Parent(s): 89fc851

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -0
README.md CHANGED
@@ -33,6 +33,11 @@ docker run -d -p 8080:80 \
33
  --max-batch-size 1 \
34
  --max-input-length 16 \
35
  --max-total-tokens 32
 
 
 
 
 
36
  ```
37
 
38
  ## Usage with 🤗 `optimum-neuron pipeline`
 
33
  --max-batch-size 1 \
34
  --max-input-length 16 \
35
  --max-total-tokens 32
36
+
37
+ curl 127.0.0.1:8080/generate \
38
+ -X POST \
39
+ -d '{"inputs":"Who are you?","parameters":{"max_new_tokens":16}}' \
40
+ -H 'Content-Type: application/json'
41
  ```
42
 
43
  ## Usage with 🤗 `optimum-neuron pipeline`