Skip to content

Commit 443e944

Browse files
committed
Sync contents
1 parent 3d55131 commit 443e944

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.sync_state

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"last_synced_sha": "4c4da5e03c66eaea95790943346d80933f0b5387",
3-
"last_sync_time": "2025-10-01T05:49:40.202064"
2+
"last_synced_sha": "d8574fe430df75edab56b84544102dbc8026c289",
3+
"last_sync_time": "2025-10-01T06:10:46.540534"
44
}

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
# Tinker Cookbook
2-
1+
<h1 align="center">Tinker Cookbook</h1>
32
<div align="center">
43
<img src="assets/tinker-cover.png" width="60%" />
5-
<br/>
6-
<em>Tinker: a training API for researchers and developers</em>
7-
<br/>
8-
<div></div>
9-
<div></div>
104
</div>
115

6+
We present two libraries to help the broader community customize their language models: `tinker` and `tinker-cookbook`.
127

13-
To help the broader community customize their language models, we release two libraries: Tinker and Tinker Cookbook.
14-
- Tinker includes primitives to fine-tune language models. It sends API requests to us, while we handle the complexity of distributed training.
15-
- Tinker Cookbook includes realistic examples to fine-tune language models. It builds on the Tinker API and provides commonly used abstractions to fine-tune language models.
8+
- `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.
9+
- `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.
1610

1711
## Installation
1812

19-
1. Obtain a Tinker API token and export it as `TINKER_API_KEY`. // TODO(tianyi): add onboarding flow link
13+
1. Obtain a Tinker API token and export it as environment variable `TINKER_API_KEY`. You will only be able to do this after you have access to Tinker. Sign up for waitlist at [thinkingmachines.ai/tinker](https://thinkingmachines.ai/tinker). After you have access, you can create an API key from your console: [tinker-console.thinkingmachines.ai](https://tinker-console.thinkingmachines.ai).
2014
2. Install tinker python client via `pip install tinker`
2115
3. We recommend installing `tinker-cookbook` in a virtual env either with `conda` or `uv`. For running most examples, you can install via `pip install -e .`.
2216

2317
## Tinker
2418

2519
Refer to the [docs](https://tinker-docs.thinkingmachines.ai/training-sampling) to start from basics.
26-
We introduce a few Tinker primitives, the basic components to fine-tune LLMs.
20+
Here we introduce a few Tinker primitives - the basic components to fine-tune LLMs:
2721

2822
```python
2923
service_client = tinker.ServiceClient()
@@ -39,7 +33,7 @@ sampling_client = training_client.save_weights_and_get_sampling_client(name="my_
3933
sampling_client.sample(...)
4034
```
4135

42-
`tinker_cookbook/recipes/sl_loop.py` and `tinker_cookbook/recipes/rl_loop.py` include minimal examples of using these primitives to fine-tune LLMs.
36+
See [tinker_cookbook/recipes/sl_loop.py](tinker_cookbook/recipes/sl_loop.py) and [tinker_cookbook/recipes/rl_loop.py](tinker_cookbook/recipes/rl_loop.py) for minimal examples of using these primitives to fine-tune LLMs.
4337

4438
### Tinker Cookbook
4539

0 commit comments

Comments
 (0)