Comments (3)
Hi!
That's definitely a very odd error. Have you tried using the mask token implicitly? E.g., like in here. The reason being is that this particular version of Gluon is based on a script that did not originally support RoBERTa-style pretraining, so we kind of had to hack our way around that.
I'm unsure if the actual mask token in Gluon+RoBERTa + this version is defined as "<MASK>"
, so perhaps you could change it to vocab.mask_token
and try again? Indeed, note how the output token is actually lowercase ("<unk>"
) on the notebook you shared.
Sorry about that!
-Adrian
PS: We never did mask prediction because Bort was not designed for that -- indeed, we have conjectured in the paper that MLM/pre-training is not something that is even needed. So, you should get "a" token (you shouldn't get the unknown token for sure!), but I'm not superduper sure if it'll be a sensible token, as you say.
from bort.
Hey hey, did it work? I checked on this page and looks like lowercasing the tokens was the way to go. Should I close this then?
from bort.
Sadly, @stefan-it and I didn't get it to work yet :-/. As you can see on this page the proposed word to fill the mask don't seem to be sensible. I tried to make it work using gluonnlp
and mxnet
in the notebook posted above without success. If you find a bit of time to make the mask-filling work in the gluonnlp
library this would be super helpful!
from bort.
Related Issues (11)
- Can't download model. HOT 1
- Pre-training-Using-Knowledge-Distillation is better than Pre-training-Only for downstream tasks? HOT 2
- The exact English pretraining data and Chinese pretraining data that are exact same to the BERT paper's pretraining data. HOT 1
- Accuracy during fine-tuning is very low (only 0.68) HOT 1
- I couldn't understand the configuration of the model. please can someone clarify? HOT 1
- Huggingface support HOT 2
- Can't download model again! HOT 1
- bort pretrain HOT 5
- Create pretraining data with multiprocessing not Implemented HOT 1
- how to train model on another language? 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 bort.