We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d3b2a commit d19c3d5Copy full SHA for d19c3d5
tinker_cookbook/preference/train_dpo.py
@@ -97,7 +97,7 @@ def create_dpo_clients(
97
)
98
if load_state_path:
99
# Load state into the training client
100
- training_client.load_state(load_state_path)
+ training_client.load_state(load_state_path).result()
101
logger.info(f"Loaded weights from {load_state_path}")
102
# Create a sampling client for the reference model from the training client
103
reference_client = training_client.save_weights_and_get_sampling_client("reference")
0 commit comments