Comments (2)
In trainMode 3 as per the documentation of Starspace
trainMode = 3:
Each example contains a collection of labels. At training time, two labels from the collection are randomly picked as the LHS and RHS. Use case: learn pairwise similarity from collections of similar objects, e.g. sentence similiarity.
The error message says Do the examples contain proper feature and label according to the
so does your data have correct examples according to trainMode 3. See the source code of embed_sentencespace to see how such examples could look like.
If you want more details on the trainMode's, the best is to look at the Starspace docs at https://github.com/facebookresearch/StarSpace
from ruimtehol.
Closing. Feel free to reopen if needed.
from ruimtehol.
Related Issues (20)
- find a way to solve Inf values in starspace_embedding due to numeric overflow
- Sentence separator for labelDoc format HOT 9
- Prediction of next word in a sentence HOT 6
- see if we can use proxyC https://cran.r-project.org/web/packages/proxyC/index.html for similarities instead of the current embedding_similarity implementation HOT 1
- Is it possible to exclude similarity of e.g. sentences when predicting? HOT 8
- make function as_fasttext, using code from embed_tagspace
- allow option to use softmax to get probability-like results when using predict alongside model trained with embed_tagspace
- Running ruimtehol on R server HOT 18
- embed_tagspace produces different results within a session and when loaded (starspace_load_model) if ngrams is used HOT 11
- Problems with running ruimtehol on Windows R HOT 4
- non-virtual destructor
- example of manual calculation of embedding of doc
- Option of weighting words HOT 3
- Checkpointing: Continue model training at epoch x after saving intermediate model HOT 2
- Word embeddings HOT 6
- StarSpace Models in Shiny App HOT 8
- R CMD check FAIL on r-devel windows HOT 1
- switch to C++17 instead of C++11 as by cran policy HOT 1
- Request for sentiment scoring example HOT 1
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 ruimtehol.