Comments (2)
@KangHyeongMin thanks for point this out. I have also updated the docs in the case you want to serve a specific model:
$ cd examples/
$ export MODEL=data/lid.176.ftz
$ node server.js
model loaded
server is listening on 3000
Basically you have to export the MODEL
env to point to the model to load, after that you should be able to call http://localhost:3000/?text=LBi%20Software%20provides%20precisely%20engineered,%20customer-focused%20#HRTECH
from fasttext.js.
Closing this then since fixed by PR #8
from fasttext.js.
Related Issues (20)
- Time for scale up, fastText.Js with Redis and Clustering mode HOT 7
- better error message when .bin is not found on load() HOT 5
- Move repo to a GitHub *org* HOT 9
- async/await version HOT 3
- bug in FastText.prototype.nn() HOT 1
- calculate distance feature? HOT 4
- DeprecationWarning: Buffer() is deprecated due to security and usability issues when i move my script to another server
- Executable not found in path on Windows HOT 7
- Question : usage of pretrainedVectors? HOT 1
- Trying to get in touch regarding a security issue HOT 1
- [Question] Are the binaries provided always up to date with the latest version of fasttext ? HOT 1
- Using in the browser with WASM HOT 2
- I cannot run this project on apple M1 silicon HOT 4
- Different sentence vector compared to Python HOT 1
- npm module: loadSentence is not a function HOT 2
- Incremental training
- Fail to load WASM error HOT 7
- I like Your code in https://github.com/huggingface/tokenizers/issues/1076 HOT 4
- This package cannot be used in node.js worker thread HOT 1
- Is it library outdated?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fasttext.js.