You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Miscellaneous/Word_Embedding.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,11 +44,11 @@ FastText embedding file can be downloaded from -> [https://fasttext.cc/docs/en/
44
44
45
45
Some of the simple ways for getting embedding of components formed by words like phrases, sentences, or documents are:
46
46
47
-
>Get the mean (average) of the word embeddings of the words forming that component.
47
+
1. Get the mean (average) of the word embeddings of the words forming that component.
48
48
49
-
>Concatenate the word embeddings of the words of the component. This method may not be very useful since it creates very large sized vectors, as the sequence length increases.
49
+
2. Concatenate the word embeddings of the words of the component. This method may not be very useful since it creates very large sized vectors, as the sequence length increases.
50
50
51
-
>Store and use different distribution (max, min, avg) of the word embeddings of the words forming that component.
51
+
3. Store and use different distribution (max, min, avg) of the word embeddings of the words forming that component.
52
52
53
53
There is also an approach known as ‘BERT’ to get sentence embedding, which is explained more [here].
0 commit comments