Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
5062fda4
Unverified
Commit
5062fda4
authored
Apr 05, 2024
by
Nicolas Patry
Committed by
GitHub
Apr 05, 2024
Browse files
Push users to streaming in the readme. (#1698)
parent
c7e570e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
5062fda4
...
@@ -82,7 +82,7 @@ docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingf
...
@@ -82,7 +82,7 @@ docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data ghcr.io/huggingf
And then you can make requests like
And then you can make requests like
```
bash
```
bash
curl 127.0.0.1:8080/generate
\
curl 127.0.0.1:8080/generate
_stream
\
-X
POST
\
-X
POST
\
-d
'{"inputs":"What is Deep Learning?","parameters":{"max_new_tokens":20}}'
\
-d
'{"inputs":"What is Deep Learning?","parameters":{"max_new_tokens":20}}'
\
-H
'Content-Type: application/json'
-H
'Content-Type: application/json'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment