github MakazhanAlpamys/Soup v0.10.5

latest releases: v0.75.2, v0.75.1, v0.75.0...
6 months ago

What's New

PPO dataset parameter fix for trl >=0.28

In newer versions of trl (>=0.28), PPOTrainer.__init__() no longer accepts dataset= as a keyword argument. This caused a TypeError when running soup train with task: ppo.

Fix: Now uses inspect.signature() to check whether the constructor accepts train_dataset, dataset, or neither. If neither is accepted, the dataset is set directly on the trainer object before calling .train().

Tests: 4 new tests in test_bugfixes.py (643 total).

Install / Upgrade

pip install --upgrade soup-cli

🤖 Generated with Claude Code

Don't miss a new Soup release

NewReleases is sending notifications on new releases.