Spaces:
Paused
Paused
|
Download README.md from deepak191z/simi0: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/deepak191z/simi0/resolve/main/README.md
- Command line
-
hf download hf://spaces/deepak191z/simi0/README.md
-
curl -L -o README.md https://huggingface.co/spaces/deepak191z/simi0/resolve/main/README.md
1.11 kB
| title: d | |
| emoji: 👀 | |
| colorFrom: blue | |
| colorTo: yellow | |
| sdk: docker | |
| pinned: true | |
| app_port: 7860 | |
| short_description: dd | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # infos | |
| * models | |
| ``` bash | |
| curl https://huggingface.co/proxy/sanbo1200-ddghat.hf.space/models | |
| ``` | |
| * Request | |
| ``` bash | |
| curl --location --request POST 'https://${|Embed this Space|--|Direct URL|}/completions' \ | |
| --header 'Content-Type: application/json' \ | |
| --data-raw '{ | |
| "model": "gpt-4o-mini", | |
| "messages": [ | |
| { | |
| "role": "user", | |
| "content": "What is the principle of Bitcoin?" | |
| } | |
| ], | |
| "stream": true | |
| }' | |
| # local | |
| curl --location --request POST 'http://0.0.0.0:8760/completions' \ | |
| --header 'Content-Type: application/json' \ | |
| --data-raw '{ | |
| "model": "gpt-4o-mini", | |
| "messages": [ | |
| { | |
| "role": "user", | |
| "content": "What is the principle of Bitcoin?" | |
| } | |
| ], | |
| "stream": true | |
| }' | |
| ``` | |
| ## support models | |
| - claude-3-haiku | |
| - llama-3.1-70b | |
| - mixtral-8x7b | |
| - gpt-4o-mini | |