hezar.embeddings package¶
Submodules¶
- hezar.embeddings.embedding module
Embedding
Embedding.build()
Embedding.config_filename
Embedding.doesnt_match()
Embedding.filename
Embedding.from_file()
Embedding.get_normed_vectors()
Embedding.index2word()
Embedding.load()
Embedding.most_similar()
Embedding.push_to_hub()
Embedding.required_backends
Embedding.save()
Embedding.similarity()
Embedding.subfolder
Embedding.torch_embedding()
Embedding.train()
Embedding.vectors
Embedding.vectors_filename
Embedding.vocab
Embedding.word2index()
Embedding.word_vectors
- hezar.embeddings.fasttext module
FastText
FastTextConfig
FastTextConfig.name
FastTextConfig.dataset_path
FastTextConfig.vector_size
FastTextConfig.window
FastTextConfig.alpha
FastTextConfig.min_count
FastTextConfig.seed
FastTextConfig.workers
FastTextConfig.min_alpha
FastTextConfig.train_algorithm
FastTextConfig.cbow_mean
FastTextConfig.epochs
FastTextConfig.alpha
FastTextConfig.cbow_mean
FastTextConfig.dataset_path
FastTextConfig.epochs
FastTextConfig.min_alpha
FastTextConfig.min_count
FastTextConfig.name
FastTextConfig.seed
FastTextConfig.train_algorithm
FastTextConfig.vector_size
FastTextConfig.window
FastTextConfig.workers
- hezar.embeddings.word2vec module
Word2Vec
Word2VecConfig
Word2VecConfig.name
Word2VecConfig.dataset_path
Word2VecConfig.vector_size
Word2VecConfig.window
Word2VecConfig.alpha
Word2VecConfig.min_count
Word2VecConfig.seed
Word2VecConfig.workers
Word2VecConfig.min_alpha
Word2VecConfig.cbow_mean
Word2VecConfig.epochs
Word2VecConfig.train_algorithm
Word2VecConfig.save_format
Word2VecConfig.alpha
Word2VecConfig.cbow_mean
Word2VecConfig.dataset_path
Word2VecConfig.epochs
Word2VecConfig.min_alpha
Word2VecConfig.min_count
Word2VecConfig.name
Word2VecConfig.save_format
Word2VecConfig.seed
Word2VecConfig.train_algorithm
Word2VecConfig.vector_size
Word2VecConfig.window
Word2VecConfig.workers