Ft
FastTextEmbedding
Bases: AbstractEmbeddingModel
Class for embedding models using FastText model.
Source code in src/embedding/ft.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
get_embedding(text)
Returns the embedding of the text.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text |
str
|
|
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
|
Source code in src/embedding/ft.py
17 18 19 20 21 22 23 24 25 | |