From 33a2888e999a8814a0a602d44fc97f4e116fb6cf Mon Sep 17 00:00:00 2001 From: Wauplin <11801849+Wauplin@users.noreply.github.com> Date: Mon, 28 Apr 2025 03:24:31 +0000 Subject: [PATCH 1/6] Update Inference Providers documentation (automated) --- .../providers/hf-inference.md | 36 +++++++++++++++++-- .../tasks/chat-completion.md | 1 - docs/inference-providers/tasks/fill-mask.md | 5 ++- .../tasks/image-segmentation.md | 5 ++- .../tasks/question-answering.md | 2 +- .../tasks/text-classification.md | 3 +- .../tasks/text-generation.md | 1 - .../tasks/text-to-image.md | 1 + .../tasks/token-classification.md | 6 +++- docs/inference-providers/tasks/translation.md | 2 +- scripts/inference-providers/package.json | 4 +-- scripts/inference-providers/pnpm-lock.yaml | 22 ++++++------ 12 files changed, 64 insertions(+), 24 deletions(-) diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index 3587aa1cb..fc719e4c5 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -79,6 +79,16 @@ Find out more about Feature Extraction [here](../tasks/feature_extraction). /> +### Fill Mask + +Find out more about Fill Mask [here](../tasks/fill_mask). + + + + ### Image Classification Find out more about Image Classification [here](../tasks/image_classification). @@ -89,6 +99,16 @@ Find out more about Image Classification [here](../tasks/image_classification). /> +### Image Segmentation + +Find out more about Image Segmentation [here](../tasks/image_segmentation). + + + + ### Object Detection Find out more about Object Detection [here](../tasks/object_detection). @@ -105,7 +125,7 @@ Find out more about Question Answering [here](../tasks/question_answering). @@ -125,7 +145,7 @@ Find out more about Text Classification [here](../tasks/text_classification). @@ -149,13 +169,23 @@ Find out more about Text To Image [here](../tasks/text_to_image). /> +### Token Classification + +Find out more about Token Classification [here](../tasks/token_classification). + + + + ### Translation Find out more about Translation [here](../tasks/translation). diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md index 1138ebec9..b8eb02904 100644 --- a/docs/inference-providers/tasks/chat-completion.md +++ b/docs/inference-providers/tasks/chat-completion.md @@ -22,7 +22,6 @@ This is a subtask of [`text-generation`](https://huggingface.co/docs/inference-p #### Conversational Large Language Models (LLMs) - [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it): A text-generation model trained to follow instructions. -- [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B): Smaller variant of one of the most powerful models. - [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct): Very powerful text generation model trained to follow instructions. - [microsoft/phi-4](https://huggingface.co/microsoft/phi-4): Powerful text generation model by Microsoft. - [Qwen/Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct): Text generation model used to write code. diff --git a/docs/inference-providers/tasks/fill-mask.md b/docs/inference-providers/tasks/fill-mask.md index 6b14e7f91..35fae479f 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -30,7 +30,10 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md index f71ab3e55..35f13221e 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -30,7 +30,10 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index d21cdbccd..e2900f446 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -32,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md index 8848e919a..9e47aa979 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -24,6 +24,7 @@ For more details about the `text-classification` task, check out its [dedicated ### Recommended models +- [papluca/xlm-roberta-base-language-detection](https://huggingface.co/papluca/xlm-roberta-base-language-detection): A model that can classify languages. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-classification&sort=trending). @@ -32,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-generation.md b/docs/inference-providers/tasks/text-generation.md index a09065657..da5df1e0f 100644 --- a/docs/inference-providers/tasks/text-generation.md +++ b/docs/inference-providers/tasks/text-generation.md @@ -27,7 +27,6 @@ For more details about the `text-generation` task, check out its [dedicated page ### Recommended models - [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it): A text-generation model trained to follow instructions. -- [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B): Smaller variant of one of the most powerful models. - [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct): Very powerful text generation model trained to follow instructions. - [microsoft/phi-4](https://huggingface.co/microsoft/phi-4): Powerful text generation model by Microsoft. - [Qwen/Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct): Text generation model used to write code. diff --git a/docs/inference-providers/tasks/text-to-image.md b/docs/inference-providers/tasks/text-to-image.md index 094e6730e..f00698262 100644 --- a/docs/inference-providers/tasks/text-to-image.md +++ b/docs/inference-providers/tasks/text-to-image.md @@ -25,6 +25,7 @@ For more details about the `text-to-image` task, check out its [dedicated page]( ### Recommended models - [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev): One of the most powerful image generation models that can generate realistic outputs. +- [latent-consistency/lcm-lora-sdxl](https://huggingface.co/latent-consistency/lcm-lora-sdxl): A powerful yet fast image generation model. - [Kwai-Kolors/Kolors](https://huggingface.co/Kwai-Kolors/Kolors): Text-to-image model for photorealistic generation. - [stabilityai/stable-diffusion-3-medium-diffusers](https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers): A powerful text-to-image model. diff --git a/docs/inference-providers/tasks/token-classification.md b/docs/inference-providers/tasks/token-classification.md index 868b30064..9b84dadd6 100644 --- a/docs/inference-providers/tasks/token-classification.md +++ b/docs/inference-providers/tasks/token-classification.md @@ -24,13 +24,17 @@ For more details about the `token-classification` task, check out its [dedicated ### Recommended models +- [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER): A robust performance model to identify people, locations, organizations and names of miscellaneous entities. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=token-classification&sort=trending). ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index 80168d754..b5d292d5e 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -32,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/scripts/inference-providers/package.json b/scripts/inference-providers/package.json index cd6570bbe..3964f8ef5 100644 --- a/scripts/inference-providers/package.json +++ b/scripts/inference-providers/package.json @@ -14,8 +14,8 @@ "author": "", "license": "ISC", "dependencies": { - "@huggingface/inference": "^3.8.1", - "@huggingface/tasks": "^0.18.9", + "@huggingface/inference": "^3.9.2", + "@huggingface/tasks": "^0.18.11", "@types/node": "^22.5.0", "handlebars": "^4.7.8", "node": "^20.17.0", diff --git a/scripts/inference-providers/pnpm-lock.yaml b/scripts/inference-providers/pnpm-lock.yaml index b7b0ef52a..5d8a921cf 100644 --- a/scripts/inference-providers/pnpm-lock.yaml +++ b/scripts/inference-providers/pnpm-lock.yaml @@ -9,11 +9,11 @@ importers: .: dependencies: '@huggingface/inference': - specifier: ^3.8.1 - version: 3.8.1 + specifier: ^3.9.2 + version: 3.9.2 '@huggingface/tasks': - specifier: ^0.18.9 - version: 0.18.9 + specifier: ^0.18.11 + version: 0.18.11 '@types/node': specifier: ^22.5.0 version: 22.5.0 @@ -189,16 +189,16 @@ packages: cpu: [x64] os: [win32] - '@huggingface/inference@3.8.1': - resolution: {integrity: sha512-Kq+EvWAAWOa0oWrVrHZZzRmiqw0edr6UUCM6+ZvvHUDbcokc33aUqr8djsUSf6iNDnpBobdswYAJ+hwGo//i3A==} + '@huggingface/inference@3.9.2': + resolution: {integrity: sha512-7EpMgaELUJArqhFpinkyikO1iXza4lEBYcUF8HMDVabwI2QxCXmxb6coCgYmerHEfRRxsvqogwNrdxiUfcSvDg==} engines: {node: '>=18'} '@huggingface/jinja@0.3.4': resolution: {integrity: sha512-kFFQWJiWwvxezKQnvH1X7GjsECcMljFx+UZK9hx6P26aVHwwidJVTB0ptLfRVZQvVkOGHoMmTGvo4nT0X9hHOA==} engines: {node: '>=18'} - '@huggingface/tasks@0.18.9': - resolution: {integrity: sha512-uZLor0wEkqeNcqJOjQNd6mk3UOct2Cs8jpqRfGQhdz9C6ohP50PppIwvt33naGKHPLkzlKloWY2nML0comaDaQ==} + '@huggingface/tasks@0.18.11': + resolution: {integrity: sha512-KSGMkOi86Ap2xTWGxwnSj8cE+glYhhwyHMdGDJn4dsOz1LzWq8kQF0epeZRkjBgwdTSBFpCk3+3FGdi6tXch7A==} '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} @@ -415,14 +415,14 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@huggingface/inference@3.8.1': + '@huggingface/inference@3.9.2': dependencies: '@huggingface/jinja': 0.3.4 - '@huggingface/tasks': 0.18.9 + '@huggingface/tasks': 0.18.11 '@huggingface/jinja@0.3.4': {} - '@huggingface/tasks@0.18.9': {} + '@huggingface/tasks@0.18.11': {} '@jridgewell/resolve-uri@3.1.2': {} From be710f556f124a4a8c59bea87ef2edeb0b17f5b7 Mon Sep 17 00:00:00 2001 From: Wauplin <11801849+Wauplin@users.noreply.github.com> Date: Tue, 29 Apr 2025 03:22:36 +0000 Subject: [PATCH 2/6] Update Inference Providers documentation (automated) --- .../providers/hf-inference.md | 42 +++++++------------ .../providers/sambanova.md | 10 ----- .../tasks/automatic-speech-recognition.md | 2 +- .../tasks/chat-completion.md | 1 - .../tasks/feature-extraction.md | 2 +- docs/inference-providers/tasks/fill-mask.md | 5 ++- .../tasks/image-classification.md | 3 +- .../tasks/image-segmentation.md | 5 ++- .../tasks/object-detection.md | 6 +-- .../tasks/question-answering.md | 5 +-- .../tasks/summarization.md | 3 +- .../tasks/text-classification.md | 4 +- .../tasks/text-generation.md | 1 - .../tasks/text-to-image.md | 1 + docs/inference-providers/tasks/translation.md | 3 +- .../tasks/zero-shot-classification.md | 6 +-- scripts/inference-providers/package.json | 4 +- scripts/inference-providers/pnpm-lock.yaml | 22 +++++----- 18 files changed, 51 insertions(+), 74 deletions(-) diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index 3587aa1cb..0d4303332 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -75,37 +75,37 @@ Find out more about Feature Extraction [here](../tasks/feature_extraction). -### Image Classification +### Fill Mask -Find out more about Image Classification [here](../tasks/image_classification). +Find out more about Fill Mask [here](../tasks/fill_mask). -### Object Detection +### Image Classification -Find out more about Object Detection [here](../tasks/object_detection). +Find out more about Image Classification [here](../tasks/image_classification). -### Question Answering +### Image Segmentation -Find out more about Question Answering [here](../tasks/question_answering). +Find out more about Image Segmentation [here](../tasks/image_segmentation). @@ -115,7 +115,7 @@ Find out more about Summarization [here](../tasks/summarization). @@ -125,7 +125,7 @@ Find out more about Text Classification [here](../tasks/text_classification). @@ -155,16 +155,6 @@ Find out more about Translation [here](../tasks/translation). - - -### Zero Shot Classification - -Find out more about Zero Shot Classification [here](../tasks/zero_shot_classification). - - diff --git a/docs/inference-providers/providers/sambanova.md b/docs/inference-providers/providers/sambanova.md index 8d319d5e2..53eb87486 100644 --- a/docs/inference-providers/providers/sambanova.md +++ b/docs/inference-providers/providers/sambanova.md @@ -39,16 +39,6 @@ Customers are turning to SambaNova to quickly deploy state-of-the-art AI and dee ## Supported tasks -### Automatic Speech Recognition - -Find out more about Automatic Speech Recognition [here](../tasks/automatic_speech_recognition). - - - - ### Chat Completion (LLM) Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/tasks/automatic-speech-recognition.md b/docs/inference-providers/tasks/automatic-speech-recognition.md index e939c8eca..6de05b874 100644 --- a/docs/inference-providers/tasks/automatic-speech-recognition.md +++ b/docs/inference-providers/tasks/automatic-speech-recognition.md @@ -38,7 +38,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md index 1138ebec9..b8eb02904 100644 --- a/docs/inference-providers/tasks/chat-completion.md +++ b/docs/inference-providers/tasks/chat-completion.md @@ -22,7 +22,6 @@ This is a subtask of [`text-generation`](https://huggingface.co/docs/inference-p #### Conversational Large Language Models (LLMs) - [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it): A text-generation model trained to follow instructions. -- [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B): Smaller variant of one of the most powerful models. - [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct): Very powerful text generation model trained to follow instructions. - [microsoft/phi-4](https://huggingface.co/microsoft/phi-4): Powerful text generation model by Microsoft. - [Qwen/Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct): Text generation model used to write code. diff --git a/docs/inference-providers/tasks/feature-extraction.md b/docs/inference-providers/tasks/feature-extraction.md index 4300989f8..5f40fc3b6 100644 --- a/docs/inference-providers/tasks/feature-extraction.md +++ b/docs/inference-providers/tasks/feature-extraction.md @@ -37,7 +37,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 6b14e7f91..33344e16b 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -30,7 +30,10 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index e7115ff26..09f806cdc 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -24,6 +24,7 @@ For more details about the `image-classification` task, check out its [dedicated ### Recommended models +- [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224): A strong image classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-classification&sort=trending). @@ -32,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md index f71ab3e55..35f13221e 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -30,7 +30,10 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/object-detection.md b/docs/inference-providers/tasks/object-detection.md index 3c36c4081..8f8ef53b9 100644 --- a/docs/inference-providers/tasks/object-detection.md +++ b/docs/inference-providers/tasks/object-detection.md @@ -24,17 +24,13 @@ For more details about the `object-detection` task, check out its [dedicated pag ### Recommended models -- [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50): Solid object detection model pre-trained on the COCO 2017 dataset. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=object-detection&sort=trending). ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index d21cdbccd..9ee508f45 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/summarization.md b/docs/inference-providers/tasks/summarization.md index 6e0ff5ead..8faeb2ed7 100644 --- a/docs/inference-providers/tasks/summarization.md +++ b/docs/inference-providers/tasks/summarization.md @@ -24,7 +24,6 @@ For more details about the `summarization` task, check out its [dedicated page]( ### 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. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=summarization&sort=trending). @@ -33,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md index 8848e919a..48934e758 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -24,6 +24,8 @@ For more details about the `text-classification` task, check out its [dedicated ### Recommended models +- [distilbert/distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english): A robust model trained for sentiment analysis. +- [ProsusAI/finbert](https://huggingface.co/ProsusAI/finbert): A sentiment analysis model specialized in financial sentiment. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-classification&sort=trending). @@ -32,7 +34,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-generation.md b/docs/inference-providers/tasks/text-generation.md index a09065657..da5df1e0f 100644 --- a/docs/inference-providers/tasks/text-generation.md +++ b/docs/inference-providers/tasks/text-generation.md @@ -27,7 +27,6 @@ For more details about the `text-generation` task, check out its [dedicated page ### Recommended models - [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it): A text-generation model trained to follow instructions. -- [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B): Smaller variant of one of the most powerful models. - [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct): Very powerful text generation model trained to follow instructions. - [microsoft/phi-4](https://huggingface.co/microsoft/phi-4): Powerful text generation model by Microsoft. - [Qwen/Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct): Text generation model used to write code. diff --git a/docs/inference-providers/tasks/text-to-image.md b/docs/inference-providers/tasks/text-to-image.md index 094e6730e..f00698262 100644 --- a/docs/inference-providers/tasks/text-to-image.md +++ b/docs/inference-providers/tasks/text-to-image.md @@ -25,6 +25,7 @@ For more details about the `text-to-image` task, check out its [dedicated page]( ### Recommended models - [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev): One of the most powerful image generation models that can generate realistic outputs. +- [latent-consistency/lcm-lora-sdxl](https://huggingface.co/latent-consistency/lcm-lora-sdxl): A powerful yet fast image generation model. - [Kwai-Kolors/Kolors](https://huggingface.co/Kwai-Kolors/Kolors): Text-to-image model for photorealistic generation. - [stabilityai/stable-diffusion-3-medium-diffusers](https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers): A powerful text-to-image model. diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index 80168d754..86a7ac19e 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -24,6 +24,7 @@ For more details about the `translation` task, check out its [dedicated page](ht ### 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). @@ -32,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/zero-shot-classification.md b/docs/inference-providers/tasks/zero-shot-classification.md index 1c57edfb9..55d2442c8 100644 --- a/docs/inference-providers/tasks/zero-shot-classification.md +++ b/docs/inference-providers/tasks/zero-shot-classification.md @@ -24,17 +24,13 @@ For more details about the `zero-shot-classification` task, check out its [dedic ### Recommended models -- [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli): Powerful zero-shot text classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=zero-shot-classification&sort=trending). ### Using the API - +No snippet available for this task. diff --git a/scripts/inference-providers/package.json b/scripts/inference-providers/package.json index cd6570bbe..3964f8ef5 100644 --- a/scripts/inference-providers/package.json +++ b/scripts/inference-providers/package.json @@ -14,8 +14,8 @@ "author": "", "license": "ISC", "dependencies": { - "@huggingface/inference": "^3.8.1", - "@huggingface/tasks": "^0.18.9", + "@huggingface/inference": "^3.9.2", + "@huggingface/tasks": "^0.18.11", "@types/node": "^22.5.0", "handlebars": "^4.7.8", "node": "^20.17.0", diff --git a/scripts/inference-providers/pnpm-lock.yaml b/scripts/inference-providers/pnpm-lock.yaml index b7b0ef52a..5d8a921cf 100644 --- a/scripts/inference-providers/pnpm-lock.yaml +++ b/scripts/inference-providers/pnpm-lock.yaml @@ -9,11 +9,11 @@ importers: .: dependencies: '@huggingface/inference': - specifier: ^3.8.1 - version: 3.8.1 + specifier: ^3.9.2 + version: 3.9.2 '@huggingface/tasks': - specifier: ^0.18.9 - version: 0.18.9 + specifier: ^0.18.11 + version: 0.18.11 '@types/node': specifier: ^22.5.0 version: 22.5.0 @@ -189,16 +189,16 @@ packages: cpu: [x64] os: [win32] - '@huggingface/inference@3.8.1': - resolution: {integrity: sha512-Kq+EvWAAWOa0oWrVrHZZzRmiqw0edr6UUCM6+ZvvHUDbcokc33aUqr8djsUSf6iNDnpBobdswYAJ+hwGo//i3A==} + '@huggingface/inference@3.9.2': + resolution: {integrity: sha512-7EpMgaELUJArqhFpinkyikO1iXza4lEBYcUF8HMDVabwI2QxCXmxb6coCgYmerHEfRRxsvqogwNrdxiUfcSvDg==} engines: {node: '>=18'} '@huggingface/jinja@0.3.4': resolution: {integrity: sha512-kFFQWJiWwvxezKQnvH1X7GjsECcMljFx+UZK9hx6P26aVHwwidJVTB0ptLfRVZQvVkOGHoMmTGvo4nT0X9hHOA==} engines: {node: '>=18'} - '@huggingface/tasks@0.18.9': - resolution: {integrity: sha512-uZLor0wEkqeNcqJOjQNd6mk3UOct2Cs8jpqRfGQhdz9C6ohP50PppIwvt33naGKHPLkzlKloWY2nML0comaDaQ==} + '@huggingface/tasks@0.18.11': + resolution: {integrity: sha512-KSGMkOi86Ap2xTWGxwnSj8cE+glYhhwyHMdGDJn4dsOz1LzWq8kQF0epeZRkjBgwdTSBFpCk3+3FGdi6tXch7A==} '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} @@ -415,14 +415,14 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@huggingface/inference@3.8.1': + '@huggingface/inference@3.9.2': dependencies: '@huggingface/jinja': 0.3.4 - '@huggingface/tasks': 0.18.9 + '@huggingface/tasks': 0.18.11 '@huggingface/jinja@0.3.4': {} - '@huggingface/tasks@0.18.9': {} + '@huggingface/tasks@0.18.11': {} '@jridgewell/resolve-uri@3.1.2': {} From 59915754a56edc2f45daa1563c9267c55a1f3763 Mon Sep 17 00:00:00 2001 From: Celina Hanouti Date: Tue, 29 Apr 2025 09:33:51 +0200 Subject: [PATCH 3/6] regenerate --- .../providers/hf-inference.md | 52 +++---------------- .../providers/sambanova.md | 10 ---- .../tasks/automatic-speech-recognition.md | 2 +- .../tasks/feature-extraction.md | 2 +- docs/inference-providers/tasks/fill-mask.md | 2 +- .../tasks/image-classification.md | 3 +- .../tasks/object-detection.md | 6 +-- .../tasks/question-answering.md | 5 +- .../tasks/summarization.md | 3 +- .../tasks/text-classification.md | 6 ++- .../tasks/token-classification.md | 6 +-- docs/inference-providers/tasks/translation.md | 3 +- .../tasks/zero-shot-classification.md | 6 +-- 13 files changed, 22 insertions(+), 84 deletions(-) diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index fc719e4c5..0d4303332 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -75,7 +75,7 @@ Find out more about Feature Extraction [here](../tasks/feature_extraction). @@ -85,7 +85,7 @@ Find out more about Fill Mask [here](../tasks/fill_mask). @@ -95,7 +95,7 @@ Find out more about Image Classification [here](../tasks/image_classification). @@ -109,33 +109,13 @@ Find out more about Image Segmentation [here](../tasks/image_segmentation). /> -### Object Detection - -Find out more about Object Detection [here](../tasks/object_detection). - - - - -### Question Answering - -Find out more about Question Answering [here](../tasks/question_answering). - - - - ### Summarization Find out more about Summarization [here](../tasks/summarization). @@ -145,7 +125,7 @@ Find out more about Text Classification [here](../tasks/text_classification). @@ -169,32 +149,12 @@ Find out more about Text To Image [here](../tasks/text_to_image). /> -### Token Classification - -Find out more about Token Classification [here](../tasks/token_classification). - - - - ### Translation Find out more about Translation [here](../tasks/translation). - - -### Zero Shot Classification - -Find out more about Zero Shot Classification [here](../tasks/zero_shot_classification). - - diff --git a/docs/inference-providers/providers/sambanova.md b/docs/inference-providers/providers/sambanova.md index 8d319d5e2..53eb87486 100644 --- a/docs/inference-providers/providers/sambanova.md +++ b/docs/inference-providers/providers/sambanova.md @@ -39,16 +39,6 @@ Customers are turning to SambaNova to quickly deploy state-of-the-art AI and dee ## Supported tasks -### Automatic Speech Recognition - -Find out more about Automatic Speech Recognition [here](../tasks/automatic_speech_recognition). - - - - ### Chat Completion (LLM) Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/tasks/automatic-speech-recognition.md b/docs/inference-providers/tasks/automatic-speech-recognition.md index e939c8eca..6de05b874 100644 --- a/docs/inference-providers/tasks/automatic-speech-recognition.md +++ b/docs/inference-providers/tasks/automatic-speech-recognition.md @@ -38,7 +38,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/feature-extraction.md b/docs/inference-providers/tasks/feature-extraction.md index 4300989f8..5f40fc3b6 100644 --- a/docs/inference-providers/tasks/feature-extraction.md +++ b/docs/inference-providers/tasks/feature-extraction.md @@ -37,7 +37,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 35fae479f..33344e16b 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -32,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index e7115ff26..09f806cdc 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -24,6 +24,7 @@ For more details about the `image-classification` task, check out its [dedicated ### Recommended models +- [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224): A strong image classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-classification&sort=trending). @@ -32,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/object-detection.md b/docs/inference-providers/tasks/object-detection.md index 3c36c4081..8f8ef53b9 100644 --- a/docs/inference-providers/tasks/object-detection.md +++ b/docs/inference-providers/tasks/object-detection.md @@ -24,17 +24,13 @@ For more details about the `object-detection` task, check out its [dedicated pag ### Recommended models -- [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50): Solid object detection model pre-trained on the COCO 2017 dataset. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=object-detection&sort=trending). ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index e2900f446..9ee508f45 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/summarization.md b/docs/inference-providers/tasks/summarization.md index 6e0ff5ead..8faeb2ed7 100644 --- a/docs/inference-providers/tasks/summarization.md +++ b/docs/inference-providers/tasks/summarization.md @@ -24,7 +24,6 @@ For more details about the `summarization` task, check out its [dedicated page]( ### 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. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=summarization&sort=trending). @@ -33,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md index 9e47aa979..501536ea1 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -24,7 +24,9 @@ For more details about the `text-classification` task, check out its [dedicated ### Recommended models -- [papluca/xlm-roberta-base-language-detection](https://huggingface.co/papluca/xlm-roberta-base-language-detection): A model that can classify languages. +- [distilbert/distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english): A robust model trained for sentiment analysis. +- [ProsusAI/finbert](https://huggingface.co/ProsusAI/finbert): A sentiment analysis model specialized in financial sentiment. +- [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest): A sentiment analysis model specialized in analyzing tweets. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-classification&sort=trending). @@ -33,7 +35,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/token-classification.md b/docs/inference-providers/tasks/token-classification.md index 9b84dadd6..868b30064 100644 --- a/docs/inference-providers/tasks/token-classification.md +++ b/docs/inference-providers/tasks/token-classification.md @@ -24,17 +24,13 @@ For more details about the `token-classification` task, check out its [dedicated ### Recommended models -- [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER): A robust performance model to identify people, locations, organizations and names of miscellaneous entities. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=token-classification&sort=trending). ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index b5d292d5e..86a7ac19e 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -24,6 +24,7 @@ For more details about the `translation` task, check out its [dedicated page](ht ### 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). @@ -32,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/zero-shot-classification.md b/docs/inference-providers/tasks/zero-shot-classification.md index 1c57edfb9..55d2442c8 100644 --- a/docs/inference-providers/tasks/zero-shot-classification.md +++ b/docs/inference-providers/tasks/zero-shot-classification.md @@ -24,17 +24,13 @@ For more details about the `zero-shot-classification` task, check out its [dedic ### Recommended models -- [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli): Powerful zero-shot text classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=zero-shot-classification&sort=trending). ### Using the API - +No snippet available for this task. From e100967ad7b22daea55e3102a41dc4cf5a01946e Mon Sep 17 00:00:00 2001 From: Wauplin <11801849+Wauplin@users.noreply.github.com> Date: Mon, 5 May 2025 03:25:48 +0000 Subject: [PATCH 4/6] Update Inference Providers documentation (automated) --- .../providers/fireworks-ai.md | 2 +- .../providers/hf-inference.md | 40 ------------------- docs/inference-providers/providers/novita.md | 2 +- .../providers/replicate.md | 10 +++++ .../tasks/chat-completion.md | 2 +- docs/inference-providers/tasks/fill-mask.md | 5 +-- .../tasks/image-classification.md | 6 +-- .../tasks/image-segmentation.md | 5 +-- .../tasks/image-to-image.md | 5 ++- .../tasks/text-classification.md | 1 - docs/inference-providers/tasks/translation.md | 6 +-- scripts/inference-providers/package.json | 2 +- scripts/inference-providers/pnpm-lock.yaml | 18 ++++----- 13 files changed, 31 insertions(+), 73 deletions(-) diff --git a/docs/inference-providers/providers/fireworks-ai.md b/docs/inference-providers/providers/fireworks-ai.md index 1d4ff4ca6..ccc7396f3 100644 --- a/docs/inference-providers/providers/fireworks-ai.md +++ b/docs/inference-providers/providers/fireworks-ai.md @@ -43,7 +43,7 @@ Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index d151b823f..35732d5f3 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -79,36 +79,6 @@ Find out more about Feature Extraction [here](../tasks/feature_extraction). /> -### Fill Mask - -Find out more about Fill Mask [here](../tasks/fill_mask). - - - - -### Image Classification - -Find out more about Image Classification [here](../tasks/image_classification). - - - - -### Image Segmentation - -Find out more about Image Segmentation [here](../tasks/image_segmentation). - - - - ### Text Classification Find out more about Text Classification [here](../tasks/text_classification). @@ -138,13 +108,3 @@ Find out more about Text To Image [here](../tasks/text_to_image). providersMapping={ {"hf-inference":{"modelId":"black-forest-labs/FLUX.1-dev","providerModelId":"black-forest-labs/FLUX.1-dev"} } } /> - -### Translation - -Find out more about Translation [here](../tasks/translation). - - - diff --git a/docs/inference-providers/providers/novita.md b/docs/inference-providers/providers/novita.md index cc62d789f..d8fee8703 100644 --- a/docs/inference-providers/providers/novita.md +++ b/docs/inference-providers/providers/novita.md @@ -46,7 +46,7 @@ Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/providers/replicate.md b/docs/inference-providers/providers/replicate.md index 657cee3f5..7cbee37ed 100644 --- a/docs/inference-providers/providers/replicate.md +++ b/docs/inference-providers/providers/replicate.md @@ -38,6 +38,16 @@ Replicate is building tools so all software engineers can use AI as if it were n ## Supported tasks +### Image To Image + +Find out more about Image To Image [here](../tasks/image_to_image). + + + + ### Text To Image Find out more about Text To Image [here](../tasks/text_to_image). diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md index 64674d80a..72bf1e195 100644 --- a/docs/inference-providers/tasks/chat-completion.md +++ b/docs/inference-providers/tasks/chat-completion.md @@ -59,7 +59,7 @@ The API supports: diff --git a/docs/inference-providers/tasks/fill-mask.md b/docs/inference-providers/tasks/fill-mask.md index 33344e16b..6b14e7f91 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index 09f806cdc..56bcf627e 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -24,17 +24,13 @@ For more details about the `image-classification` task, check out its [dedicated ### Recommended models -- [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224): A strong image classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-classification&sort=trending). ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md index 35f13221e..f71ab3e55 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +No snippet available for this task. diff --git a/docs/inference-providers/tasks/image-to-image.md b/docs/inference-providers/tasks/image-to-image.md index 20f4ac1b7..8379ad6cb 100644 --- a/docs/inference-providers/tasks/image-to-image.md +++ b/docs/inference-providers/tasks/image-to-image.md @@ -35,7 +35,10 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. + diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md index 501536ea1..48934e758 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -26,7 +26,6 @@ For more details about the `text-classification` task, check out its [dedicated - [distilbert/distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english): A robust model trained for sentiment analysis. - [ProsusAI/finbert](https://huggingface.co/ProsusAI/finbert): A sentiment analysis model specialized in financial sentiment. -- [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest): A sentiment analysis model specialized in analyzing tweets. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-classification&sort=trending). diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index 86a7ac19e..64a61a6b0 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -24,17 +24,13 @@ For more details about the `translation` task, check out its [dedicated page](ht ### 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). ### Using the API - +No snippet available for this task. diff --git a/scripts/inference-providers/package.json b/scripts/inference-providers/package.json index c89dafd2a..5f35711b9 100644 --- a/scripts/inference-providers/package.json +++ b/scripts/inference-providers/package.json @@ -14,7 +14,7 @@ "author": "", "license": "ISC", "dependencies": { - "@huggingface/inference": "^3.10.0", + "@huggingface/inference": "^3.11.0", "@huggingface/tasks": "^0.19.1", "@types/node": "^22.5.0", "handlebars": "^4.7.8", diff --git a/scripts/inference-providers/pnpm-lock.yaml b/scripts/inference-providers/pnpm-lock.yaml index 7f21b7e65..ddc355e00 100644 --- a/scripts/inference-providers/pnpm-lock.yaml +++ b/scripts/inference-providers/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@huggingface/inference': - specifier: ^3.10.0 - version: 3.10.0 + specifier: ^3.11.0 + version: 3.11.0 '@huggingface/tasks': specifier: ^0.19.1 version: 0.19.1 @@ -189,12 +189,12 @@ packages: cpu: [x64] os: [win32] - '@huggingface/inference@3.10.0': - resolution: {integrity: sha512-nouLdl5Tu4gdTzIKv9zAr7HPziXV8rXbVONjYKQ7u9F78KgWVsYmhEM+ZhTbhg4fV4N1gdgywOAHrd9uOV5tRQ==} + '@huggingface/inference@3.11.0': + resolution: {integrity: sha512-4/qwTDYoVJLzoWN+rKk/8RCcEsqWFBRgzVr6wfrW0gEojzmsx4cgIXhEnPFG4s98OfjXuBqG7P0glLGqItrAaw==} engines: {node: '>=18'} - '@huggingface/jinja@0.4.0': - resolution: {integrity: sha512-NHN8rwJDaGVnpnNLv/4Aaqc/CuBDmN/pa6lrZOsFG7Zgm/5MEmrab+hzF2s46UMMoJcO2SMZ2amSxJXp0s8Ncw==} + '@huggingface/jinja@0.4.1': + resolution: {integrity: sha512-3WXbMFaPkk03LRCM0z0sylmn8ddDm4ubjU7X+Hg4M2GOuMklwoGAFXp9V2keq7vltoB/c7McE5aHUVVddAewsw==} engines: {node: '>=18'} '@huggingface/tasks@0.19.1': @@ -415,12 +415,12 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@huggingface/inference@3.10.0': + '@huggingface/inference@3.11.0': dependencies: - '@huggingface/jinja': 0.4.0 + '@huggingface/jinja': 0.4.1 '@huggingface/tasks': 0.19.1 - '@huggingface/jinja@0.4.0': {} + '@huggingface/jinja@0.4.1': {} '@huggingface/tasks@0.19.1': {} From 79b372c2c5bee00433a386e729fbc93410ccefc2 Mon Sep 17 00:00:00 2001 From: Celina Hanouti Date: Mon, 5 May 2025 11:04:09 +0200 Subject: [PATCH 5/6] fix --- docs/inference-providers/providers/replicate.md | 10 ---------- docs/inference-providers/tasks/image-to-image.md | 5 +---- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/docs/inference-providers/providers/replicate.md b/docs/inference-providers/providers/replicate.md index 7cbee37ed..657cee3f5 100644 --- a/docs/inference-providers/providers/replicate.md +++ b/docs/inference-providers/providers/replicate.md @@ -38,16 +38,6 @@ Replicate is building tools so all software engineers can use AI as if it were n ## Supported tasks -### Image To Image - -Find out more about Image To Image [here](../tasks/image_to_image). - - - - ### Text To Image Find out more about Text To Image [here](../tasks/text_to_image). diff --git a/docs/inference-providers/tasks/image-to-image.md b/docs/inference-providers/tasks/image-to-image.md index 8379ad6cb..20f4ac1b7 100644 --- a/docs/inference-providers/tasks/image-to-image.md +++ b/docs/inference-providers/tasks/image-to-image.md @@ -35,10 +35,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +No snippet available for this task. From 65bdac6695ccdca205550dcc02289d4db6a0d512 Mon Sep 17 00:00:00 2001 From: Celina Hanouti Date: Mon, 5 May 2025 12:15:26 +0200 Subject: [PATCH 6/6] better wording --- docs/inference-providers/tasks/audio-classification.md | 2 +- docs/inference-providers/tasks/fill-mask.md | 5 +---- docs/inference-providers/tasks/image-classification.md | 3 +-- docs/inference-providers/tasks/image-segmentation.md | 5 +---- docs/inference-providers/tasks/image-to-image.md | 2 +- docs/inference-providers/tasks/object-detection.md | 2 +- docs/inference-providers/tasks/question-answering.md | 2 +- docs/inference-providers/tasks/summarization.md | 2 +- docs/inference-providers/tasks/table-question-answering.md | 2 +- docs/inference-providers/tasks/token-classification.md | 2 +- docs/inference-providers/tasks/translation.md | 3 +-- docs/inference-providers/tasks/zero-shot-classification.md | 2 +- .../templates/common/snippets-template.handlebars | 2 +- 13 files changed, 13 insertions(+), 21 deletions(-) diff --git a/docs/inference-providers/tasks/audio-classification.md b/docs/inference-providers/tasks/audio-classification.md index ff2190015..fcc01910f 100644 --- a/docs/inference-providers/tasks/audio-classification.md +++ b/docs/inference-providers/tasks/audio-classification.md @@ -35,7 +35,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **audio-classification** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/fill-mask.md b/docs/inference-providers/tasks/fill-mask.md index 33344e16b..9252ac746 100644 --- a/docs/inference-providers/tasks/fill-mask.md +++ b/docs/inference-providers/tasks/fill-mask.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +There are currently no snippet examples for the **fill-mask** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index 0ab045daa..416446956 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -24,14 +24,13 @@ For more details about the `image-classification` task, check out its [dedicated ### Recommended models -- [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224): A strong image classification model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-classification&sort=trending). ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **image-classification** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md index 35f13221e..24136417b 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -30,10 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API - +There are currently no snippet examples for the **image-segmentation** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/image-to-image.md b/docs/inference-providers/tasks/image-to-image.md index 20f4ac1b7..bbc82701e 100644 --- a/docs/inference-providers/tasks/image-to-image.md +++ b/docs/inference-providers/tasks/image-to-image.md @@ -35,7 +35,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **image-to-image** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/object-detection.md b/docs/inference-providers/tasks/object-detection.md index 8f8ef53b9..299a41788 100644 --- a/docs/inference-providers/tasks/object-detection.md +++ b/docs/inference-providers/tasks/object-detection.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **object-detection** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index 9ee508f45..e93c6c6de 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **question-answering** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/summarization.md b/docs/inference-providers/tasks/summarization.md index cf0a3badc..1896451a0 100644 --- a/docs/inference-providers/tasks/summarization.md +++ b/docs/inference-providers/tasks/summarization.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **summarization** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/table-question-answering.md b/docs/inference-providers/tasks/table-question-answering.md index 82ea04bb1..ee41843a4 100644 --- a/docs/inference-providers/tasks/table-question-answering.md +++ b/docs/inference-providers/tasks/table-question-answering.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **table-question-answering** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/token-classification.md b/docs/inference-providers/tasks/token-classification.md index 868b30064..67ff322c3 100644 --- a/docs/inference-providers/tasks/token-classification.md +++ b/docs/inference-providers/tasks/token-classification.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **token-classification** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index ce55b847b..667120ced 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -24,14 +24,13 @@ For more details about the `translation` task, check out its [dedicated page](ht ### 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). ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **translation** task, as no providers support it yet. diff --git a/docs/inference-providers/tasks/zero-shot-classification.md b/docs/inference-providers/tasks/zero-shot-classification.md index 55d2442c8..d046ba432 100644 --- a/docs/inference-providers/tasks/zero-shot-classification.md +++ b/docs/inference-providers/tasks/zero-shot-classification.md @@ -30,7 +30,7 @@ Explore all available models and find the one that suits you best [here](https:/ ### Using the API -No snippet available for this task. +There are currently no snippet examples for the **zero-shot-classification** task, as no providers support it yet. diff --git a/scripts/inference-providers/templates/common/snippets-template.handlebars b/scripts/inference-providers/templates/common/snippets-template.handlebars index 0be6fdea4..3e9a77c72 100644 --- a/scripts/inference-providers/templates/common/snippets-template.handlebars +++ b/scripts/inference-providers/templates/common/snippets-template.handlebars @@ -7,6 +7,6 @@ {{else}} -No snippet available for this task. +There are currently no snippet examples for the **{{ task }}** task, as no providers support it yet. {{/if}} \ No newline at end of file