when i'm trying to train a text classifier using pretrainedVectors: ./wiki.da.vec' resulting in model having size 2.79 GB and taking more time than usual.
var fastText = new FastText({
serializeTo: './output_model',
trainFile: './input.txt',
debug: true,
train: {
dim: 300,
pretrainedVectors: './wiki.da.vec'
}
});
Did the same with fasttext python library
model = fasttext.train_supervised('input.txt', dim=300, pretrainedVectors='wiki.da.vec',verbose=4)
And getting model with size 300+ MB and giving proper classification.
when i'm trying to train a text classifier using
pretrainedVectors: ./wiki.da.vec'
resulting in model having size 2.79 GB and taking more time than usual.Did the same with fasttext python library
model = fasttext.train_supervised('input.txt', dim=300, pretrainedVectors='wiki.da.vec',verbose=4)
And getting model with size 300+ MB and giving proper classification.
Did i miss anything while using fasttext.js ?