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

Enable arg trust_remote_code to use custom tokenizers #16

Merged
merged 2 commits into from
May 21, 2024

Conversation

vbaddi
Copy link
Contributor

@vbaddi vbaddi commented May 20, 2024

Allow to use tokenizers for custom models defined on the Hub in their own modeling files.
Example: Salesforce/xgen-7b-8k-base

Allow for custom models defined on the Hub in their own modeling files.

Signed-off-by: vbaddi <[email protected]>
Copy link
Contributor

@ochougul ochougul left a comment

Choose a reason for hiding this comment

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

Should we also add this to QEfficient/exporter/export_hf_to_cloud_ai_100.py::line 72

@vbaddi
Copy link
Contributor Author

vbaddi commented May 21, 2024

QEfficient/exporter/export_hf_to_cloud_ai_100.py::line 72

yes, nothing harm, fixed it.

@ochougul ochougul merged commit 9358f35 into quic:main May 21, 2024
2 checks passed
quic-amitraj pushed a commit to quic-amitraj/efficient-transformers that referenced this pull request Jun 7, 2024
* Enable arg trust_remote_code to use custom tokenizers

Allow for custom models defined on the Hub in their own modeling files.

Signed-off-by: vbaddi <[email protected]>

* fix the tokenizer in export_hf_to_cloud_ai_100

Signed-off-by: vbaddi <[email protected]>

---------

Signed-off-by: vbaddi <[email protected]>
Signed-off-by: quic-amitraj <[email protected]>
abukhoy pushed a commit to abukhoy/efficient-transformers that referenced this pull request Jun 28, 2024
* Enable arg trust_remote_code to use custom tokenizers

Allow for custom models defined on the Hub in their own modeling files.

Signed-off-by: vbaddi <[email protected]>

* fix the tokenizer in export_hf_to_cloud_ai_100

Signed-off-by: vbaddi <[email protected]>

---------

Signed-off-by: vbaddi <[email protected]>

Signed-off-by: root <[email protected]>
shubhagr-quic pushed a commit to shubhagr-quic/efficient-transformers that referenced this pull request Oct 4, 2024
* Enable arg trust_remote_code to use custom tokenizers

Allow for custom models defined on the Hub in their own modeling files.

Signed-off-by: vbaddi <[email protected]>

* fix the tokenizer in export_hf_to_cloud_ai_100

Signed-off-by: vbaddi <[email protected]>

---------

Signed-off-by: vbaddi <[email protected]>
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