Google Response Format Has Changed
As a few other issues seem to be noticing, Google's format for responding to Google Doc API download requests has changed. This has broken the download_file_from_google_drive function, which makes most of the package unusable since the model params cannot be downloaded successfully.
I was able to circumvent this problem by making a quick change to the seq_modeling.downloads.download_file_from_google_drive function, just by adding these lines at the bottom of the function:
saved_size = os.path.getsize(destination)
if saved_size < 10000:
response = session.get(URL, params={'id': id, 'confirm': 't'}, stream = True)
save_response_content(response, destination)
I haven't tested very much, so I'm not sure if one could just drop the confirm: t param into all requests, regardless of whether confirmation is actually necessary.
There is a "virus scan" notification before downloading the file. if you understand the consequences of ignoring that and loading the full model (not only the weights), feel free to use it from this fork https://github.com/fsan/neuspell