Deploying private/gated HuggingFace models
In some cases, you might need a HuggingFace token to access the model. This is needed if you are trying to download your own private models or using gated models like Llama which require you to accept the license and terms of use. In this case, you will need to create a secret with your HuggingFace token. You can create a secret following the guide here. You will be asked to provide the secret name as input.
Key Tasks (Model Types) supported
Here’s the list of the most commonly used task types that are supported in TrueFoundry and how to infer from the model endpoint.LLMs (text-generation) and VLMs (image-text-to-text)
LLMs (text-generation) and VLMs (image-text-to-text)
Embedding (sentence-similarity and feature-extraction)
Embedding (sentence-similarity and feature-extraction)
sentence-transformers library we use Text-Embeddings Inference or Infinity to deploy these models.You can use OpenAI SDK to generate embeddings from the model.Ranking (sentence-similarity and feature-extraction)
Ranking (sentence-similarity and feature-extraction)
sentence-transformers library we use Text-Embeddings Inference or Infinity to deploy these models.Text Classification (text-classification)
Text Classification (text-classification)
Zero-Shot Classification (zero-shot-classification)
Zero-Shot Classification (zero-shot-classification)
Token Classification (token-classification)
Token Classification (token-classification)
Fill Mask (fill-mask)
Fill Mask (fill-mask)
[MASK]Summarization (summarization)
Summarization (summarization)
Translation (translation)
Translation (translation)
Image Generation (text-to-image)
Image Generation (text-to-image)
Image Classification (image-classification)
Image Classification (image-classification)
Object Detection (object-detection)
Object Detection (object-detection)
Image to Text (image-to-text)
Image to Text (image-to-text)
Automatic Speech Recognition (automatic-speech-recognition)
Automatic Speech Recognition (automatic-speech-recognition)