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

EncodedPreferenceExample and InstructionExample trait #303

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

nerdai
Copy link
Owner

@nerdai nerdai commented Jan 29, 2025

Introduces:

  • InstructionExample trait
  • EncodedPreferenceExample
  • modifies format_input to take generic T: InstructionExample
  • modifies partition_data to take generic T: Clone

@nerdai nerdai linked an issue Jan 29, 2025 that may be closed by this pull request
4 tasks
@nerdai nerdai linked an issue Jan 29, 2025 that may be closed by this pull request
@nerdai nerdai changed the title EncodedPreferenceExample and make some aux fns more flexible EncodedPreferenceExample and InstructionExample trait Jan 29, 2025
@nerdai nerdai enabled auto-merge (squash) January 29, 2025 04:37
@nerdai nerdai merged commit 5a53bfc into main Jan 29, 2025
3 checks passed
@nerdai nerdai deleted the nerdai/preference-dataset-type branch January 29, 2025 04:37
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.

Create EncodedPreferenceExample and make format_input take generics
1 participant