Comments (3)
I encountered this as well. Would it be possible to just add a command line argument for an option to download the hugging face model weights for the specified BERT model instead of looking for them locally?
I tried implementing this to make it easier to work on a Colab notebook. #58
from hedwig.
@richard3983 yup that's the right way to fix it. The simplest way to solve this issue would be to add the pre-trained model weights to https://git.uwaterloo.ca/jimmylin/hedwig-data
from hedwig.
Just an update. I've added the weights to the data repo (https://git.uwaterloo.ca/jimmylin/hedwig-data) so it should work out of the box now without needing the fix suggested by @mrkarezina
from hedwig.
Related Issues (20)
- Reg-LSTM HOT 1
- Calling BertTokenizer.from_pretrained() with the path to a single file or url is deprecated HOT 1
- Pretrained weights via model zoo HOT 2
- [DocBERT] Can DocBERT bin any length document without truncaiton? HOT 1
- Alternate hosting for hedwig-data HOT 8
- Fine-tuning BERT for a new dataset
- Bert Inference Issue HOT 1
- Where I can get the KD model
- Custom dataset error HOT 4
- does DocBERT freeze all BERT layers and add a fully connected layer on the top for classification?
- Killed message on trying models.reg_lstm HOT 1
- Getting AttributeError: Can't get attribute 'gelu' on <module 'transformers.modeling_bert' in "/hedwig/models/bert/__main__.py", l
- Getting impossible predicted labels (all zeroes) from custom data
- [Question] What are the "robust" datasets?
- labels of the data
- Paper of HBERT HOT 1
- Scaled embedded dropout mask HOT 1
- BUG report
- UnpicklingError with different BERT models
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 hedwig.