Skip to content

Commit 2bab911

Browse files
authored
Add playground to chat-completion doc (#1445)
* Add playground to chat-completion doc * Update chat-completion.md * Update index.md * Update chat-completion.md * Update chat-completion.md * Update index.md * Update chat-completion.md * Update index.md
1 parent 891742e commit 2bab911

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

docs/api-inference/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,16 @@ The documentation is organized into two sections:
4646

4747
---
4848

49+
## Inference Playground
50+
51+
If you want to get started quickly with [Chat Completion models](https://huggingface.co/models?inference=warm&other=conversational&sort=trending) use the Inference Playground to quickly text and compare models against your prompts.
52+
53+
<a href="https://huggingface.co/playground" target="blank" style="max-width: 400px; width: 100%;"><img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/9_Tgf0Tv65srhBirZQMTp.png"/></a>
54+
55+
---
56+
4957
## Looking for custom support from the Hugging Face team?
5058

5159
<a target="_blank" href="https://huggingface.co/support">
52-
<img alt="HuggingFace Expert Acceleration Program" src="https://cdn-media.huggingface.co/marketing/transformers/new-support-improved.png" style="max-width: 600px; border: 1px solid #eee; border-radius: 4px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);">
60+
<img alt="HuggingFace Expert Acceleration Program" src="https://cdn-media.huggingface.co/marketing/transformers/new-support-improved.png" style="width: 100%; max-width: 400px; border: 1px solid #eee; border-radius: 4px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);">
5361
</a><br>

docs/api-inference/tasks/chat-completion.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@ This is a subtask of [`text-generation`](https://huggingface.co/docs/api-inferen
3232
- [meta-llama/Llama-3.2-11B-Vision-Instruct](https://huggingface.co/meta-llama/Llama-3.2-11B-Vision-Instruct): Powerful vision language model with great visual understanding and reasoning capabilities.
3333
- [microsoft/Phi-3.5-vision-instruct](https://huggingface.co/microsoft/Phi-3.5-vision-instruct): Strong image-text-to-text model.
3434

35+
### API Playground
36+
37+
For Chat Completion models, we provide an interactive UI Playground for easier testing:
38+
39+
- Quickly iterate on your prompts from the UI.
40+
- Set and override system, assistant and user messages.
41+
- Browse and select models currently available on the Inference API.
42+
- Compare the output of two models side-by-side.
43+
- Adjust requests parameters from the UI.
44+
- Easily switch between UI view and code snippets.
45+
46+
<a href="https://huggingface.co/playground" target="blank" style="max-width: 400px; width: 100%;"><img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/9_Tgf0Tv65srhBirZQMTp.png"/></a>
47+
48+
Access the Inference UI Playground and start exploring: [https://huggingface.co/playground](https://huggingface.co/playground)
49+
3550
### Using the API
3651

3752
The API supports:

0 commit comments

Comments
 (0)