Skip to main content

Models

Below is a list of popular OSS models that you can query instantly or deploy on dedicated hardware with Predibase. The models are available via our UI Playground, Python SDK, or REST API.

Inference on our serverless models is billed by token. See pricing

Serverless Endpoints

Deployment NameParametersArchitectureLicenseContext Window (Max Tokens)Always On
llama-3-8b8 billionLlama-3Meta (request for commercial use)8192Yes
llama-3-8b-instruct8 billionLlama-3Meta (request for commercial use)8192Yes
llama-3-70b70 billionLlama-3Meta (request for commercial use)8192Yes
llama-3-70b-instruct70 billionLlama-3Meta (request for commercial use)8192Yes
mistral-7b7 billionMistralApache 2.08000Yes
mistral-7b-instruct7 billionMistralApache 2.08000Yes
mistral-7b-instruct-v0-27 billionMistralApache 2.08000Yes
mixtral-8x7b-instruct-v0-146.7 billionMixtralApache 2.032768Yes
zephyr-7b-beta7 billionMistralMIT8000Yes
llama-2-7b7 billionLlama-2Meta (request for commercial use)4096Yes
llama-2-7b-chat7 billionLlama-2Meta (request for commercial use)4096Yes
llama-2-13b13 billionLlama-2Meta (request for commercial use)4096No
llama-2-13b-chat13 billionLlama-2Meta (request for commercial use)4096No
llama-2-70b70 billionLlama-2Meta (request for commercial use)4096No
llama-2-70b-chat70 billionLlama-2Meta (request for commercial use)4096No
codellama-13b-instruct13 billionLlama-2Meta (request for commercial use)4096Yes
codellama-70b-instruct70 billionLlama-2Meta (request for commercial use)4096No
gemma-2b2 billionGemmaGoogle8192No
gemma-2b-instruct2 billionGemmaGoogle8192No
gemma-7b7 billionGemmaGoogle8192No
gemma-7b-instruct7 billionGemmaGoogle8192No
phi-22.7 billionPhiMIT2048No
info

Note: Models that are not always on scale down to 0 and may have a brief spin up time before serving requests. If you would like us to add support for any serverless endpoints or make any existing endpoints always on, please get in touch on Discord.

Dedicated Deployments

While popular models can be prompted via serverless endpoints, Predibase also offers the ability to spin up deployments on dedicated hardware for nearly any open-source model available. These models fall into two categories:

  1. Available LLMs: These are models we have first-class support for. These have been verified and are ensured to work well.
  2. Best-Effort LLMs: These are models that have not been verified and may occasionally not deploy as expected.

Available LLMs

info

When creating a deployment, you'll need the Huggingface path (below), rather than just the name.

