Together AI expands fine-tuning service with more models, live metrics, and finer controls
Together Fine-Tuning adds support for new open-weight models (GLM-5.3, Kimi K2.7, Qwen 3.5/3.6/3.8, Gemma 4, DeepSeek-V4-Flash), live per-step metrics via API, CLI and dashboard, and new training controls. These include LoRA on MoE expert layers, early stopping with refunds, and gradient accumulation for arbitrary batch sizes. In an invented-facts test, expert-layer LoRA recalled up to 89% of new knowledge versus 15% for attention-only adapters, and it kept routed experts from falling out of use. Data tooling adds tokenized dataset previews, per-example sample weights, pre-flight JSONL validation and packing controls, alongside price cuts of 30–70%.
Related posts
- What is LLM fine-tuning?
Modal mediumAdept
Fine-tuning adjusts a pretrained LLM's weights for a specific task or domain, often matching larger models' quality at lower cost and latency. One cited example puts a fine-tuned Llama 7B at roughly 50x cheaper per token than GPT-3.5. The guide compares where to fine-tune (OpenAI, Predibase, Modal, Colab, SageMaker) and which frameworks to use (HuggingFace transformers, TRL, Axolotl). It then walks through choosing a base model, formatting and tokenizing an instruction dataset with optional custom special tokens, training, and efficiency techniques such as LoRA-based PEFT and quantization.
- Parameter-Efficient Fine-Tuning using 🤗 PEFT
Hugging Face mediumAdeptHugging Face's PEFT library brings parameter-efficient fine-tuning methods (LoRA, Prefix Tuning, Prompt Tuning, P-Tuning) to Transformers and Accelerate. Most pretrained weights stay frozen and only a small set of extra parameters is trained, which gives performance comparable to full fine-tuning at a fraction of the compute and storage cost. A LoRA config on mt0-large trains about 0.19% of the parameters, and the saved adapters are only a few MB (19MB for T0_3B) instead of 40GB per-task checkpoints. Example use cases include tuning T0_3B on 11GB consumer GPUs with DeepSpeed offload, INT8 tuning of OPT-6.7b in Colab with bitsandbytes, and Stable Diffusion Dreambooth, plus code for training, saving and loading adapters.
- Kimi K3: the complete developer guide
Together AI mediumAdeptKimi K3 is Moonshot AI's 2.8-trillion-parameter open-weight model. Its architecture combines Kimi Delta Attention, a hybrid linear attention enabling 1M context, with Attention Residuals and a Stable LatentMoE design that activates 16 of 896 experts, trained with Quantile Balancing and Per-Head Muon. On Together AI's OpenAI-compatible API it supports low/high/max reasoning effort, streaming of separate reasoning traces, vision, strict JSON-schema output, tool calling, and dynamic tool loading via system messages for large catalogs. Practical guidance: keep long prefixes byte-stable to hit the automatic cache, omit the fixed sampling parameters, set generous max_tokens, and replay reasoning_content across turns because the model depends on preserved thinking.
- Preference Optimization for Vision Language Models
Hugging Face hardMasterTRL now supports direct preference optimization (DPO) for vision language models, trained on chosen/rejected answer pairs rather than fixed labels. A walkthrough fine-tunes Idefics2-8b on the RLAIF-V dataset, formatting image-plus-question prompts with the processor's chat template. Full float32 DPO training would need about 160 GB (policy, reference model, gradients, AdamW states), but bfloat16 plus LoRA cuts trainable parameters to 55M and memory to roughly 32 GB. Batch size 2 with 32 gradient accumulation steps and gradient checkpointing fits activations, and training is judged by rising accuracy and reward margin.
- Beyond LoRA: Can you beat the most popular fine-tuning technique?
Hugging Face mediumAdeptLoRA accounts for roughly 95–98% of PEFT usage across Hugging Face Hub model cards and image-generation checkpoints, but controlled benchmarks in the PEFT library show it is often not the best tradeoff. On a MetaMathQA/GSM8K fine-tune of Llama-3.2-3B, rs-LoRA (53.2%, 22.6 GB) sits on the accuracy–memory Pareto frontier alongside BEFT (32.9%, 20.2 GB) and Lily (54.9%, 25.6 GB), while vanilla LoRA (48.1%, 22.5 GB) is dominated. On a FLUX.2-klein-base-4B image concept-learning benchmark, OFT strictly beats LoRA on both DINO similarity and VRAM. To work around downstream tools like vLLM that only load LoRA, PEFT can now convert some other adapters to LoRA with near-identical scores, so switching techniques is mostly a matter of changing one config.