Skip to main content

AI/ML Models

Spice supports traditional machine learning (ML) models and language models (LLMs).

  • Filesystem: ONNX models.
  • HuggingFace: ONNX models hosted on HuggingFace.
  • Spice Cloud Platform: Models hosted on the Spice Cloud Platform.
  • OpenAI: OpenAI (or compatible) LLM endpoints.

Model Sources​

NameDescriptionML Format(s)LLM Format(s)*
fileLocal filesystemONNXGGUF, GGML, SafeTensor
huggingface:huggingface.coModels hosted on HuggingFaceONNXGGUF, GGML, SafeTensor
spice.aiModels hosted on the Spice Cloud PlatformONNX-
openaiOpenAI (or compatible) LLM endpoint-Remote HTTP endpoint
  • LLM Format(s) may require additional files (e.g. tokenizer_config.json).

The model type is inferred based on the model source and files. For more detail, refer to the model reference specification.