Comments (2)
Let me tackle matters in order:
- Regarding "standalone repository for models", I've been saving the models here because pre-optimization (April 2019 time frame), the models were 200MB and too big for github. I listed the link in the top post above ☝️
all the ADR pre-trained models live in this Bintray artifactory
-
Regarding zipping the file, I optimized the size of the pytorch model. See this issue. It basically removed the "intermediate back-propagation information" necessary to continuing to train from particular model checkpoint. I don't think additional optimization will gain much, but that is another experiment to see what the exact compression factor is.
-
Finally, back in April when I was trying to get things started and the 200MB model wasn't going to go onto github and I was using the Bintray artifcatory, I thought perhaps I could use pre-install step to
setup.py
and I asked this question on the repo of the setupmeta project used to easysetup
. And the answer is yes, you can use a pre/post-install step to programmatically download from the artifcatory, so that is the path I think we need to explore, I can tackle this next week, it think it'll take some experimentation (trail & error) to ensure that things work smoothly.This the StackOverflow thread with more details/instructions to implement
from iranlowo.
A possible workaround here would be to have a standalone repository for models.
So, if a user needs any functionality tied to a model, a check comes up to see if they've cloned / downloaded the model. If not, an error is raised. This is how I've seen a lot of projects handle this challenge. On travis end, we can have it clone that same repository each time a test needs to be run. Major challenge here is having the user do multiple installs.
I'm not very familiar with torch as I use keras more but why haven't we considered zipping the file yet? Is that going to reduce performance somehow? If not, it'll solve the challenge of having to do multiple installs.
from iranlowo.
Related Issues (16)
- [ADD] an module for scapers HOT 2
- Corpus Loading Features
- Write up a short description of current confidence measure
- Pre-filter words whose diacrictic forms are not in the dictionary HOT 1
- [REFACTOR] to use the PyPI OpenNMT-py
- Tokenizer feature HOT 1
- Outstanding task before submission to PyPI HOT 3
- Simplify CI/CD with GithubActions instead of TravisCI
- undefined symbol: _ZN3re23RE2C1ERKSs
- Runtime Error when tryinng to you .diacritize_text() HOT 1
- [ADD] Travis CI integration HOT 1
- [ADD] a module to do ADR HOT 1
- [RM] torchtext as a top-level package HOT 2
- [ADD] a more intuitive confidence value
- Language Identification Helper HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iranlowo.