node-question-answering icon indicating copy to clipboard operation
node-question-answering copied to clipboard

Unable to download tokenizer. S3 link seems to be inaccessible

Open reevr opened this issue 2 years ago • 15 comments

I tried installing the npm package. One of its step includes download of the tokenizer from https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v83-linux-x64-glibc.tar.gz This seems to be inaccessible.

I am using node v12. Can you please help me with this?

reevr avatar Sep 02 '21 12:09 reevr

Bumping this issue, getting the same issue:

 ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install
npm ERR! 403 status code downloading tarball https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v102-win32-x64-unknown.tar.gz
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | win32 | x64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "C:\Users\admin\git\huggingface-qa\node_modules\tokenizers\bin-package\index.node" (not found)
npm ERR! node-pre-gyp http GET https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v102-win32-x64-unknown.tar.gz
npm ERR! node-pre-gyp http 403 https://tokenizers-releases.s3.amazonaws.com/node/0.7.0/index-v0.7.0-node-v102-win32-x64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install error

cabernal avatar Nov 12 '21 18:11 cabernal

Any updates with this issue ? I am facing the same issue. Kindly update the package with the new link.

DhairyaBahl avatar Feb 11 '22 18:02 DhairyaBahl

@SaulLu @Narsil Do you know if Node is still supported as a compilation target from huggingface/tokenizers? Also we might want to transfer this issue to that repo.

julien-c avatar Feb 11 '22 20:02 julien-c

Unfortunately I don't know either 😞

SaulLu avatar Feb 11 '22 20:02 SaulLu

tokenizers does support and provide build targets for node, 12 and 14 (not 16 atm iirc linked to us needing to do a big upgrade on the bindings side).

Everything is available through npm install tokenizers normally. Not sure what that old s3 link is.

Narsil avatar Feb 15 '22 09:02 Narsil

Downgrading to node 12 does seem to work but, as @Narsil mentioned, newer versions don't work. I also get the following deprecation warning: npm WARN deprecated [email protected]: This version has been yanked and won't be supported

Can someone provide an update on this package's future?

Correction: Node 14 also didn't work. Only 12 seems to be working

creatorrr avatar Jul 18 '22 02:07 creatorrr

@creatorrr ,

PRs are welcome. but updating to new node versions require updating to neon==latest which requires a lot of changes(didn't try yet, but it felt like a rewrite basically).

I am not going to lie, no one is dedicated specifically to tokenizers in general (as it works mostly as intended for transformers which is our biggest user). So spending time rewriting for node is not super high on the prio list right now.

PRs are very welcome if you feel like it !

Narsil avatar Jul 18 '22 14:07 Narsil

hey is this repo still active? Would love to help get this working again. Trying to get an application working with this and jumping through hoops with Node/Python just to get stuff installed.

gouldcs avatar Mar 21 '23 05:03 gouldcs

Last commit is from 3 years ago...

Narsil avatar Mar 21 '23 14:03 Narsil

@Narsil i noticed, but I see activity in issues as recent as last year. Is this package considered completely abandoned at this point?

gouldcs avatar Mar 21 '23 14:03 gouldcs

Definitely not actively maintained. tokenizers and its node bindings are, but they are in maintenance mode only (until someone wants to help redo the bindings with latest neon)

Narsil avatar Mar 21 '23 14:03 Narsil

we can archive this repo btw maybe

julien-c avatar Mar 22 '23 10:03 julien-c

@Pierrci Are you ok with archiving this ?

Narsil avatar Mar 22 '23 10:03 Narsil

if this repo is being archived, is there a newer, more reliable open source tool I can use to achieve the same behavior?

gouldcs avatar Mar 23 '23 03:03 gouldcs

For those looking for an alternative, I found @tensorflow-models/qna. Does the same thing!

gouldcs avatar Mar 23 '23 04:03 gouldcs