Guides
Practical guides to fine-tune, evaluate and deploy LLMs.
Work through a useful example, understand the tradeoffs and follow the steps in Tensorant. From your first dataset to a model your application can call.
Start here
Build a support-ticket router with Qwen.
Prepare labeled tickets, fine-tune an adapter, compare it with the base model and publish a working API. One guide takes you through the whole workflow.
Prepare
Labeled tickets and a frozen dataset
Train and evaluate
Qwen, LoRA and a fair baseline
Publish
support-router and a chat completions API
Migration
Move a fine-tuned model off a closed API: save its data, train an open model on it and compare the two.
Case studies
Published results where a fine-tuned open model beat a frontier model, and how to run the same test.
Case study: fine-tuned 7B models beat GPT-4 on narrow tasks
How small LoRA-tuned open models outscored GPT-4 in the LoRA Land and Anyscale studies, and how to run that same comparison in Tensorant.
Intermediate9 min readCase study: a fine-tuned 7B model beats GPT-4o at text-to-SQL
How fine-tuned Qwen2.5-Coder 7B models outperformed GPT-4o on Spider and BIRD benchmarks, and how to test your own SQL model in Tensorant.
Intermediate9 min read
Fine-tuning
Fine-tune Qwen on RunPod with Tensorant
Build a support-ticket classifier with Qwen, review labeled examples, compare a LoRA adapter against the base model, and publish an API.
Getting started8 min readLoRA vs QLoRA: choose a fine-tuning method
Understand LoRA and QLoRA memory tradeoffs, choose practical settings, and compare adapters fairly in Tensorant before deployment.
Intermediate8 min readFine-tuning vs RAG: build a grounded support assistant
Choose retrieval, fine-tuning, or both for a support assistant, with source-conditioned examples, held-out evaluation, and Tensorant API steps.
Intermediate8 min readEstimate LLM fine-tuning cost before launching
Budget training, base-versus-tuned evaluation, storage, iteration, and inference with Tensorant's provider controls and transparent cost formulas.
Getting started9 min readTrain a calibrated decision model with kev
Fine-tune kev, a 400M ModernBERT scorer, on typed decisions, check calibration quality, and gate the run with measured scores and cost.
Intermediate12 min read
Evaluation
Find out what improved, what regressed and whether the comparison is fair.
How to evaluate a fine-tuned LLM against its base model
Build useful LLM evals in Tensorant, score a support-ticket classifier, compare base and tuned models, and investigate regressions before deployment.
Intermediate8 min readHow to prevent data leakage in LLM evaluation
Prepare held-out LLM evals in Tensorant, separate related sources and prompts, review near-duplicates, and preserve trustworthy tests as your dataset grows.
Intermediate10 min read
Deployment
Publish your model and call it from the application you already have.
Deploy a LoRA adapter as an LLM API on RunPod
Publish a fine-tuned support-routing model in Tensorant, choose its RunPod serving mode, and call an LLM API with secure keys and bounded retries.
Intermediate8 min readServe a decision model and call it from your app
Deploy a trained decision model, call POST /v1/decisions with batches and retries, and act on calibrated probabilities with measured cost.
Intermediate10 min read
Inference
Choose how your model runs, with clear tradeoffs in cost and response time.
Ready to use your own data?
Start a project, run on Tensorant compute or your own GPU account, and follow a guide at your own pace.