Difference between revisions of "Continuous Bag-of-Words (CBoW)"

From
Jump to: navigation, search
m (BPeat moved page Continuous Bag-of-Words (CBOW) to Continuous Bag-of-Words (CBoW) without leaving a redirect)
m (Text replacement - "http:" to "https:")
Line 5: Line 5:
 
|description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools  
 
|description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools  
 
}}
 
}}
[http://www.youtube.com/results?search_query=Continuous+Bag+Words+cbow+nlp+natural+language YouTube search...]
+
[https://www.youtube.com/results?search_query=Continuous+Bag+Words+cbow+nlp+natural+language YouTube search...]
[http://www.google.com/search?q=Continuous+Bag+Words+cbow+nlp+natural+language ...Google search]
+
[https://www.google.com/search?q=Continuous+Bag+Words+cbow+nlp+natural+language ...Google search]
  
 
* [[Bag-of-Words (BoW)]]
 
* [[Bag-of-Words (BoW)]]
Line 13: Line 13:
 
* [[Skip-Gram]]
 
* [[Skip-Gram]]
  
The CBOW model architecture tries to predict the current target word (the center word) based on the source context words (surrounding words). Considering a simple sentence, “the quick brown fox jumps over the lazy dog”, this can be pairs of (context_window, target_word) where if we consider a context window of size 2, we have examples like ([quick, fox], brown), ([the, brown], quick), ([the, dog], lazy) and so on. Thus the model tries to predict the target_word based on the context_window words. [http://towardsdatascience.com/understanding-feature-engineering-part-4-deep-learning-methods-for-text-data-96c44370bbfa A hands-on intuitive approach to Deep Learning Methods for Text Data — Word2Vec, GloVe and FastText | Dipanjan Sarkar - Towards Data Science]
+
The CBOW model architecture tries to predict the current target word (the center word) based on the source context words (surrounding words). Considering a simple sentence, “the quick brown fox jumps over the lazy dog”, this can be pairs of (context_window, target_word) where if we consider a context window of size 2, we have examples like ([quick, fox], brown), ([the, brown], quick), ([the, dog], lazy) and so on. Thus the model tries to predict the target_word based on the context_window words. [https://towardsdatascience.com/understanding-feature-engineering-part-4-deep-learning-methods-for-text-data-96c44370bbfa A hands-on intuitive approach to Deep Learning Methods for Text Data — Word2Vec, GloVe and FastText | Dipanjan Sarkar - Towards Data Science]
  
http://miro.medium.com/max/542/1*d66FyqIMWtDCtOuJ_GcqAg.png
+
https://miro.medium.com/max/542/1*d66FyqIMWtDCtOuJ_GcqAg.png
  
 
<youtube>yBmtXtVya9A</youtube>
 
<youtube>yBmtXtVya9A</youtube>

Revision as of 06:21, 28 March 2023

YouTube search... ...Google search

The CBOW model architecture tries to predict the current target word (the center word) based on the source context words (surrounding words). Considering a simple sentence, “the quick brown fox jumps over the lazy dog”, this can be pairs of (context_window, target_word) where if we consider a context window of size 2, we have examples like ([quick, fox], brown), ([the, brown], quick), ([the, dog], lazy) and so on. Thus the model tries to predict the target_word based on the context_window words. A hands-on intuitive approach to Deep Learning Methods for Text Data — Word2Vec, GloVe and FastText | Dipanjan Sarkar - Towards Data Science

1*d66FyqIMWtDCtOuJ_GcqAg.png