-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LMInferer
should be instantiated with a model (or model path) as a parameter
#82
Comments
Hi, thanks for your feedback, that's actually a really good point. I think though it should be the responsibility of |
Thank you again! |
Hi Gabriel, I addressed the issue in this PR. Could you please have a look and confirm that this works for you? |
Hi!
Users must download the model when instantiating the
LMInferer
(see below). In some environments (e.g. some Slurm clusters), internet access is restricted, which makeslungmask
raise an error.I suggest that the
LMInferer
class should have amodel
parameter instead of amodelname
, or at least amodelpath
parameter.Personal opinion: In my mind,
LMInferer
should not have the responsibility to load or download themodel
. I prefer the option where themodel
is given as a parameterThank you for this project :)
The text was updated successfully, but these errors were encountered: