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

Offline patch #56

Merged
merged 11 commits into from
Mar 1, 2024
Merged

Offline patch #56

merged 11 commits into from
Mar 1, 2024

Conversation

MathiasExorde
Copy link
Collaborator

@MathiasExorde MathiasExorde commented Feb 29, 2024

SET huggingface transformers cache

ENV TRANSFORMERS_OFFLINE=1
ENV HF_DATASETS_OFFLINE=1
ENV HF_HUB_OFFLINE=1

fasttext-langdetect/lid.176.bin, hugginface based models & argos translate models cached for good
workers completely offline vs hugginface
Not being able to read github once in a while (due to github being down or http errors), won't affect the worker like before.
More resilience, less dependencies to 3rd parties, road to decentralization.

WtpSplit bumped to 1.3.0 version, adding accuracy to detect languages from text.

Copy link
Collaborator Author

@MathiasExorde MathiasExorde left a comment

Choose a reason for hiding this comment

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

Tests returned positive, on live workers & next ones.

@MathiasExorde MathiasExorde merged commit 8fad554 into main Mar 1, 2024
1 check failed
@MathiasExorde MathiasExorde deleted the offline_patch branch March 1, 2024 10:12
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