From d50698a5701cccd280e661f89416b714e4039986 Mon Sep 17 00:00:00 2001 From: osanseviero Date: Thu, 14 Dec 2023 16:23:53 +0100 Subject: [PATCH 1/2] Deprecate generic --- docs/hub/models-tasks.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/hub/models-tasks.md b/docs/hub/models-tasks.md index 4a6cc1758..062d1e513 100644 --- a/docs/hub/models-tasks.md +++ b/docs/hub/models-tasks.md @@ -58,9 +58,7 @@ The Hub also supports over 10 open-source libraries in the [Community Inference **My model is not supported by any library. Am I doomed? 😱** -No, you're not! The [generic Inference API](https://github.com/huggingface/api-inference-community/tree/main/docker_images/generic) is an experimental Docker image for quickly prototyping new tasks and introducing new libraries, which should allow you to have a new task in production with very little development from your side. - -How does it work from the user's point of view? Users create a copy of a [template](https://huggingface.co/templates) repo for their given task. Users then need to define their `requirements.txt` and fill `pipeline.py`. Note that this is intended for quick experimentation and prototyping instead of fast production use-cases. +We recommend to use [Hugging Face Spaces](./spaces) for these use cases. ### UI elements From a94f4a6f9dbbb328b9c64af0a153d5aa914192b3 Mon Sep 17 00:00:00 2001 From: Omar Sanseviero Date: Fri, 15 Dec 2023 11:49:20 +0100 Subject: [PATCH 2/2] Update docs/hub/models-tasks.md Co-authored-by: Julien Chaumond --- docs/hub/models-tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hub/models-tasks.md b/docs/hub/models-tasks.md index 062d1e513..e06dc9060 100644 --- a/docs/hub/models-tasks.md +++ b/docs/hub/models-tasks.md @@ -58,7 +58,7 @@ The Hub also supports over 10 open-source libraries in the [Community Inference **My model is not supported by any library. Am I doomed? 😱** -We recommend to use [Hugging Face Spaces](./spaces) for these use cases. +We recommend using [Hugging Face Spaces](./spaces) for these use cases. ### UI elements