Custom model
Overview
Integration
API specification
How the API connection works
{ "model": "tgi", "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Explain what an LLM is in simple terms." } ], "temperature": 0.7, "max_tokens": 150 }{ "id": "chatcmpl-randomid12345", "object": "chat.completion", "created": 1713867000, // Timestamp "model": "your-model-name", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "An LLM, or Large Language Model, is like a super-smart computer program that's read tons of text, so it can understand and write text almost like a human!" }, "finish_reason": "stop" // Why the model stopped writing } ], "usage": { "prompt_tokens": 30, "completion_tokens": 55, "total_tokens": 85 } }
Text Generation Inference (TGI) & Huggingface
Connect custom models

Custom models option 

Models available
Manage custom models

Try in Sandbox

Edit custom model

Delete custom model

Last updated