Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
1 value
path
stringlengths
7
80
date
stringdate
2026-04-07 00:00:00
2026-04-07 00:00:00
content
stringlengths
0
167k
tinker-cookbook-2026-04-07-bd7604cefc40
AGENTS.md
2026-04-07
# Tinker Cookbook Agent Guide Quick reference for agents working on `tinker-cookbook`. Detailed guidance is in the skills under `skills/`. `tinker-cookbook` is a client library with training and eval code built on the Tinker service (hosted by Thinking Machines Lab) and the Tinker SDK (a separate repo with just the A...
tinker-cookbook-2026-04-07-bd7604cefc40
CLAUDE.md
2026-04-07
# Tinker Cookbook Agent Guide Quick reference for agents working on `tinker-cookbook`. Detailed guidance is in the skills under `skills/`. `tinker-cookbook` is a client library with training and eval code built on the Tinker service (hosted by Thinking Machines Lab) and the Tinker SDK (a separate repo with just the A...
tinker-cookbook-2026-04-07-bd7604cefc40
CHANGELOG.md
2026-04-07
# Changelog A curated feed of notable changes to `tinker-cookbook`. Small bugfixes and minor argument additions are omitted—this is for changes worth knowing about. ## Format Each entry includes: - **Title**: A short, human-readable summary (not the commit message) - **Date**: When it was merged - **Type**: `new` (f...
tinker-cookbook-2026-04-07-bd7604cefc40
LICENSE
2026-04-07
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
tinker-cookbook-2026-04-07-bd7604cefc40
README.md
2026-04-07
<h1 align="center">Tinker Cookbook</h1> <div align="center"> <img src="assets/tinker-cover.png" width="60%" /> </div> <div align="center"> [![pytest](https://github.com/thinking-machines-lab/tinker-cookbook/actions/workflows/pytest.yaml/badge.svg)](https://github.com/thinking-machines-lab/tinker-cookbook/actions/wo...
tinker-cookbook-2026-04-07-bd7604cefc40
pyproject.toml
2026-04-07
[project] name = "tinker_cookbook" dynamic = ["version"] description = "Implementations of post-training algorithms using the Tinker API" readme = "README.md" authors = [ { name = "Tinker authors", email = "tinker@thinkingmachines.ai" }, ] license = "Apache-2.0" requires-python = ">=3.11" dependencies = [ "aiohttp>...
tinker-cookbook-2026-04-07-bd7604cefc40
CONTRIBUTING.md
2026-04-07
# Contributing to Tinker Cookbook We welcome contributions! This project is built in the spirit of open science and collaborative development. ## Development setup ```bash git clone https://github.com/thinking-machines-lab/tinker-cookbook.git cd tinker-cookbook uv sync --extra dev pre-commit install ``` This instal...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/501_export_hf.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 05-1: Export a Merged HuggingFace Model After training a LoRA adapter with Tinker, you typically want a **standalone mode...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/103_async_patterns.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 03: Efficient Sampling with Tinker Tinker runs on remote GPUs. Every API call involves network latency plus GPU compute t...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/101_hello_tinker.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 01: Hello Tinker Tinker is a remote GPU service for LLM training and inference. You write training loops in Python on you...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/407_rlhf_pipeline.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 14: Full RLHF Pipeline Train a model through the complete 3-stage RLHF pipeline: ``` Stage 1: SFT S...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/204_weights.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 204: Weights and Checkpoints Tinker stores model checkpoints on the server. This tutorial covers the full checkpoint life...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/401_sl_hyperparams.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 09: SL Hyperparameters Finding the right learning rate and LoRA rank for SFT. The cookbook provides a `sweep` module that...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/203_completers.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 203: Completers Completers are thin wrappers around `SamplingClient` that provide two levels of abstraction: - **Tok...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/402_rl_hyperparams.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 10: RL Hyperparameters Tune KL penalty, group size, and advantage normalization. RL training has several hyperparame...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/302_custom_environment.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 06: Build a Custom RL Environment In tutorial 04, you learned the raw GRPO algorithm -- sampling completions, grading the...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/503_publish_hub.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial: Publish to HuggingFace Hub Once you have a merged model or PEFT adapter on disk, you can upload it to HuggingFace Hub fo...
tinker-cookbook-2026-04-07-bd7604cefc40
tutorials/502_lora_adapter.py
2026-04-07
import marimo __generated_with = "0.21.1" app = marimo.App() @app.cell def _(): import marimo as mo return (mo,) @app.cell(hide_code=True) def _(mo): mo.md(r""" # Tutorial 05-2: Convert to PEFT LoRA Adapter Instead of merging LoRA weights into the base model, you can export a **standalone PEF...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
31