1>>> from gensim.models import FastText
2>>> from gensim.test.utils import common_texts # some example sentences
3>>>
4>>> print(common_texts[0])
5['human', 'interface', 'computer']
6>>> print(len(common_texts))
79
8>>> model = FastText(vector_size=4, window=3, min_count=1) # instantiate
9>>> model.build_vocab(sentences=common_texts)
10>>> model.train(sentences=common_texts, total_examples=len(common_texts), epochs=10) # train
11