Comments (3)
Hi! Train is the equivalent of the predict function. However, I think I will rename the function to βinferβ in a future version.
from fast_sentence_embeddings.
thank you
from fast_sentence_embeddings.
@spedygiorgio
I have included a train and a predict method. Some embeddings (SIF, uSIF) require the estimation of components, which is performed during training. If you apply infer to a new set of sentences it will only remove the components, but not re-estimate the components.
See the notebook for an example
from fast_sentence_embeddings.
Related Issues (20)
- Encounter "Divided 0 Error" HOT 3
- Paranmt Model HOT 3
- maintenance HOT 3
- Handling out of vocabulary HOT 2
- Hierarchical (Convolutional) Embeddings HOT 1
- MaxPooling Model
- Add Features to Sentencevectors
- SVD ram subsampling for SIF / uSIF
- Move Away from Travis.CI
- Refactor and benchmark IndexedSentence
- Rework Threading Input class
- Don't absorb KeyedVectors into BaseS2V class
- Add gensim 4.0.0 support HOT 5
- ImportError: cannot import name '_l2_norm' from 'gensim.models.keyedvectors HOT 2
- from the Results, CBOW is best, therefore why use SIF? HOT 1
- S3E pooling?
- out-of-vocabulary imputation? HOT 2
- Have full api document ? HOT 1
- Best way to save a fine-tuned vectorizer object for later use HOT 1
- error with fse.average function
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 fast_sentence_embeddings.