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

Makes the truncation length an attribute of the model #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Dntfreitas
Copy link

@Dntfreitas Dntfreitas commented Jan 4, 2024

Changes:

  1. Refactor: Renamed the wrapper to a more general name for improved clarity and coherence.
  2. Enhancement: Introduced a dynamic max_tokens parameter to make truncation length more adaptable, taking into account model-specific requirements.
  3. Configuration: Added 'key.txt' to the list of ignored files for a cleaner and secure repository structure.
  4. Optimization: Removed the redundant model inclusion from main_from_text.py, since it was already defined in main.py.

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.

1 participant