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

Pass local_files_only kwarg in TransformerBasedClassification #17

Closed
chschroeder opened this issue Jul 19, 2022 · 2 comments
Closed

Pass local_files_only kwarg in TransformerBasedClassification #17

chschroeder opened this issue Jul 19, 2022 · 2 comments
Labels
feature request New feature request

Comments

@chschroeder
Copy link
Contributor

Feature description

Provide a way to set local_files_only in TransformerBasedClassification.
huggingface/transformers#2867

Motivation

The integration tests are too slow and a majority of the time can be avoided with this setting. Moreover, in environments without an internet connection the current state will fail.

Addition comments

@chschroeder chschroeder added the feature request New feature request label Jul 19, 2022
@James4Ever0
Copy link

search for "from_pretrained" then add parameters like "local_files_only" or "local_files_first"

@chschroeder chschroeder added this to the small-text-1.2.0 milestone Dec 26, 2022
@chschroeder
Copy link
Contributor Author

Thanks for your input! This has also been on my todo list for a while. I have started to work on this and it will be part of the next release.

chschroeder added a commit that referenced this issue Dec 27, 2022
Signed-off-by: Christopher Schröder <chschroeder@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants