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

Tiny improvements to endpoint_model.py, base_model.py,... #219

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sadra-barikbin
Copy link
Contributor

Hi there!

This PR introduces some small improvements to models.

@@ -500,7 +500,7 @@ def construct_requests(
example_index=document_id_seed,
request_index=0,
context=context,
stop_sequence=self.stop_sequence,
stop_sequence=self.stop_sequence or [],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To prevent task.cfg.stop_sequence == None from going to lm

@sadra-barikbin sadra-barikbin changed the title Small improvements to endpoint_model.py, base_model.py,... Tiny improvements to endpoint_model.py, base_model.py,... Jul 17, 2024
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.

2 participants