From 9af8679301d2c64769ee67d34e8fa055cd41f306 Mon Sep 17 00:00:00 2001 From: Wauplin <11801849+Wauplin@users.noreply.github.com> Date: Thu, 3 Jul 2025 03:31:39 +0000 Subject: [PATCH] Update Inference Providers documentation (automated) --- .../providers/hf-inference.md | 34 ++++--------------- docs/inference-providers/providers/novita.md | 2 +- .../tasks/chat-completion.md | 4 +-- .../tasks/feature-extraction.md | 1 - .../tasks/image-classification.md | 3 +- .../tasks/image-segmentation.md | 4 +-- .../tasks/image-text-to-text.md | 2 +- .../tasks/question-answering.md | 5 +-- .../tasks/summarization.md | 3 +- .../tasks/table-question-answering.md | 3 +- .../tasks/text-classification.md | 2 -- .../tasks/text-generation.md | 2 +- .../tasks/text-to-image.md | 1 - .../tasks/token-classification.md | 5 +-- docs/inference-providers/tasks/translation.md | 3 +- scripts/inference-providers/package.json | 4 +-- scripts/inference-providers/pnpm-lock.yaml | 22 ++++++------ 17 files changed, 33 insertions(+), 67 deletions(-) diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md index c8ac3e7c3..1ca7e34bd 100644 --- a/docs/inference-providers/providers/hf-inference.md +++ b/docs/inference-providers/providers/hf-inference.md @@ -55,16 +55,6 @@ Find out more about Automatic Speech Recognition [here](../tasks/automatic_speec /> -### Chat Completion (LLM) - -Find out more about Chat Completion (LLM) [here](../tasks/chat-completion). - - - - ### Chat Completion (VLM) Find out more about Chat Completion (VLM) [here](../tasks/chat-completion). @@ -101,7 +91,7 @@ Find out more about Image Classification [here](../tasks/image_classification). @@ -111,7 +101,7 @@ Find out more about Image Segmentation [here](../tasks/image_segmentation). @@ -131,7 +121,7 @@ Find out more about Question Answering [here](../tasks/question_answering). @@ -141,7 +131,7 @@ Find out more about Summarization [here](../tasks/summarization). @@ -151,7 +141,7 @@ Find out more about Table Question Answering [here](../tasks/table_question_answ @@ -165,16 +155,6 @@ Find out more about Text Classification [here](../tasks/text_classification). /> -### Text Generation - -Find out more about Text Generation [here](../tasks/text_generation). - - - - ### Text To Image Find out more about Text To Image [here](../tasks/text_to_image). @@ -191,7 +171,7 @@ Find out more about Token Classification [here](../tasks/token_classification). @@ -201,6 +181,6 @@ 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 e37679fcf..82a826c09 100644 --- a/docs/inference-providers/providers/novita.md +++ b/docs/inference-providers/providers/novita.md @@ -62,7 +62,7 @@ Find out more about Chat Completion (VLM) [here](../tasks/chat-completion). diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md index 5ddc3181b..b9ac0c28f 100644 --- a/docs/inference-providers/tasks/chat-completion.md +++ b/docs/inference-providers/tasks/chat-completion.md @@ -63,7 +63,7 @@ The API supports: @@ -73,7 +73,7 @@ conversational /> diff --git a/docs/inference-providers/tasks/feature-extraction.md b/docs/inference-providers/tasks/feature-extraction.md index bc7f88aae..2ac9e38bc 100644 --- a/docs/inference-providers/tasks/feature-extraction.md +++ b/docs/inference-providers/tasks/feature-extraction.md @@ -29,7 +29,6 @@ For more details about the `feature-extraction` task, check out its [dedicated p ### Recommended models -- [thenlper/gte-large](https://huggingface.co/thenlper/gte-large): A powerful feature extraction model for natural language processing tasks. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=feature-extraction&sort=trending). diff --git a/docs/inference-providers/tasks/image-classification.md b/docs/inference-providers/tasks/image-classification.md index cc68b01fd..1750978c8 100644 --- a/docs/inference-providers/tasks/image-classification.md +++ b/docs/inference-providers/tasks/image-classification.md @@ -25,7 +25,6 @@ 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. -- [facebook/deit-base-distilled-patch16-224](https://huggingface.co/facebook/deit-base-distilled-patch16-224): A robust image classification model. - [facebook/convnext-large-224](https://huggingface.co/facebook/convnext-large-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). @@ -35,7 +34,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 197800740..ed588c536 100644 --- a/docs/inference-providers/tasks/image-segmentation.md +++ b/docs/inference-providers/tasks/image-segmentation.md @@ -24,8 +24,6 @@ For more details about the `image-segmentation` task, check out its [dedicated p ### Recommended models -- [openmmlab/upernet-convnext-small](https://huggingface.co/openmmlab/upernet-convnext-small): Solid semantic segmentation model trained on ADE20k. -- [facebook/mask2former-swin-large-coco-panoptic](https://huggingface.co/facebook/mask2former-swin-large-coco-panoptic): Panoptic segmentation model trained on the COCO (common objects) dataset. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-segmentation&sort=trending). @@ -34,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-text-to-text.md b/docs/inference-providers/tasks/image-text-to-text.md index 4ef1752fe..56b321813 100644 --- a/docs/inference-providers/tasks/image-text-to-text.md +++ b/docs/inference-providers/tasks/image-text-to-text.md @@ -33,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/question-answering.md b/docs/inference-providers/tasks/question-answering.md index 2f1330014..3551ae458 100644 --- a/docs/inference-providers/tasks/question-answering.md +++ b/docs/inference-providers/tasks/question-answering.md @@ -24,9 +24,6 @@ For more details about the `question-answering` task, check out its [dedicated p ### Recommended models -- [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2): A robust baseline model for most question answering domains. -- [distilbert/distilbert-base-cased-distilled-squad](https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad): Small yet robust model that can answer questions. -- [google/tapas-base-finetuned-wtq](https://huggingface.co/google/tapas-base-finetuned-wtq): A special model that can answer questions from tables. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=question-answering&sort=trending). @@ -35,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/summarization.md b/docs/inference-providers/tasks/summarization.md index 8b948f871..6d3994406 100644 --- a/docs/inference-providers/tasks/summarization.md +++ b/docs/inference-providers/tasks/summarization.md @@ -24,6 +24,7 @@ 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. - [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). @@ -33,7 +34,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/table-question-answering.md b/docs/inference-providers/tasks/table-question-answering.md index 358287c69..bb9fa96d8 100644 --- a/docs/inference-providers/tasks/table-question-answering.md +++ b/docs/inference-providers/tasks/table-question-answering.md @@ -24,7 +24,6 @@ For more details about the `table-question-answering` task, check out its [dedic ### Recommended models -- [google/tapas-base-finetuned-wtq](https://huggingface.co/google/tapas-base-finetuned-wtq): A robust table question answering model. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=table-question-answering&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 5e30ee191..7b1a73a67 100644 --- a/docs/inference-providers/tasks/text-classification.md +++ b/docs/inference-providers/tasks/text-classification.md @@ -24,8 +24,6 @@ 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). diff --git a/docs/inference-providers/tasks/text-generation.md b/docs/inference-providers/tasks/text-generation.md index 2696bea55..abac4661a 100644 --- a/docs/inference-providers/tasks/text-generation.md +++ b/docs/inference-providers/tasks/text-generation.md @@ -41,7 +41,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/text-to-image.md b/docs/inference-providers/tasks/text-to-image.md index aed8e3c14..a72113fc7 100644 --- a/docs/inference-providers/tasks/text-to-image.md +++ b/docs/inference-providers/tasks/text-to-image.md @@ -27,7 +27,6 @@ For more details about the `text-to-image` task, check out its [dedicated page]( - [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. Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-to-image&sort=trending). diff --git a/docs/inference-providers/tasks/token-classification.md b/docs/inference-providers/tasks/token-classification.md index 3636602eb..eca72a060 100644 --- a/docs/inference-providers/tasks/token-classification.md +++ b/docs/inference-providers/tasks/token-classification.md @@ -24,9 +24,6 @@ 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. -- [FacebookAI/xlm-roberta-large-finetuned-conll03-english](https://huggingface.co/FacebookAI/xlm-roberta-large-finetuned-conll03-english): A strong model to identify people, locations, organizations and names in multiple languages. -- [blaze999/Medical-NER](https://huggingface.co/blaze999/Medical-NER): A token classification model specialized on medical entity recognition. 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). @@ -35,7 +32,7 @@ Explore all available models and find the one that suits you best [here](https:/ diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md index 86a7ac19e..6014f7c25 100644 --- a/docs/inference-providers/tasks/translation.md +++ b/docs/inference-providers/tasks/translation.md @@ -24,7 +24,6 @@ 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). @@ -33,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 d5512e1e9..4592b7a8b 100644 --- a/scripts/inference-providers/package.json +++ b/scripts/inference-providers/package.json @@ -14,8 +14,8 @@ "author": "", "license": "ISC", "dependencies": { - "@huggingface/inference": "^4.2.0", - "@huggingface/tasks": "^0.19.21", + "@huggingface/inference": "^4.3.0", + "@huggingface/tasks": "^0.19.22", "@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 d31e574b8..b407822b3 100644 --- a/scripts/inference-providers/pnpm-lock.yaml +++ b/scripts/inference-providers/pnpm-lock.yaml @@ -9,11 +9,11 @@ importers: .: dependencies: '@huggingface/inference': - specifier: ^4.2.0 - version: 4.2.0 + specifier: ^4.3.0 + version: 4.3.0 '@huggingface/tasks': - specifier: ^0.19.21 - version: 0.19.21 + specifier: ^0.19.22 + version: 0.19.22 '@types/node': specifier: ^22.5.0 version: 22.5.0 @@ -189,16 +189,16 @@ packages: cpu: [x64] os: [win32] - '@huggingface/inference@4.2.0': - resolution: {integrity: sha512-mmt/wCojZ7OUYFsWAqz+xmJCe4RiU6Vs6q54tPxKl55jquLwBKgwd2LwGa8TxF7KeaGvBN+jk/OOLKwcce0vzg==} + '@huggingface/inference@4.3.0': + resolution: {integrity: sha512-ZXolMKGpgvDOURyZSL0TUMUwLSxclSmbp/skxbVvys3T7DHojzQeWpObSfphF+AmPPgwIZCJRgGC/2QOGw2OYQ==} engines: {node: '>=18'} '@huggingface/jinja@0.5.0': resolution: {integrity: sha512-Ptc03/jGRiYRoi0bUYKZ14MkDslsBRT24oxmsvUlfYrvQMldrxCevhPnT+hfX8awKTT8/f/0ZBBWldoeAcMHdQ==} engines: {node: '>=18'} - '@huggingface/tasks@0.19.21': - resolution: {integrity: sha512-ZCEKudsSCTtZlPnD1Jv2NOonxqveiE4DFQUslxImDD8f5PNun9fmNXu6qS9yWVkuqze2QXBm9WYFCcSmnkntLA==} + '@huggingface/tasks@0.19.22': + resolution: {integrity: sha512-jtRXsJZTES01X4gJ5VOUnEm3ONyyfXUcWKObbWkr/SQmjaH/kxtWqc2zVWKaxL4QLoXqXJ+T+Pi5xupMStSudQ==} '@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@4.2.0': + '@huggingface/inference@4.3.0': dependencies: '@huggingface/jinja': 0.5.0 - '@huggingface/tasks': 0.19.21 + '@huggingface/tasks': 0.19.22 '@huggingface/jinja@0.5.0': {} - '@huggingface/tasks@0.19.21': {} + '@huggingface/tasks@0.19.22': {} '@jridgewell/resolve-uri@3.1.2': {}