Comments (3)
Hi @MoazAlkharfan! Looks like you are loading unsupervised vectors, but trying to predict a label as it was a supervised model. Check out this tutorial: https://github.com/facebookresearch/fastText/blob/master/docs/supervised-tutorial.md.
With an unsupervised model you can use wrapper method GetSentenceVector
to convert arbitrary text to an array of float
s.
from fasttext.netwrapper.
check if the model path is correct? "Model not loaded!" error returns when the path is incorrect.
from fasttext.netwrapper.
In version 1.0.34 I've added more granular checks so that an exception is thrown when unsupervised model is used for classification.
from fasttext.netwrapper.
Related Issues (20)
- [Linux] Library overwrite. HOT 4
- Query for nearest neighbors using an unsupervised model HOT 12
- Add license information HOT 1
- Different results from the command line fasttext HOT 1
- Missing the "test" function from original fasttext library HOT 2
- Training ist not possible with pretrained vectors (throws exception) HOT 2
- API redesign, new features HOT 1
- Unable to load DLL 'fasttext' (newbie question) HOT 4
- NuGet Package 1.1.0 not working HOT 3
- 'The process cannot access the file '...\FastText\bin\Debug\netcoreapp3.1\fasttext.dll' because it is being used by another process.' HOT 3
- Failed to load DLL HOT 2
- Trainintg callbacks? HOT 2
- How to convert vector to word? HOT 1
- Error calling from WCF HOT 2
- Callbaks. Again. HOT 5
- Windows 32 bit native resource HOT 2
- Unsupervised training callbacks don't work with Microsoft.NET.Sdk.Web SDK
- Problems with implementation in Docker HOT 6
- Problems with native libraries in a service published as Portable
- Unable to find an entry point named 'CreateFastText' in shared library 'fasttext'. HOT 2
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.netwrapper.