Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recent changes to eval_model/manual/sampling_report.py #2191

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

andreaskoepf
Copy link
Collaborator

  • add new v2_5 format
  • preparation for llama eval


import pydantic
from oasst_data import ExportMessageTree


def load_messega_trees(input_file_path: str | Path, lang_codes: list[str]) -> list[ExportMessageTree]:
def load_messega_trees(
Copy link
Collaborator

Choose a reason for hiding this comment

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

*load_message_trees

@@ -96,7 +102,15 @@ def main():
args = parse_args()
lang_codes = args.lang.split(",")
random.seed(args.seed)
trees = load_messega_trees(args.input_file, lang_codes)
trees = load_messega_trees(
Copy link
Collaborator

Choose a reason for hiding this comment

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

*load_message_trees

@andreaskoepf andreaskoepf merged commit 2a141e9 into main Mar 24, 2023
@andreaskoepf andreaskoepf deleted the update_sampling_report branch March 24, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants