i’m not sure, but you might want to try hosting on google drive instead of git-lfs
you can upload your model like this (scroll to first animated gif)
and the pull it down using this (scroll to Download Model)
I’m just about to release an inference webapp that might be a nice substitute for binder, but in the mean time, hope these snippets help. let me know if something doesn’t make sense.
I got this error when I tried to load a fastai .pkl file into the .ipynb file in Binder. Could this be an issue with uploading the model files to Google Drive, a requirements.txt issue, a runtime issue (I don’t know how Binder handles it since it didn’t process my runtime.txt file), or something else?
Thanks for the edit. I actually used Binder to build the repo, so that’s probably why some of the modules aren’t there. I’ll try it out and see if it works.
But even when I do this, I still get the error. So the problem could be with the files going through Google Drive, or a runtime.txt issue, since the file doesn’t seem to be respected by Binder.
I have no idea. I see the files in the model dir, so I don’t think that would be issue. This line makes me think it’s some kind of missing class version or something like that
AttributeError: type object ‘EnglishDefaults’ has no attribute ‘is_base_form’
Ok, thanks for your help. I’ve been talking with another person on SO (git lfs - How do I use Binder with a GitHub repo that has Git-lfs files? - Stack Overflow), and we think that if editing the runtime.txt file doesn’t work, I’ll try adding an environment.yml file. If that doesn’t work, then we think there’s probably something wrong with the files after I download them from Drive into Binder.