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

fix(examples) Update FedRAG example #5157

Merged
merged 3 commits into from
Mar 22, 2025
Merged

fix(examples) Update FedRAG example #5157

merged 3 commits into from
Mar 22, 2025

Conversation

dstripelis
Copy link
Contributor

  • disable tokenization deadlock warning at the end of execution by setting the appropriate env variable
  • disable attention mask warning by setting pad token id if not defined and pass it to the model generate function
  • rename local variables to better reflect their purpose
  • remove random choice selection
  • assigning default value to prompt instruction

@dstripelis dstripelis changed the title fix(examples) Polish FedRAG fix(examples) Update FedRAG example Mar 21, 2025
@jafermarq jafermarq merged commit ad06f8e into main Mar 22, 2025
58 checks passed
@jafermarq jafermarq deleted the fedrag-polishing branch March 22, 2025 15:45
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.

None yet

2 participants