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

Update qwen2.py - Use gpt_config values #835

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Conversation

SamuelWN
Copy link
Contributor

Implement TranslatorConfig; various changes throughout to accommodate (read in config variables, format _CHAT_SAMPLE as Dict[str, List[str]], etc.)

Tweaked logging.

Added attention_mask, padding, etc. to tokenizer call.

Implement TranslatorConfig; various changes throughout to accommodate  (read in config variables, format `_CHAT_SAMPLE` as `Dict[str, List[str]]`, etc.)

Tweaked logging. 

Added `attention_mask`, padding, etc. to `tokenizer` call.
Whitespace change.
@SamuelWN SamuelWN closed this Jan 30, 2025
@SamuelWN SamuelWN reopened this Jan 31, 2025
@zyddnys zyddnys merged commit b80fd18 into zyddnys:main Feb 5, 2025
0 of 4 checks passed
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