<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mete Ismayil on Medium]]></title>
        <description><![CDATA[Stories by Mete Ismayil on Medium]]></description>
        <link>https://medium.com/@mismayilza?source=rss-88e5a353b305------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JAmw-pWHVO1h6dQWIHwW8g.jpeg</url>
            <title>Stories by Mete Ismayil on Medium</title>
            <link>https://medium.com/@mismayilza?source=rss-88e5a353b305------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:36:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mismayilza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Words To Vectors]]></title>
            <link>https://medium.com/data-science/from-words-to-vectors-e24f0977193e?source=rss-88e5a353b305------2</link>
            <guid isPermaLink="false">https://medium.com/p/e24f0977193e</guid>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[bag-of-words]]></category>
            <category><![CDATA[word-embeddings]]></category>
            <category><![CDATA[text-representation]]></category>
            <dc:creator><![CDATA[Mete Ismayil]]></dc:creator>
            <pubDate>Sun, 07 Feb 2021 16:45:30 GMT</pubDate>
            <atom:updated>2021-02-09T23:46:47.399Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Intuitive Introduction to Text Representation in NLP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R-mMsV7Fn9Y6t0jv" /><figcaption>Photo by <a href="https://unsplash.com/@glencarrie?utm_source=medium&amp;utm_medium=referral">Glen Carrie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Chances are you work with data to build Machine Learning models that solve a particular task like predicting whether a customer will churn or estimating stock prices. In all these examples, data usually contains <strong>numerical features </strong>and if any features are represented in text format (such as <strong>categorical features</strong>), various encoding techniques are applied to convert them to numbers because machine learning algorithms are designed to work with numbers only. Here we actually encounter a basic attempt at turning words into numbers, but our purpose, in this case, is solely to capture the information about the <strong>textual</strong> <strong>feature, </strong>not the <strong>text </strong>itself. This is of course completely fine for the tasks mentioned above where the goal is not to understand the words but to capture a piece of knowledge those words encapsulate.</p><p>On the other hand, tasks like determining the sentiment of a customer review or predicting what word comes next in an incomplete sentence require some form of understanding words in a given text. After all, that is what we do when we attempt to solve these tasks manually, but how can we teach a computer to do these for us? This is what Natural Language Processing (NLP), a sub-branch of Artificial Intelligence (AI) is concerned with among other tasks that involve analyzing and making sense of human language. At the core of NLP though, stands a fundamental challenge of <em>text representation. </em>In other words, how can we transform the given text into some numerical form that an NLP algorithm can process and use to solve real-world tasks? Here in this article, I will outline some of the basic and advanced approaches to this foundational challenge.</p><h3>Basic approaches</h3><p><strong>Basic numbering</strong></p><p>Now, what would be the most basic and simplest approach to this problem? While you are thinking, let me suggest one. Just assign a unique number to each word in the dictionary and call it a day!</p><pre>word    | number<br>_________________<br>a       |  1<br>able    |  2<br>       ...<br>book    |  325<br>       ...<br>paper   |  1024<br>       ...<br>zoology |  5067<br>       ...</pre><p>It is a nice and simple representation, but it has one major drawback. In addition to the fact that these numbers don’t capture any meaning about the words, they, on the other hand, impose an implicit and unnecessary semantic ordering on the words. There is in fact no reason why <em>paper </em>should be assigned a greater number than <em>book </em>and a smaller number than <em>zoology. </em>ML algorithms are very sensitive to the data distribution and this representation might mislead the algorithm into thinking that <em>paper </em>is somehow a better (or worse) candidate than <em>book </em>for a certain context. So, seems like our first attempt miserably failed. What is next?</p><p><strong>Character encoding</strong></p><p>In our first attempt, we assigned <strong>arbitrary</strong> numbers to words and maybe that is the problem. Maybe we should just get a bit clever in how we choose these numbers and start thinking in terms of numbers that are somehow related to the words. In fact, one immediate idea that might come to mind here is <a href="https://en.wikipedia.org/wiki/Character_(computing)">character encoding</a>. Words are composed of characters and there is already a one-to-one mapping between the word and its character encoded representation in computers. So, what if instead of arbitrary numbers, we map each word to the number that represents its ASCII or Unicode encoding?Aha! Sounds very simple and interesting at first, but if you take a closer look, you realize that this only tells you what the word <em>is, </em>not what the word <em>means. </em>In another word (no pun intended), 97 112 112 108 101 might be an encoding for the sequence of characters <em>a p p l e (</em>it indeed is), however, it is far from a meaningful representation for the word <em>apple </em>as the mere composition of letters do not carry any inherent meaning about the word they form. This representation also suffers from the same semantic ordering problem similar to basic numbering.</p><p><strong>One-hot encoding</strong></p><p>So, it seems like we are on the right track, but instead of searching for informative number assignments, we should consider other approaches that can overcome the inherent semantic ordering problem associated with numbering. This is where the <strong>vectors </strong>come into the picture. Let’s go back to our basic numbering approach and extend it to avoid the ordering issue. So, we will still assign a unique integer to each word, but instead of keeping the number in decimal form, we will encode the number into a binary vector (vector of 0s and 1s) of size |V| where V is the vocabulary of words in a given text. This vector will have 0s everywhere except at the index corresponding to the number we assigned to the word where we will put 1. Let’s look at a simple text example to illustrate this:</p><pre>I think therefore I am.</pre><p>Given this text, our vocabulary consists of 4 words: V ={ I, think, therefore, am }. We assign a unique number to each word starting at 1:</p><pre>I   think   therefore   am<br>1     2        3        4</pre><p>Hence our new word vectors will look like below:</p><pre><strong>            1  2  3  4<br></strong>I          [<strong>1</strong>, 0, 0, 0]<br>think      [0, <strong>1</strong>, 0, 0]<br>therefore  [0, 0, <strong>1</strong>, 0]<br>am         [0, 0, 0, <strong>1</strong>]</pre><p>As you can see, there is no notion of implicit ordering among these vectors, so we have achieved a more effective and yet simple representation of words. Phew!</p><p>However, this scheme is seldom used in practice due to the following main limitations of its own:</p><ul><li>While our toy example was short, in the real world you would need to process large amounts of text with big vocabularies. Since the dimension of our one-hot encoded word vector is directly proportional to the size of the vocabulary, we will end up with large sparse vectors where most of the entries are zeroes and this is computationally inefficient to deal with. Sparsity is also prone to cause <a href="https://en.wikipedia.org/wiki/Overfitting">overfitting</a>.</li><li>Each word is treated as an independent unit and there is no concept of a relationship between words such as similarity in this representation. For example, if we take the <a href="https://en.wikipedia.org/wiki/Euclidean_distance#:~:text=In%20mathematics%2C%20the%20Euclidean%20distance,being%20called%20the%20Pythagorean%20distance.">Euclidean distance</a> or <a href="https://en.wikipedia.org/wiki/Cosine_similarity">cosine similarity</a> of any 2 vectors, we get the same result regardless of the underlying relationships between words. In other words, this representation fails to capture the semantic meaning of words with respect to other words.</li><li>There is no way of representing the new words that our vocabulary hasn’t seen before (a.k.a <em>out of vocabulary words</em>) without retraining and expanding the vocabulary.</li></ul><p><strong>Bag of words</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5lStg-j-tPd1r1ZE" /><figcaption>Photo by <a href="https://unsplash.com/@anniespratt?utm_source=medium&amp;utm_medium=referral">Annie Spratt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let’s try to follow our tradition of progressively overcoming the drawbacks of an approach to produce hopefully a better method of representation. One of the main disadvantages of one-hot encoding was the apparent lack of support for establishing semantic relationships between words. Let’s see if we can tackle this limitation by leveraging our knowledge about the semantics. When are two <strong>words</strong> semantically similar? This is actually a hard question and we will come back to this later in the article. Let’s instead entertain a different and relatively easier question. When are two pieces of <strong>text</strong> semantically similar? One intuitive and straightforward answer would be when those texts share a significant number of the same words. So, let’s try to come up with a representation that encodes this fact by transforming pieces of text (a.k.a documents) instead of individual words into vectors based on their constituent words. Similar to our previous approaches, we assign each word a unique number, but instead of representing words with these numbers, we use them and corresponding word frequencies to construct a useful representation for a given document.</p><p>More specifically, we convert each document into a vector of dimension |V| where V is our vocabulary and the element at index <em>i </em>is simply the number of times the word corresponding to the number <em>i </em>occurs in the document. Let’s look at a few examples to better grasp this concept:</p><pre>Document 1: I think therefore I am<br>Document 2: I love dogs<br>Document 3: I love cats</pre><p>Our vocabulary then is V = { I, think, therefore, am, love, dogs, cats } and let’s assign unique numbers as before:</p><pre>I   think   therefore   am   love   dogs   cats<br>1     2         3       4      5     6       7</pre><p>Then our document vectors will be:</p><pre>              I  think  therefore  am  love  dogs  cats<br>Document 1: [ <strong>2</strong>,   <strong>1</strong>,      <strong>1</strong>,      <strong>1</strong>,    0,   0,    0 ]<br>Document 2: [ <strong>1</strong>,   0,      0,      0,    <strong>1</strong>,   <strong>1</strong>,    0 ]<br>Document 3: [ <strong>1</strong>,   0,      0,      0,    <strong>1</strong>,   0,    <strong>1</strong> ]</pre><p>These vectors essentially represent the corresponding document as a <em>bag (collection) of words </em>without taking into account the context and the order of the words. If you noticed though, document 1 and document 3 vectors are very close to each other in vector space reflecting the fact that they have a lot of words in common. Indeed Euclidean distance between these documents is considerably smaller than that between for example the document 1 and document 2. Hence, this representation allows us to measure the semantic similarity of documents as opposed to one-hot encoding, but if you take an even deeper look, you will realize that this representation is not far from one-hot encoding and is in fact can be achieved by simply summing up the one-hot encoded vectors for words in the document. The real distinction here is that we are operating based on documents, not words.</p><p>While this approach seems to offer a richer, yet simple representation and in fact is commonly used in practice, especially for text classification, it suffers from a few major disadvantages:</p><ul><li>The size of our new document vectors is still determined by the vocabulary size and this means high dimensionality and sparsity problems remain active.</li><li>The new semantic similarity feature is pretty rigid and heavily relies on the literal lexicographical match between shared words. For example, vectors for documents ‘I swim’, ‘I swam’, and ‘I walked’ are all equally apart from each other in vector space even though the first two sentences are very close in meaning.</li><li>Order in sentences can substantially change the meaning, so treating sentences as a mere collection of words without order and context results in documents like “Dog ate food” and “Food ate dog” being represented with the same vector.</li><li>The out-of-vocabulary (OOV) problem is still not resolved.</li></ul><p><strong>Bag of n-grams</strong></p><p>As usual, let’s try again to remedy some of the problems of the previous approach and see where we land. One of the major issues with the <em>bag of words </em>method seemed to be the lack of order and context. Can you think of a simple way to capture these concepts? Let’s step back a bit and identify the root cause of the problem. The reason the <em>bag of words </em>approach lacked context was because of its treatment of words as independent, atomic units. Context on the other hand typically can not be determined from one word, but rather emerges in presence of word sequences. So, instead of representing a document as a bag of individual words, let’s look at it as a bag of contiguous word sequences (a.k.a <em>n-grams) </em>of some fixed size, hence capturing some context. Then our vocabulary will consist of n-grams and as before we will assign a unique number to each vocabulary item and represent the documents with vectors encoding the frequencies of those items present in the document. Let’s apply this concept to our documents mentioned above. If we break each document into chunks of 2 contiguous words (i.e 2-gram or bigram), we get the following vocabulary:</p><p>V = { I think, think therefore, therefore I, I am, I love, love dogs, love cats }</p><p>Then we assign a unique number to each vocabulary member:</p><pre>I think:         1<br>think therefore: 2<br>therefore I:     3<br>I am:            4<br>I love:          5<br>love dogs:       6<br>love cats:       7</pre><p>Now we can construct our bigram vectors for each document:</p><pre>              <strong>1  2  3  4  5  6  7</strong><br>Document 1: [ <strong>1</strong>, <strong>1</strong>, <strong>1</strong>, <strong>1</strong>, 0, 0, 0 ]<br>Document 2: [ 0, 0, 0, 0, <strong>1</strong>, <strong>1</strong>, 0 ]<br>Document 3: [ 0, 0, 0, 0, <strong>1</strong>, 0, <strong>1 </strong>]</pre><p>If you noticed, our previous <em>bag of words </em>approach was simply a special case of the <em>bag of n-grams </em>where n=1. We also looked at one of the most commonly used cases of this approach called a <strong><em>bigram</em></strong> representation. Another popular case is called the not surprisingly <strong><em>trigram</em></strong> model where n=3. As you can see, extending our notion of what constitutes a better representative for semantic meaning in a document helped us to capture more context. In fact, bigger values of <strong><em>n</em></strong><em> </em>incorporates even more context, however, results in more sparse vectors. In general, the <em>bag of n-grams </em>approach with n=2,3 is preferred over the <em>bag of words </em>method due to its contextual advantages, but other issues like high vector dimensionality, sparsity, and lack of support for OOV (out of vocabulary) words still render it less effective for practical purposes.</p><p><strong>TF-IDF</strong></p><p>Let’s look at one last basic vectorization approach before moving onto more advanced ones. This time let’s consider a different aspect of words in a document to inform our vector representation. We are still in search of a meaningful representation for a document and the question is what else characterizes a document? Ok, imagine you are given a text such as this article and told to summarize it with a few keywords. How would you go about it? Would you simply report the top 5 most frequent words? Probably not, because you will most likely end up with words like <em>am, are, is, like, the, this, that </em>(a.k.a <em>stopwords</em>). So, you would instead look for words that are overall more <strong>important </strong>to the document, right? For example, <em>text representation </em>and <em>word vectorization </em>would be good candidates to represent this article. This is the core idea behind our next representation method. Instead of assigning arbitrary numbers, we want to associate each word in the document with some sort of importance or relevance score and represent the document with a vector of these scores. Now the question becomes how does one calculate these scores? Before jumping into the formulas let’s understand the intuition behind them. Our purpose is to devise a formula that will spit out a higher score for important words (a.k.a <em>terms</em>) in the document than the less important ones. We know that words that are important to some document might occur frequently in that document (most of the time rarely though), however, almost always relatively much less than the stopwords. This means that the <strong>term frequency (TF) </strong>is not simply sufficient to denote the importance and in fact, is wrong most of the time. However, it is a necessary bit of information that we would like use to compute the final score. So, let’s try to adjust this value for our purpose. We essentially need to multiply this TF score with another score that is much lower for stopwords and higher for important terms. And this new multiplier is known as <strong>inverse document frequency (IDF) </strong>score which essentially relies on the simple realization that stopwords not only occur frequently in <strong>one</strong> document but in <strong>all</strong> documents. So, if we simply take the inverse of the frequency of documents that a word occurs in, then this value ought to be higher for important words as they are most likely present only in their relevant documents (so fewer documents). Hence, we get the following formula to compute a score for each term <em>t</em> in a given document <em>d:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t86nbWw7pdpvoDIEaKg9Jg.png" /><figcaption>source: author</figcaption></figure><p>Where each function is defined as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2hHBHzSxl0uwGnZSimCSA.png" /><figcaption>source: author</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CmICrvIyPlZjqeeEho6mlQ.png" /><figcaption>source: author</figcaption></figure><p>Here if you noticed, we take the <em>log </em>of the inverse frequency and the reason for that is to penalize significantly large values which we would get for extremely rare terms such as misspelled words.</p><p>Now that we have come up with the scoring method for our representation, let’s apply it to one of our documents (<em>document 2</em>) to see it in practice. Note that we have 3 documents and <em>document 2</em> has 3 terms in total.</p><pre><strong>word   TF score     IDF score          TF-IDF score</strong><br>I      1/3 = 0.33   log(3/3) = 0       0.33 * 0 = 0<br>love   1/3 = 0.33   log(3/2) = 0.18    0.33 * 0.18 = 0.059     <br>dogs   1/3 = 0.33   log(3/1) = 0.48    0.33 * 0.48 = 0.158</pre><pre>                    I   think   therefore   am   love   dogs   cats<br>Document 2 vector: [0     0        0        0    0.059  0.158    0]</pre><p>As you can see, we ended up with the lowest value for the word <em>I </em>which is not central to the document considered while the higher values were awarded to more relevant words. This means TF-IDF representation also allows us to measure semantic similarity between documents and while it is commonly used for NLP applications like text classification and information retrieval, it still suffers from fundamental drawbacks such as high-dimensionality, sparsity, and inability to handle OOV words.</p><h3><strong>Advanced approaches</strong></h3><p><strong>Word embeddings</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sXNXYfAqfLUeiDXPCo130w.png" /><figcaption>source: <a href="https://developers.google.com/machine-learning/crash-course/embeddings/translating-to-a-lower-dimensional-space">developers.google.com</a></figcaption></figure><p>We have come a long way in search of a meaningful representation for words and we have seen some interesting foundational approaches, yet we have been unable to escape the curse of high dimensionality and sparsity. Previous representations also seem to fail to encapsulate the true semantic meaning of the words. Can we do better? Let’s revisit the hard question we posed, but conveniently avoided earlier in the article: When are two words semantically similar? Let’s decouple the notion of semantic similarity a little bit. How do we determine if two words are similar? For example, are the words <em>man </em>and <em>woman </em>similar? Certainly yes as both refer to human beings. Aha! So, in the context of human beings, these words are <strong><em>semantically similar</em></strong><em>. </em>By this analogy, other words like <em>king, queen, boy, </em>and<em> girl </em>are also equally related in the same context. But if we switch the context, say, to be in terms of sex, then suddenly these terms do not seem to share the same degree of similarity. Clearly, in this context, <em>man </em>is more similar to <em>boy </em>than <em>woman </em>which is on its own more similar to <em>girl </em>than <em>man. </em>So, what can we conclude from this observation? It is that context plays a pivotal role in determining semantic similarity. So, following this reasoning, if we were somehow able to encode these contexts into a vector of numbers, then resulting vectors would be far more representative of their corresponding words than what we have seen so far. Let me illustrate it by an example. I am going to construct some fictitious vector for each of the words mentioned above (plus some additional words) based on the following contexts:</p><ol><li>Is it a human being?</li><li>Is it male?</li><li>Is it female?</li><li>Is it a state ruler?</li><li>Is it inanimate?</li></ol><pre><strong>word/context   1.    2.    3.     4.    5.</strong><br>king         [ 0.9   1     0      1     0 ]<br>queen        [ 0.9   0     1      1     0 ]<br>man          [ 1     1     0      0.5   0 ]<br>woman        [ 1     0     1      0.5   0 ]<br>boy          [ 1     1     0      0.5   0 ]<br>girl         [ 1     0     1      0.5   0 ]<br>book         [ 0     0     0      0     1 ]<br>paper        [ 0     0     0      0     1 ]</pre><p>Here the values in each dimension represent the degree of our belief about the relatedness of the word to the context being considered. As you can see, words that are semantically similar in some context are also close to each other in the vector space on the dimension associated with the same context. Now notice what is fundamentally different about this vector. Its dimension is no longer correlated with the size of our vocabulary, but rather with the number of contexts (features) which is usually significantly smaller and this means we can represent the words with low-dimensional, dense vectors that at the same time offers the crucial benefit of detecting semantic similarity. But benefits actually do not end here. This representation also allows us to answer other interesting questions about the linguistic patterns. For example, we can ask <em>man is to king as woman is to what? </em>The linguistic answer is <em>queen, </em>and you can actually arrive at this answer by manipulating the vectors as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bh82dhA3Remp7R0UnPFUCg.png" /></figure><p>This also intuitively makes sense in the way that if you remove the manliness from the <em>king, </em>you should be left with the pure concept of royalty, and adding womanliness feature to this result should give you a <em>queen. </em>Bingo!</p><p>So, now we have at our hand an ingenious approach that represents the words in a more semantically intuitive fashion with compact vectors (a.k.a <em>word embeddings)</em>, the question becomes how do we actually come up with these vectors? We looked at a small sample corpus with a few contexts, but in real-world of humongous vocabularies, manually generating these vectors would be nearly impossible. Also, it is not clear how many contexts we should be considering for vector dimension. In 2013, a revolutionary work by Mikolov et al. [1] showed that a neural network based representation model called “word2vec” can achieve the results shown in the examples above. This model learns word embeddings of a given dimension (a hyperparameter) based on the large amounts of text, however, the learned vectors are not as interpretable as the ones used in the example in the sense that what type of context each dimension represents is not quite clear from looking at the vectors. I won’t go into the details of how the model works (maybe a future post), but the core idea behind paper’s proposed model architectures also relies on the importance of <strong>context</strong>. Their “Continuous Bag of Words” approach essentially tries to predict the word in a sentence given the words around it as a context while the “SkipGram” approach does the opposite and infers the context for a given word.</p><p>While word embeddings representation resolved most of the key problems with the basic approaches, one issue namely the ability to handle OOV words is still not covered. To address this problem, one popular technique called “fastText” [6] has offered an interesting modification to the word embedding training by using information about the word parts such as morphological properties (e.g. prefixes, suffixes, etc.). The key idea behind this method is to represent a word by its constituent character n-grams and to learn embeddings for words and character n-grams together. To produce an embedding for a word we have never seen, say, <em>parochial, </em>we break it into its character n-grams like <em>par, aro, roc, och, …, ial </em>and combine embeddings for these n-grams to generate an embedding for the word <em>parochial.</em></p><p>The word embeddings approach has proved to be a foundational building block for NLP and has inspired more sophisticated text representation schemes since then. One of them which is called “Doc2Vec” [2] has extended “word2vec” approach to directly learn representations for texts of arbitrary lengths. In the last few years, more global (GloVe [3]) and contextual word representations (ELMo [4], BERT [5]) have been introduced that address the word ambiguity problem (i.e. representing words that mean different things in different contexts such as homonyms) among others associated with the simple word embeddings. These representations are pretty involved and warrant their own separate blog posts.</p><h3><strong>Conclusion</strong></h3><p>In this article, I tried to shed light on the motivation and intuition behind some of the basic and advanced vectorization approaches to text representation in NLP. I discussed the advantages and disadvantages of various techniques and how they are connected. Neural text representation continues to be an evolving area of NLP with a rapidly changing state of the art, nevertheless, at the core of all these advancements lie the foundational ideas discussed in this post.</p><p><strong>References</strong></p><p>[1] <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Mikolov%2C+T">Tomas Mikolov</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Chen%2C+K">Kai Chen</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Corrado%2C+G">Greg Corrado</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Dean%2C+J">Jeffrey Dean</a>, <a href="https://arxiv.org/abs/1301.3781">Efficient Estimation of Word Representations in Vector Space</a> (2013)</p><p>[2] <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Le%2C+Q+V">Quoc V. Le</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Mikolov%2C+T">Tomas Mikolov</a>, <a href="https://arxiv.org/abs/1405.4053">Distributed Representations of Sentences and Documents</a> (2014)</p><p>[3] Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. <a href="https://nlp.stanford.edu/pubs/glove.pdf">GloVe: Global Vectors for Word Representation</a>.</p><p>[4] <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Peters%2C+M+E">Matthew E. Peters</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Neumann%2C+M">Mark Neumann</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Iyyer%2C+M">Mohit Iyyer</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Gardner%2C+M">Matt Gardner</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Clark%2C+C">Christopher Clark</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Lee%2C+K">Kenton Lee</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Zettlemoyer%2C+L">Luke Zettlemoyer</a>, <a href="https://arxiv.org/abs/1802.05365">Deep contextualized word representations</a></p><p>[5] <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Devlin%2C+J">Jacob Devlin</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Chang%2C+M">Ming-Wei Chang</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Lee%2C+K">Kenton Lee</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Toutanova%2C+K">Kristina Toutanova</a>, <a href="https://arxiv.org/abs/1810.04805">BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</a></p><p>[6] <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Bojanowski%2C+P">Piotr Bojanowski</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Grave%2C+E">Edouard Grave</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Joulin%2C+A">Armand Joulin</a>, <a href="https://arxiv.org/search/cs?searchtype=author&amp;query=Mikolov%2C+T">Tomas Mikolov</a>, <a href="https://arxiv.org/abs/1607.04606">Enriching Word Vectors with Subword Information</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e24f0977193e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/from-words-to-vectors-e24f0977193e">From Words To Vectors</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>