Skip to content

Conversation

@benjamin-elder
Copy link
Collaborator

Changes to the training loader to use context response pairs.

Changes to tool call env and evaluation.py to enable parallel/multiprocess inference.

@benjamin-elder benjamin-elder marked this pull request as ready for review October 31, 2025 14:46
Benjamin Elder [email protected] added 4 commits October 31, 2025 13:29
Signed-off-by: Benjamin Elder [email protected] <[email protected]>
Signed-off-by: Benjamin Elder [email protected] <[email protected]>
Signed-off-by: Benjamin Elder [email protected] <[email protected]>
Copy link
Collaborator

@AnkitaNaik AnkitaNaik left a comment

Choose a reason for hiding this comment

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

LGTM!!

Benjamin Elder [email protected] and others added 4 commits November 13, 2025 08:20
Copy link
Collaborator

@AnkitaNaik AnkitaNaik left a comment

Choose a reason for hiding this comment

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

LGTM!!

print(f"Datasets Loaded for {format} turn data.")
print("------------------------------------------------------------------------------------------------------------------------------------------------------------------------------")
assert set(data_no_scenarios_dict.keys()) == set(data_with_scenario_dict.keys())
# assert set(data_no_scenarios_dict.keys()) == set(data_with_scenario_dict.keys())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this assertion not valid in exploratory trajectories? @benjamin-elder

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@AnkitaNaik yeah that seems to be the case. The alternate traces are sort of randomly dispersed I guess, so there's no guarantee that you won't have a case where the non-scenario doesn't have one and the scenario does, or vice-versa.

from transformers import AutoModelForCausalLM, AutoTokenizer
device = "auto"
model_path = "ibm-granite/granite-3.0-8b-base"
model_path = "ibm-granite/granite-4.0-micro"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch!!

@benjamin-elder benjamin-elder merged commit 1392c1a into main Nov 13, 2025
1 check passed
@benjamin-elder benjamin-elder deleted the training_fixes branch November 13, 2025 20:13
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.

4 participants