rare-technologies / w2v_server_googlenews Goto Github PK
View Code? Open in Web Editor NEWCode for the word2vec HTTP server running at https://rare-technologies.com/word2vec-tutorial/#bonus_app
Code for the word2vec HTTP server running at https://rare-technologies.com/word2vec-tutorial/#bonus_app
When trying to run the server using "GoogleNews-vectors-negative300.bin.gz" file, it outputs this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)
I also tried with a personal trained file, and get the same error, however it's related with UTF8.
UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 0: invalid start byte
Adding the flag unicode_errors='ignore'
has no effect...
Anyone can help?
When trying to query for more than word using "most_similar", the server doesn't return any results. Original word2vec has this capability, and it will be helpful if there is any method/approach that allows it.
@piskvorky do you think it's possible to do it? And how can I do it?
Example: "Harry Potter", "iPhone 5", etc.
Thank you in advance.
I have been trying to sort this issue for almost a week. I would request any pointers to solve this issue.
the online bonus app not working for me in latest firefox or chrome (with disabled ad blockers and tracking protection)
at line 55
the server config file needs modification as well , with the file names
NAN
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.