Installation

Installing Tinker

You can install the Tinker Python SDK with:

pip install tinker

Low-level operations like forward_backward, sample, optim_step, save_state are provided.

We also release tinker-cookbook (opens in a new tab), which is a collection of training code and experiment tools built on top of Tinker. For the Cookbook, we'd recommend doing a local editable install, as you'll probably want to browse and edit the code:

git clone https://github.com/thinking-machines-lab/tinker-cookbook.git
cd tinker-cookbook
// switch to your virtual environment
pip install -e .

Getting an API key

To get your Tinker API key, sign up through the waitlist (opens in a new tab), and once you have access, create an API key from the console (opens in a new tab).