From 01988e9421c74653bc6e9e72ad72d54c1a8bc48a Mon Sep 17 00:00:00 2001 From: Celina Hanouti Date: Thu, 25 Sep 2025 14:32:45 +0200 Subject: [PATCH] update Inference Providers templates --- docs/inference-providers/providers/cerebras.md | 7 ++----- docs/inference-providers/providers/cohere.md | 7 ++----- docs/inference-providers/providers/fal-ai.md | 7 ++----- docs/inference-providers/providers/featherless-ai.md | 7 ++----- docs/inference-providers/providers/fireworks-ai.md | 7 ++----- docs/inference-providers/providers/groq.md | 7 ++----- docs/inference-providers/providers/hf-inference.md | 9 +++------ docs/inference-providers/providers/hyperbolic.md | 7 ++----- docs/inference-providers/providers/nebius.md | 7 ++----- docs/inference-providers/providers/novita.md | 9 +++------ docs/inference-providers/providers/nscale.md | 7 ++----- docs/inference-providers/providers/publicai.md | 7 ++----- docs/inference-providers/providers/replicate.md | 7 ++----- docs/inference-providers/providers/sambanova.md | 7 ++----- docs/inference-providers/providers/scaleway.md | 7 ++----- docs/inference-providers/providers/together.md | 7 ++----- docs/inference-providers/tasks/audio-classification.md | 6 ++---- .../tasks/automatic-speech-recognition.md | 6 ++---- docs/inference-providers/tasks/chat-completion.md | 2 +- docs/inference-providers/tasks/feature-extraction.md | 8 +++----- docs/inference-providers/tasks/fill-mask.md | 6 ++---- docs/inference-providers/tasks/image-classification.md | 6 ++---- docs/inference-providers/tasks/image-segmentation.md | 6 ++---- docs/inference-providers/tasks/image-text-to-text.md | 6 ++---- docs/inference-providers/tasks/image-to-image.md | 6 ++---- docs/inference-providers/tasks/object-detection.md | 6 ++---- docs/inference-providers/tasks/question-answering.md | 6 ++---- docs/inference-providers/tasks/summarization.md | 7 ++----- .../tasks/table-question-answering.md | 6 ++---- docs/inference-providers/tasks/text-classification.md | 6 ++---- docs/inference-providers/tasks/text-generation.md | 6 ++---- docs/inference-providers/tasks/text-to-image.md | 6 ++---- docs/inference-providers/tasks/text-to-video.md | 6 ++---- docs/inference-providers/tasks/token-classification.md | 6 ++---- docs/inference-providers/tasks/translation.md | 7 +++---- .../tasks/zero-shot-classification.md | 6 ++---- scripts/inference-providers/scripts/generate.ts | 8 +++----- .../templates/providers/cerebras.handlebars | 7 ++----- .../templates/providers/cohere.handlebars | 7 ++----- .../templates/providers/fal-ai.handlebars | 7 ++----- .../templates/providers/featherless-ai.handlebars | 7 ++----- .../templates/providers/fireworks-ai.handlebars | 7 ++----- .../templates/providers/groq.handlebars | 7 ++----- .../templates/providers/hf-inference.handlebars | 7 ++----- .../templates/providers/hyperbolic.handlebars | 7 ++----- .../templates/providers/nebius.handlebars | 7 ++----- .../templates/providers/novita.handlebars | 7 ++----- .../templates/providers/nscale.handlebars | 7 ++----- .../templates/providers/publicai.handlebars | 7 ++----- .../templates/providers/replicate.handlebars | 7 ++----- .../templates/providers/sambanova.handlebars | 7 ++----- .../templates/providers/scaleway.handlebars | 7 ++----- .../templates/providers/together.handlebars | 7 ++----- 53 files changed, 110 insertions(+), 246 deletions(-) diff --git a/docs/inference-providers/providers/cerebras.md b/docs/inference-providers/providers/cerebras.md index 10a030964b..4235ba8f0e 100644 --- a/docs/inference-providers/providers/cerebras.md +++ b/docs/inference-providers/providers/cerebras.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Cerebras - - -All supported Cerebras models can be found [here](https://huggingface.co/models?inference_provider=cerebras&sort=trending) - - +> [!TIP] +> All supported Cerebras models can be found [here](https://huggingface.co/models?inference_provider=cerebras&sort=trending)
diff --git a/docs/inference-providers/providers/cohere.md b/docs/inference-providers/providers/cohere.md index bce401ec01..ed9f1df06f 100644 --- a/docs/inference-providers/providers/cohere.md +++ b/docs/inference-providers/providers/cohere.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Cohere - - -All supported Cohere models can be found [here](https://huggingface.co/models?inference_provider=cohere&sort=trending) - - +> [!TIP] +> All supported Cohere models can be found [here](https://huggingface.co/models?inference_provider=cohere&sort=trending)
diff --git a/docs/inference-providers/providers/fal-ai.md b/docs/inference-providers/providers/fal-ai.md index 8001427650..ab9a3b8057 100644 --- a/docs/inference-providers/providers/fal-ai.md +++ b/docs/inference-providers/providers/fal-ai.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Fal - - -All supported Fal models can be found [here](https://huggingface.co/models?inference_provider=fal-ai&sort=trending) - - +> [!TIP] +> All supported Fal models can be found [here](https://huggingface.co/models?inference_provider=fal-ai&sort=trending)
diff --git a/docs/inference-providers/providers/featherless-ai.md b/docs/inference-providers/providers/featherless-ai.md index 2f89a71fb4..eccb16fce7 100644 --- a/docs/inference-providers/providers/featherless-ai.md +++ b/docs/inference-providers/providers/featherless-ai.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Featherless AI - - -All supported Featherless AI models can be found [here](https://huggingface.co/models?inference_provider=featherless-ai&sort=trending) - - +> [!TIP] +> All supported Featherless AI models can be found [here](https://huggingface.co/models?inference_provider=featherless-ai&sort=trending)
diff --git a/docs/inference-providers/providers/fireworks-ai.md b/docs/inference-providers/providers/fireworks-ai.md index 458b4a7954..dd3d6e9e52 100644 --- a/docs/inference-providers/providers/fireworks-ai.md +++ b/docs/inference-providers/providers/fireworks-ai.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Fireworks AI - - -All supported Fireworks AI models can be found [here](https://huggingface.co/models?inference_provider=fireworks-ai&sort=trending) - - +> [!TIP] +> All supported Fireworks AI models can be found [here](https://huggingface.co/models?inference_provider=fireworks-ai&sort=trending)
diff --git a/docs/inference-providers/providers/groq.md b/docs/inference-providers/providers/groq.md index 80df0503b5..397376accd 100644 --- a/docs/inference-providers/providers/groq.md +++ b/docs/inference-providers/providers/groq.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Groq - - -All supported Groq models can be found [here](https://huggingface.co/models?inference_provider=groq&sort=trending) - - +> [!TIP] +> All supported Groq models can be found [here](https://huggingface.co/models?inference_provider=groq&sort=trending)
diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index 661f85fd61..29ac5d82e5 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # HF Inference - - -All supported HF Inference models can be found [here](https://huggingface.co/models?inference_provider=hf-inference&sort=trending) - - +> [!TIP] +> All supported HF Inference models can be found [here](https://huggingface.co/models?inference_provider=hf-inference&sort=trending)
@@ -73,7 +70,7 @@ Find out more about Feature Extraction [here](../tasks/feature_extraction). diff --git a/docs/inference-providers/providers/hyperbolic.md b/docs/inference-providers/providers/hyperbolic.md index b9c6fbbf2a..4d468d41b9 100644 --- a/docs/inference-providers/providers/hyperbolic.md +++ b/docs/inference-providers/providers/hyperbolic.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Hyperbolic: The On-Demand AI Cloud - - -All supported Hyperbolic models can be found [here](https://huggingface.co/models?inference_provider=hyperbolic&sort=trending) - - +> [!TIP] +> All supported Hyperbolic models can be found [here](https://huggingface.co/models?inference_provider=hyperbolic&sort=trending)
diff --git a/docs/inference-providers/providers/nebius.md b/docs/inference-providers/providers/nebius.md index 7d7ab29cc7..72fc631754 100644 --- a/docs/inference-providers/providers/nebius.md +++ b/docs/inference-providers/providers/nebius.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Nebius - - -All supported Nebius models can be found [here](https://huggingface.co/models?inference_provider=nebius&sort=trending) - - +> [!TIP] +> All supported Nebius models can be found [here](https://huggingface.co/models?inference_provider=nebius&sort=trending)
diff --git a/docs/inference-providers/providers/novita.md b/docs/inference-providers/providers/novita.md index ff76a00172..47cf4d6f69 100644 --- a/docs/inference-providers/providers/novita.md +++ b/docs/inference-providers/providers/novita.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Novita - - -All supported Novita models can be found [here](https://huggingface.co/models?inference_provider=novita&sort=trending) - - +> [!TIP] +> All supported Novita models can be found [here](https://huggingface.co/models?inference_provider=novita&sort=trending)
@@ -52,7 +49,7 @@ Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/providers/nscale.md b/docs/inference-providers/providers/nscale.md index f84d741cb4..fbb3a3960b 100644 --- a/docs/inference-providers/providers/nscale.md +++ b/docs/inference-providers/providers/nscale.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Nscale - - -All supported Nscale models can be found [here](https://huggingface.co/models?inference_provider=nscale&sort=trending) - - +> [!TIP] +> All supported Nscale models can be found [here](https://huggingface.co/models?inference_provider=nscale&sort=trending)
diff --git a/docs/inference-providers/providers/publicai.md b/docs/inference-providers/providers/publicai.md index 5d578408ca..21a7627cbb 100644 --- a/docs/inference-providers/providers/publicai.md +++ b/docs/inference-providers/providers/publicai.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # PublicAI - - -All models supported by the PublicAI Inference Utility can be found [here](https://huggingface.co/models?inference_provider=publicai&sort=trending) - - +> [!TIP] +> All models supported by the PublicAI Inference Utility can be found [here](https://huggingface.co/models?inference_provider=publicai&sort=trending)
diff --git a/docs/inference-providers/providers/replicate.md b/docs/inference-providers/providers/replicate.md index 677f10d319..de9832ff4d 100644 --- a/docs/inference-providers/providers/replicate.md +++ b/docs/inference-providers/providers/replicate.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Replicate - - -All supported Replicate models can be found [here](https://huggingface.co/models?inference_provider=replicate&sort=trending) - - +> [!TIP] +> All supported Replicate models can be found [here](https://huggingface.co/models?inference_provider=replicate&sort=trending)
diff --git a/docs/inference-providers/providers/sambanova.md b/docs/inference-providers/providers/sambanova.md index fefd34b9b2..df463faf5c 100644 --- a/docs/inference-providers/providers/sambanova.md +++ b/docs/inference-providers/providers/sambanova.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # SambaNova - - -All supported SambaNova models can be found [here](https://huggingface.co/models?inference_provider=sambanova&sort=trending) - - +> [!TIP] +> All supported SambaNova models can be found [here](https://huggingface.co/models?inference_provider=sambanova&sort=trending)
diff --git a/docs/inference-providers/providers/scaleway.md b/docs/inference-providers/providers/scaleway.md index 1dbf5cc4cd..b44591e367 100644 --- a/docs/inference-providers/providers/scaleway.md +++ b/docs/inference-providers/providers/scaleway.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Scaleway - - -All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending) - - +> [!TIP] +> All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending)
diff --git a/docs/inference-providers/providers/together.md b/docs/inference-providers/providers/together.md index 9b5035ef77..f73670045e 100644 --- a/docs/inference-providers/providers/together.md +++ b/docs/inference-providers/providers/together.md @@ -19,11 +19,8 @@ For more details, check out the `generate.ts` script: https://github.com/hugging # Together - - -All supported Together models can be found [here](https://huggingface.co/models?inference_provider=together&sort=trending) - - +> [!TIP] +> All supported Together models can be found [here](https://huggingface.co/models?inference_provider=together&sort=trending)
diff --git a/docs/inference-providers/tasks/audio-classification.md b/docs/inference-providers/tasks/audio-classification.md index fcc01910fa..3c31cb593c 100644 --- a/docs/inference-providers/tasks/audio-classification.md +++ b/docs/inference-providers/tasks/audio-classification.md @@ -21,11 +21,9 @@ Example applications: * Identifying a speaker * Detecting the genre of a song - +> [!TIP] +> For more details about the `audio-classification` task, check out its [dedicated page](https://huggingface.co/tasks/audio-classification)! You will find examples and related materials. -For more details about the `audio-classification` task, check out its [dedicated page](https://huggingface.co/tasks/audio-classification)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/automatic-speech-recognition.md b/docs/inference-providers/tasks/automatic-speech-recognition.md index 5e04d75486..bf8b65e14e 100644 --- a/docs/inference-providers/tasks/automatic-speech-recognition.md +++ b/docs/inference-providers/tasks/automatic-speech-recognition.md @@ -21,11 +21,9 @@ Example applications: * Building a voice assistant * Generating subtitles for a video - +> [!TIP] +> For more details about the `automatic-speech-recognition` task, check out its [dedicated page](https://huggingface.co/tasks/automatic-speech-recognition)! You will find examples and related materials. -For more details about the `automatic-speech-recognition` task, check out its [dedicated page](https://huggingface.co/tasks/automatic-speech-recognition)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md index e2362ac95e..8da832fb2f 100644 --- a/docs/inference-providers/tasks/chat-completion.md +++ b/docs/inference-providers/tasks/chat-completion.md @@ -64,7 +64,7 @@ The API supports: diff --git a/docs/inference-providers/tasks/feature-extraction.md b/docs/inference-providers/tasks/feature-extraction.md index 1292052509..cbfa46c9e4 100644 --- a/docs/inference-providers/tasks/feature-extraction.md +++ b/docs/inference-providers/tasks/feature-extraction.md @@ -21,11 +21,9 @@ Example applications: * Reranking a list of documents based on their similarity to a query. * Calculating the similarity between two sentences. - +> [!TIP] +> For more details about the `feature-extraction` task, check out its [dedicated page](https://huggingface.co/tasks/feature-extraction)! You will find examples and related materials. -For more details about the `feature-extraction` task, check out its [dedicated page](https://huggingface.co/tasks/feature-extraction)! You will find examples and related materials. - - ### Recommended models @@ -38,7 +36,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/fill-mask.md b/docs/inference-providers/tasks/fill-mask.md index 0e7894c7f8..3e68afc3e7 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -16,11 +16,9 @@ For more details, check out: Mask filling is the task of predicting the right word (token to be precise) in the middle of a sequence. - +> [!TIP] +> For more details about the `fill-mask` task, check out its [dedicated page](https://huggingface.co/tasks/fill-mask)! You will find examples and related materials. -For more details about the `fill-mask` task, check out its [dedicated page](https://huggingface.co/tasks/fill-mask)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index 6c3864f8d7..8fa784a7d6 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -16,11 +16,9 @@ For more details, check out: Image classification is the task of assigning a label or class to an entire image. Images are expected to have only one class for each image. - +> [!TIP] +> For more details about the `image-classification` task, check out its [dedicated page](https://huggingface.co/tasks/image-classification)! You will find examples and related materials. -For more details about the `image-classification` task, check out its [dedicated page](https://huggingface.co/tasks/image-classification)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md index 1ceca0e685..eeeab94cff 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -16,11 +16,9 @@ For more details, check out: Image Segmentation divides an image into segments where each pixel in the image is mapped to an object. - +> [!TIP] +> For more details about the `image-segmentation` task, check out its [dedicated page](https://huggingface.co/tasks/image-segmentation)! You will find examples and related materials. -For more details about the `image-segmentation` task, check out its [dedicated page](https://huggingface.co/tasks/image-segmentation)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/image-text-to-text.md b/docs/inference-providers/tasks/image-text-to-text.md index d9bb7e10ad..d31105008f 100644 --- a/docs/inference-providers/tasks/image-text-to-text.md +++ b/docs/inference-providers/tasks/image-text-to-text.md @@ -16,11 +16,9 @@ For more details, check out: Image-text-to-text models take in an image and text prompt and output text. These models are also called vision-language models, or VLMs. The difference from image-to-text models is that these models take an additional text input, not restricting the model to certain use cases like image captioning, and may also be trained to accept a conversation as input. - +> [!TIP] +> For more details about the `image-text-to-text` task, check out its [dedicated page](https://huggingface.co/tasks/image-text-to-text)! You will find examples and related materials. -For more details about the `image-text-to-text` task, check out its [dedicated page](https://huggingface.co/tasks/image-text-to-text)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/image-to-image.md b/docs/inference-providers/tasks/image-to-image.md index 3926142052..a78612bbca 100644 --- a/docs/inference-providers/tasks/image-to-image.md +++ b/docs/inference-providers/tasks/image-to-image.md @@ -21,11 +21,9 @@ Example applications: * Colorizing a black and white image * Increasing the resolution of an image - +> [!TIP] +> For more details about the `image-to-image` task, check out its [dedicated page](https://huggingface.co/tasks/image-to-image)! You will find examples and related materials. -For more details about the `image-to-image` task, check out its [dedicated page](https://huggingface.co/tasks/image-to-image)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/object-detection.md b/docs/inference-providers/tasks/object-detection.md index 3c36c4081b..42c8517bad 100644 --- a/docs/inference-providers/tasks/object-detection.md +++ b/docs/inference-providers/tasks/object-detection.md @@ -16,11 +16,9 @@ For more details, check out: Object Detection models allow users to identify objects of certain defined classes. These models receive an image as input and output the images with bounding boxes and labels on detected objects. - +> [!TIP] +> For more details about the `object-detection` task, check out its [dedicated page](https://huggingface.co/tasks/object-detection)! You will find examples and related materials. -For more details about the `object-detection` task, check out its [dedicated page](https://huggingface.co/tasks/object-detection)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index 2f13300148..7851001241 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -16,11 +16,9 @@ For more details, check out: Question Answering models can retrieve the answer to a question from a given text, which is useful for searching for an answer in a document. - +> [!TIP] +> For more details about the `question-answering` task, check out its [dedicated page](https://huggingface.co/tasks/question-answering)! You will find examples and related materials. -For more details about the `question-answering` task, check out its [dedicated page](https://huggingface.co/tasks/question-answering)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/summarization.md b/docs/inference-providers/tasks/summarization.md index 6d39944062..b1e43a71e3 100644 --- a/docs/inference-providers/tasks/summarization.md +++ b/docs/inference-providers/tasks/summarization.md @@ -16,16 +16,13 @@ For more details, check out: Summarization is the task of producing a shorter version of a document while preserving its important information. Some models can extract text from the original input, while other models can generate entirely new text. - +> [!TIP] +> For more details about the `summarization` task, check out its [dedicated page](https://huggingface.co/tasks/summarization)! You will find examples and related materials. -For more details about the `summarization` task, check out its [dedicated page](https://huggingface.co/tasks/summarization)! You will find examples and related materials. - - ### Recommended models - [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn): A strong summarization model trained on English news articles. Excels at generating factual summaries. -- [Falconsai/medical_summarization](https://huggingface.co/Falconsai/medical_summarization): A summarization model trained on medical articles. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=summarization&sort=trending). diff --git a/docs/inference-providers/tasks/table-question-answering.md b/docs/inference-providers/tasks/table-question-answering.md index 358287c697..42d9d87679 100644 --- a/docs/inference-providers/tasks/table-question-answering.md +++ b/docs/inference-providers/tasks/table-question-answering.md @@ -16,11 +16,9 @@ For more details, check out: Table Question Answering (Table QA) is the answering a question about an information on a given table. - +> [!TIP] +> For more details about the `table-question-answering` task, check out its [dedicated page](https://huggingface.co/tasks/table-question-answering)! You will find examples and related materials. -For more details about the `table-question-answering` task, check out its [dedicated page](https://huggingface.co/tasks/table-question-answering)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md index db519fb91d..f1234fca51 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -16,11 +16,9 @@ For more details, check out: Text Classification is the task of assigning a label or class to a given text. Some use cases are sentiment analysis, natural language inference, and assessing grammatical correctness. - +> [!TIP] +> For more details about the `text-classification` task, check out its [dedicated page](https://huggingface.co/tasks/text-classification)! You will find examples and related materials. -For more details about the `text-classification` task, check out its [dedicated page](https://huggingface.co/tasks/text-classification)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/text-generation.md b/docs/inference-providers/tasks/text-generation.md index 3cf64a02bc..12b47fb921 100644 --- a/docs/inference-providers/tasks/text-generation.md +++ b/docs/inference-providers/tasks/text-generation.md @@ -18,11 +18,9 @@ Generate text based on a prompt. If you are interested in a Chat Completion task, which generates a response based on a list of messages, check out the [`chat-completion`](./chat_completion) task. - +> [!TIP] +> For more details about the `text-generation` task, check out its [dedicated page](https://huggingface.co/tasks/text-generation)! You will find examples and related materials. -For more details about the `text-generation` task, check out its [dedicated page](https://huggingface.co/tasks/text-generation)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/text-to-image.md b/docs/inference-providers/tasks/text-to-image.md index 08eaa0b37d..94b29b35bf 100644 --- a/docs/inference-providers/tasks/text-to-image.md +++ b/docs/inference-providers/tasks/text-to-image.md @@ -16,11 +16,9 @@ For more details, check out: Generate an image based on a given text prompt. - +> [!TIP] +> For more details about the `text-to-image` task, check out its [dedicated page](https://huggingface.co/tasks/text-to-image)! You will find examples and related materials. -For more details about the `text-to-image` task, check out its [dedicated page](https://huggingface.co/tasks/text-to-image)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/text-to-video.md b/docs/inference-providers/tasks/text-to-video.md index 9d8625958e..3a9d7fde6f 100644 --- a/docs/inference-providers/tasks/text-to-video.md +++ b/docs/inference-providers/tasks/text-to-video.md @@ -16,11 +16,9 @@ For more details, check out: Generate an video based on a given text prompt. - +> [!TIP] +> For more details about the `text-to-video` task, check out its [dedicated page](https://huggingface.co/tasks/text-to-video)! You will find examples and related materials. -For more details about the `text-to-video` task, check out its [dedicated page](https://huggingface.co/tasks/text-to-video)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/token-classification.md b/docs/inference-providers/tasks/token-classification.md index 3636602eb9..10070760c4 100644 --- a/docs/inference-providers/tasks/token-classification.md +++ b/docs/inference-providers/tasks/token-classification.md @@ -16,11 +16,9 @@ For more details, check out: Token classification is a task in which a label is assigned to some tokens in a text. Some popular token classification subtasks are Named Entity Recognition (NER) and Part-of-Speech (PoS) tagging. - +> [!TIP] +> For more details about the `token-classification` task, check out its [dedicated page](https://huggingface.co/tasks/token-classification)! You will find examples and related materials. -For more details about the `token-classification` task, check out its [dedicated page](https://huggingface.co/tasks/token-classification)! You will find examples and related materials. - - ### Recommended models diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index 6366a4807d..4464262506 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -16,14 +16,13 @@ For more details, check out: Translation is the task of converting text from one language to another. - +> [!TIP] +> For more details about the `translation` task, check out its [dedicated page](https://huggingface.co/tasks/translation)! You will find examples and related materials. -For more details about the `translation` task, check out its [dedicated page](https://huggingface.co/tasks/translation)! You will find examples and related materials. - - ### Recommended models +- [google-t5/t5-base](https://huggingface.co/google-t5/t5-base): A general-purpose Transformer that can be used to translate from English to German, French, or Romanian. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=translation&sort=trending). diff --git a/docs/inference-providers/tasks/zero-shot-classification.md b/docs/inference-providers/tasks/zero-shot-classification.md index 6a9f4768a6..80874e7ed3 100644 --- a/docs/inference-providers/tasks/zero-shot-classification.md +++ b/docs/inference-providers/tasks/zero-shot-classification.md @@ -16,11 +16,9 @@ For more details, check out: Zero-shot text classification is super useful to try out classification with zero code, you simply pass a sentence/paragraph and the possible labels for that sentence, and you get a result. The model has not been necessarily trained on the labels you provide, but it can still predict the correct label. - +> [!TIP] +> For more details about the `zero-shot-classification` task, check out its [dedicated page](https://huggingface.co/tasks/zero-shot-classification)! You will find examples and related materials. -For more details about the `zero-shot-classification` task, check out its [dedicated page](https://huggingface.co/tasks/zero-shot-classification)! You will find examples and related materials. - - ### Recommended models diff --git a/scripts/inference-providers/scripts/generate.ts b/scripts/inference-providers/scripts/generate.ts index 6a04012b02..46963ec5d8 100644 --- a/scripts/inference-providers/scripts/generate.ts +++ b/scripts/inference-providers/scripts/generate.ts @@ -384,11 +384,9 @@ function processPayloadSchema(schema: any): JsonObject[] { //// Inline templates //// ////////////////////////// -const TIP_LINK_TO_TASK_PAGE_TEMPLATE = Handlebars.compile(` - -For more details about the \`{{task}}\` task, check out its [dedicated page](https://huggingface.co/tasks/{{task}})! You will find examples and related materials. - -`); +const TIP_LINK_TO_TASK_PAGE_TEMPLATE = Handlebars.compile(`> [!TIP] +> For more details about the \`{{task}}\` task, check out its [dedicated page](https://huggingface.co/tasks/{{task}})! You will find examples and related materials. +`); const TIP_LIST_MODELS_LINK_TEMPLATE = Handlebars.compile( `Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag={{task}}&sort=trending).`, diff --git a/scripts/inference-providers/templates/providers/cerebras.handlebars b/scripts/inference-providers/templates/providers/cerebras.handlebars index 76b3569e41..5847d36191 100644 --- a/scripts/inference-providers/templates/providers/cerebras.handlebars +++ b/scripts/inference-providers/templates/providers/cerebras.handlebars @@ -1,10 +1,7 @@ # Cerebras - - -All supported Cerebras models can be found [here](https://huggingface.co/models?inference_provider=cerebras&sort=trending) - - +> [!TIP] +> All supported Cerebras models can be found [here](https://huggingface.co/models?inference_provider=cerebras&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/cohere.handlebars b/scripts/inference-providers/templates/providers/cohere.handlebars index 5d22bc2c15..2a64093100 100644 --- a/scripts/inference-providers/templates/providers/cohere.handlebars +++ b/scripts/inference-providers/templates/providers/cohere.handlebars @@ -1,10 +1,7 @@ # Cohere - - -All supported Cohere models can be found [here](https://huggingface.co/models?inference_provider=cohere&sort=trending) - - +> [!TIP] +> All supported Cohere models can be found [here](https://huggingface.co/models?inference_provider=cohere&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/fal-ai.handlebars b/scripts/inference-providers/templates/providers/fal-ai.handlebars index 9a4ac0fc07..32a17a3d93 100644 --- a/scripts/inference-providers/templates/providers/fal-ai.handlebars +++ b/scripts/inference-providers/templates/providers/fal-ai.handlebars @@ -1,10 +1,7 @@ # Fal - - -All supported Fal models can be found [here](https://huggingface.co/models?inference_provider=fal-ai&sort=trending) - - +> [!TIP] +> All supported Fal models can be found [here](https://huggingface.co/models?inference_provider=fal-ai&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/featherless-ai.handlebars b/scripts/inference-providers/templates/providers/featherless-ai.handlebars index 48d4086aaa..24ea2b0565 100644 --- a/scripts/inference-providers/templates/providers/featherless-ai.handlebars +++ b/scripts/inference-providers/templates/providers/featherless-ai.handlebars @@ -1,10 +1,7 @@ # Featherless AI - - -All supported Featherless AI models can be found [here](https://huggingface.co/models?inference_provider=featherless-ai&sort=trending) - - +> [!TIP] +> All supported Featherless AI models can be found [here](https://huggingface.co/models?inference_provider=featherless-ai&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/fireworks-ai.handlebars b/scripts/inference-providers/templates/providers/fireworks-ai.handlebars index ad343dbec6..8b59ca57fd 100644 --- a/scripts/inference-providers/templates/providers/fireworks-ai.handlebars +++ b/scripts/inference-providers/templates/providers/fireworks-ai.handlebars @@ -1,10 +1,7 @@ # Fireworks AI - - -All supported Fireworks AI models can be found [here](https://huggingface.co/models?inference_provider=fireworks-ai&sort=trending) - - +> [!TIP] +> All supported Fireworks AI models can be found [here](https://huggingface.co/models?inference_provider=fireworks-ai&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/groq.handlebars b/scripts/inference-providers/templates/providers/groq.handlebars index d2494feb3f..58d355895f 100644 --- a/scripts/inference-providers/templates/providers/groq.handlebars +++ b/scripts/inference-providers/templates/providers/groq.handlebars @@ -1,10 +1,7 @@ # Groq - - -All supported Groq models can be found [here](https://huggingface.co/models?inference_provider=groq&sort=trending) - - +> [!TIP] +> All supported Groq models can be found [here](https://huggingface.co/models?inference_provider=groq&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/hf-inference.handlebars b/scripts/inference-providers/templates/providers/hf-inference.handlebars index cd63f1423d..604d080e13 100644 --- a/scripts/inference-providers/templates/providers/hf-inference.handlebars +++ b/scripts/inference-providers/templates/providers/hf-inference.handlebars @@ -1,10 +1,7 @@ # HF Inference - - -All supported HF Inference models can be found [here](https://huggingface.co/models?inference_provider=hf-inference&sort=trending) - - +> [!TIP] +> All supported HF Inference models can be found [here](https://huggingface.co/models?inference_provider=hf-inference&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/hyperbolic.handlebars b/scripts/inference-providers/templates/providers/hyperbolic.handlebars index 42a522d57d..65dbc68c0a 100644 --- a/scripts/inference-providers/templates/providers/hyperbolic.handlebars +++ b/scripts/inference-providers/templates/providers/hyperbolic.handlebars @@ -1,10 +1,7 @@ # Hyperbolic: The On-Demand AI Cloud - - -All supported Hyperbolic models can be found [here](https://huggingface.co/models?inference_provider=hyperbolic&sort=trending) - - +> [!TIP] +> All supported Hyperbolic models can be found [here](https://huggingface.co/models?inference_provider=hyperbolic&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/nebius.handlebars b/scripts/inference-providers/templates/providers/nebius.handlebars index 18bd63e921..8efd3524d9 100644 --- a/scripts/inference-providers/templates/providers/nebius.handlebars +++ b/scripts/inference-providers/templates/providers/nebius.handlebars @@ -1,10 +1,7 @@ # Nebius - - -All supported Nebius models can be found [here](https://huggingface.co/models?inference_provider=nebius&sort=trending) - - +> [!TIP] +> All supported Nebius models can be found [here](https://huggingface.co/models?inference_provider=nebius&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/novita.handlebars b/scripts/inference-providers/templates/providers/novita.handlebars index 12458b0481..118b44a98a 100644 --- a/scripts/inference-providers/templates/providers/novita.handlebars +++ b/scripts/inference-providers/templates/providers/novita.handlebars @@ -1,10 +1,7 @@ # Novita - - -All supported Novita models can be found [here](https://huggingface.co/models?inference_provider=novita&sort=trending) - - +> [!TIP] +> All supported Novita models can be found [here](https://huggingface.co/models?inference_provider=novita&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/nscale.handlebars b/scripts/inference-providers/templates/providers/nscale.handlebars index 3276f68098..751a184a40 100644 --- a/scripts/inference-providers/templates/providers/nscale.handlebars +++ b/scripts/inference-providers/templates/providers/nscale.handlebars @@ -1,10 +1,7 @@ # Nscale - - -All supported Nscale models can be found [here](https://huggingface.co/models?inference_provider=nscale&sort=trending) - - +> [!TIP] +> All supported Nscale models can be found [here](https://huggingface.co/models?inference_provider=nscale&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/publicai.handlebars b/scripts/inference-providers/templates/providers/publicai.handlebars index be4a687fff..b97dbbb4ee 100644 --- a/scripts/inference-providers/templates/providers/publicai.handlebars +++ b/scripts/inference-providers/templates/providers/publicai.handlebars @@ -1,10 +1,7 @@ # PublicAI - - -All models supported by the PublicAI Inference Utility can be found [here](https://huggingface.co/models?inference_provider=publicai&sort=trending) - - +> [!TIP] +> All models supported by the PublicAI Inference Utility can be found [here](https://huggingface.co/models?inference_provider=publicai&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/replicate.handlebars b/scripts/inference-providers/templates/providers/replicate.handlebars index 8e9ce34217..073a2b7239 100644 --- a/scripts/inference-providers/templates/providers/replicate.handlebars +++ b/scripts/inference-providers/templates/providers/replicate.handlebars @@ -1,10 +1,7 @@ # Replicate - - -All supported Replicate models can be found [here](https://huggingface.co/models?inference_provider=replicate&sort=trending) - - +> [!TIP] +> All supported Replicate models can be found [here](https://huggingface.co/models?inference_provider=replicate&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/sambanova.handlebars b/scripts/inference-providers/templates/providers/sambanova.handlebars index b9578352f8..733e557319 100644 --- a/scripts/inference-providers/templates/providers/sambanova.handlebars +++ b/scripts/inference-providers/templates/providers/sambanova.handlebars @@ -1,10 +1,7 @@ # SambaNova - - -All supported SambaNova models can be found [here](https://huggingface.co/models?inference_provider=sambanova&sort=trending) - - +> [!TIP] +> All supported SambaNova models can be found [here](https://huggingface.co/models?inference_provider=sambanova&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/scaleway.handlebars b/scripts/inference-providers/templates/providers/scaleway.handlebars index ca6198f5a2..fd2630e01d 100644 --- a/scripts/inference-providers/templates/providers/scaleway.handlebars +++ b/scripts/inference-providers/templates/providers/scaleway.handlebars @@ -1,10 +1,7 @@ # Scaleway - - -All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending) - - +> [!TIP] +> All supported Scaleway models can be found [here](https://huggingface.co/models?inference_provider=scaleway&sort=trending) {{{logoSection}}} diff --git a/scripts/inference-providers/templates/providers/together.handlebars b/scripts/inference-providers/templates/providers/together.handlebars index add7b1fffa..61de6ec211 100644 --- a/scripts/inference-providers/templates/providers/together.handlebars +++ b/scripts/inference-providers/templates/providers/together.handlebars @@ -1,10 +1,7 @@ # Together - - -All supported Together models can be found [here](https://huggingface.co/models?inference_provider=together&sort=trending) - - +> [!TIP] +> All supported Together models can be found [here](https://huggingface.co/models?inference_provider=together&sort=trending) {{{logoSection}}}