NameHuggingface PathParametersArchitectureLicenseContext Window (Max Tokens)
mistral-7bmistralai/Mistral-7B-v0.17 billionMistralApache 2.08000
mistral-7b-instructmistralai/Mistral-7B-Instruct-v0.17 billionMistralApache 2.08000
mistral-7b-instruct-v0-2mistralai/Mistral-7B-Instruct-v0.27 billionMistralApache 2.08000
mixtral-8x7bmistralai/Mixtral-8x7B-v0.146.7 billionMixtralApache 2.032768
mixtral-8x7b-instruct-v0-1mistralai/Mixtral-8x7B-Instruct-v0.146.7 billionMixtralApache 2.032768
Mixtral-8x7B-Instruct-v0.1-AWQTheBloke/Mixtral-8x7B-Instruct-v0.1-AWQ46.7 billionMixtralApache 2.032768
zephyr-7b-betaHuggingFaceH4/zephyr-7b-beta7 billionMistralMIT8000
llama-3-8bmeta-llama/Meta-Llama-3-8B8 billionLlama-3Meta (request for commercial use)8192
llama-3-8b-instructmeta-llama/Meta-Llama-3-8B-Instruct8 billionLlama-3Meta (request for commercial use)8192
llama-3-70bmeta-llama/Meta-Llama-3-70B70 billionLlama-3Meta (request for commercial use)8192
llama-3-70b-instructmeta-llama/Meta-Llama-3-70B-Instruct70 billionLlama-3Meta (request for commercial use)8192
llama-2-7bmeta-llama/Llama-2-7b-hf7 billionLlama-2Meta (request for commercial use)4096
llama-2-7b-chatmeta-llama/Llama-2-7b-chat-hf7 billionLlama-2Meta (request for commercial use)4096
llama-2-13bmeta-llama/Llama-2-13b-hf13 billionLlama-2Meta (request for commercial use)4096
llama-2-13b-chatmeta-llama/Llama-2-13b-chat-hf13 billionLlama-2Meta (request for commercial use)4096
llama-2-70bmeta-llama/Llama-2-70b-hf70 billionLlama-2Meta (request for commercial use)4096
llama-2-70b-chatmeta-llama/Llama-2-70b-chat-hf70 billionLlama-2Meta (request for commercial use)4096
codellama-7b-instructcodellama/CodeLlama-7b-instruct-hf7 billionLlama-2Meta (request for commercial use)4096
codellama-13b-instructcodellama/CodeLlama-13b-instruct-hf13 billionLlama-2Meta (request for commercial use)4096
codellama-34b-instructcodellama/CodeLlama-34b-instruct-hf34 billionLlama-2Meta (request for commercial use)4096
codellama-70b-instructcodellama/CodeLlama-70b-Instruct-hf70 billionLlama-2Meta (request for commercial use)4096
gemma-2bgoogle/gemma-2b2 billionGemmaGoogle8192
gemma-2b-instructgoogle/gemma-2b-it2 billionGemmaGoogle8192
gemma-7bgoogle/gemma-7b7 billionGemmaGoogle8192
gemma-7b-instructgoogle/gemma-7b-it7 billionGemmaGoogle8192
gpt2openai-community/gpt2124 millionGPTMIT1024
gpt2-mediumopenai-community/gpt2-medium355 millionGPTMIT1024
gpt2-largeopenai-community/gpt2-large774 millionGPTMIT1024
gpt2-xlopenai-community/gpt2-xl1.5 billionGPTMIT1024
phi-2microsoft/phi-22.7 billionPhiMIT2048

Best-effort LLMs

Predibase provides best-effort support for any Huggingface LLM meeting the following criteria:

To deploy LLMs with quantization, the quantization method must be supported in LoRAX. Example here. Note that at the moment, we do not support fine-tuning any post-quantized models.

Instruction Templates

The following instruction templates are used in the UI when prompting our serverless deployments. When using the SDK or REST API for inference, you will need to include these templates yourself in the prompt, otherwise you may see less than stellar responses.

Llama 3 models

Instruct models

<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are a helpful, detailed, and polite artificial intelligence assistant. Your answers are clear and suitable for a professional environment.

If context is provided, answer using only the provided contextual information.<|eot_id|><|start_header_id|>user<|end_header_id|>

<insert your prompt here><|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n

Non-instruct models

None

Llama 2 models

Chat models

<<SYS>>
You are a helpful, detailed, and polite artificial intelligence assistant. Your answers are clear and suitable for a professional environment.

If context is provided, answer using only the provided contextual information.
<</SYS>>

[INST] <insert your prompt here> [/INST]

Non-chat models

None

Codellama models

codellama-13b-instruct

<s>[INST] <insert your prompt here> [/INST]

codellama-70b-instruct

<s>Source: user\n\n <insert your prompt here> <step> Source: assistant\nDestination: user\n\n

Mistral & Mixtral models

<<SYS>>
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.

If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
<</SYS>>

[INST] <insert your prompt here> [/INST]

Gemma models

Instruct models

<start_of_turn>user
<insert your prompt here><end_of_turn>
<start_of_turn>model

Non-instruct models

None

Phi-2

<|im_start|>user\n<insert your prompt here><|im_end|>\n

Zephyr-7b-beta

<|system|>
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.

If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.</s>
<|user|>
<insert your prompt here></s>
<|assistant|>