Comments (6)
@leezu I am happy to contribute to this project. How to start? Is there any guidance or documentation online?
from gluon-nlp.
@sxjscience Have you solved this problem?
from gluon-nlp.
@lixin4ever you can usually pass the root='/some/path/
parameter to functions that download files (ie datasets/models). The change proposed by @sxjscience needs some (trivial) changes in the code, but no-one has done them yet. If you would like to contribute it, please let us know and we can provide guidance.
from gluon-nlp.
@sxjscience @szha I suggest this change should also be applied to mxnet gluon, not only the gluon nlp package. In particular instead of choosing a environment variable such as GLUONNLP_HOME
we could introduce MXNET_HOME
.
@lixin4ever Great! We have some how to contribute documentation available.
For this issue I guess you could add a helper function _get_path(*args)
to utils.py
which would check if MXNET_HOME
is defined and respectively join the looked up MXNET_HOME
or default ~/.mxnet
with the *args specified, returning the composed path. Then the functions that specify os.path.join('~', '.mxnet', ...)
and their documentation need to be changed to make use of _get_path. But feel free to take a different route. What do you think?
from gluon-nlp.
@leezu We can start using MXNET_HOME
with this package first and propagate the change back to mxnet later on.
from gluon-nlp.
Thanks @lixin4ever for contributing. This has been solved by #106 .
from gluon-nlp.
Related Issues (20)
- Upgrade sacremoses to 0.0.44
- Loading 'distilbert_6_768_12' is broken HOT 2
- Operator npx.broadcast_like HOT 3
- [v0.x] Some CPU tests fail after switching to use MXNet 1.8.0 HOT 1
- Dead link to build_steps.groovy in contribute.rst#make-changes
- difference between gluonnlp 0.10.0 and gluonnlp 1.0.0 RoBERTaModel?
- Badge link was broken in README
- GPT2 tests mysteriously killed HOT 3
- gluon-nlp/scripts/question_answering/train.py HOT 2
- XLMR Conversion fails on parameter dictionary KeyError HOT 3
- I want BigRNN back... HOT 5
- Difference in naming convention between op.py and test_op.py
- Implementation of Incremental Decoding
- Wrong ETA for max_seq_length != 512
- Wheel fails to build setup.py for gluonnlp HOT 2
- (not a bug) question about bert `create_pretraining_data.tokenize_lines()` HOT 1
- ImportError [...]/lib/python3.10/site-packages/gluonnlp/data/fast_bert_tokenizer.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send HOT 5
- Problems not being imported from colab HOT 1
- nlp version error HOT 1
- Installation Error in google Collab env with Python3.7 HOT 1
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 gluon-nlp.