Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thinking-machines-labv0.3.0MITIn 1 marketplace
Diagnoses slow or failing Tinker training runs, supports post-training LLM research, and browses model rollouts in a React UI.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
tinker, fine-tuning, sft, dpo, reinforcement-learning, model-training, llm-research, rollout-viewer ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
We provide two libraries for the broader community to customize their language models: tinker and tinker-cookbook.
tinker is a training SDK for researchers and developers to fine-tune language models. You send API requests to us and we handle the complexities of distributed training.tinker-cookbook includes realistic examples of fine-tuning language models. It builds on the Tinker API and provides common abstractions to fine-tune language models.TINKER_API_KEY.tinker-cookbook (includes the tinker SDK as a dependency):
# Latest stable release from PyPI
uv pip install tinker-cookbook
# Or install the nightly build
uv pip install 'tinker-cookbook @ git+https://github.com/thinking-machines-lab/tinker-cookbook.git@nightly'
Inkling is Thinking Machines Lab's model family tailored for Tinker:
general-purpose models that can code, reason, and call tools. Inkling is also
natively multimodal. Every Inkling model shares the same rendering path and
reasoning-effort interface. Tinker Cookbook supports sampling and post-training
every Inkling model through the standalone tml-renderers library, included in
the default installation together with the required torch>=2.10.
Pass one of thinkingmachines/Inkling-2-Small,
thinkingmachines/Inkling-2-Mini, thinkingmachines/Inkling, or
thinkingmachines/Inkling-Small as model_name= anywhere the cookbook accepts
a model name. The appropriate renderer and tokenizer are selected automatically
for each of these models, including the :peft: long-context variants. The
tokenizer depends on the model, so always get it from the model name.
All Inkling models support controllable reasoning effort and multimodal image inputs. Inkling and Inkling-Small also accept audio inputs. See the Inkling documentation for setup and usage details, and Models & Pricing for per-model context lengths and pricing.
Here we introduce a few Tinker primitives — the basic components to fine-tune LLMs (see the quickstart guide for more details):
import tinker
service_client = tinker.ServiceClient()
training_client = service_client.create_lora_training_client(
base_model="meta-llama/Llama-3.2-1B", rank=32,
).result()
training_client.forward_backward(...)
training_client.optim_step(...)
training_client.save_state(...)
resumed_client = service_client.create_training_client_from_state(...).result()
sampling_client = training_client.save_weights_and_get_sampling_client().result()
sampling_client.sample(...)
See tinker_cookbook/recipes/sl_loop.py and tinker_cookbook/recipes/rl_loop.py for minimal examples of using these primitives to fine-tune LLMs.
New to Tinker? The tutorials/ directory contains 20+ progressive marimo notebooks that walk through core concepts — rendering, loss functions, completers, weight management — and advanced topics such as custom RL environments, DPO, RLHF, and weight export. Run any tutorial with marimo edit tutorials/101_hello_tinker.py. See the tutorials README for the full list, or browse rendered versions on the Tinker docs site.
To export and download trained weights:
from tinker_cookbook import weights
7-day copy clicks
npx claudepluginhub thinking-machines-lab/tinker-cookbook --plugin tinkerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground