Skip to content

Conversation

@maitchison
Copy link
Contributor

Motivation

Tinker 0.5.1 supports new loss functions, however the types in cookbook are limited to ['Importance_sampling", "ppo"]. I've resolved this by using the LossFnType from tinker.types rather than specifying a custom literal.

Changes

  • Changed Literal["importance_sampling", "ppo"] to LossFnType
  • Bumped API to 0.5.1

Copy link
Collaborator

@Tiiiger Tiiiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Tiiiger Tiiiger merged commit 461bf9b into thinking-machines-lab:main Dec 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants