matlab-deep-learning / transformer-models

Deep Learning Transformer models in MATLAB
Other
199 stars 60 forks source link

bert model function m-help should explain what "parameters" input is #24

Open vpapanasta opened 2 years ago

bwdGitHub commented 2 years ago

Yeah we could at least say parameters should be mdl.Parameters where mdl = bert(...). We don't mention this in the readme either.

Of course you could create parameters from scratch too, but I never added a handy function to do that. And the FinBERT parameters should work too (see finbert.model is just a simple wrapper to bert.model). So I'd want to somehow say using mdl=bert(...) is sufficient but not necessary.