
NLP
知之之
这个作者很懒,什么都没留下…
展开
-
word2vec实现 注释
import tensorflow as tfimport numpy as npimport collectionsimport mathimport randomimport zipfileimport urllib.requestimport matplotlib.pyplot as pltfrom sklearn.manifold import TSNEimport osurl = "http://mattmahoney.net/dc/"# 下载数据def maybe_原创 2020-12-09 16:25:47 · 184 阅读 · 0 评论 -
记录学到的新API
目录PythonurllibosnpPython if os.path.exists(filename) is False: #is Falseurlliburllib.request.urlretrieve(url + filename, filename)osstatinfo = os.stat(filename) #Perform a stat system call on the given path.npnp.random.choice(valid_window, vali原创 2020-12-08 20:14:30 · 93 阅读 · 0 评论 -
深度之眼-word2vec学习总结
语言模型:预测一个序列是句子的概率。前人提出的有:n-gram,概率,专家语言模型的实质是多分类任务。类别总数为词典大小。困惑度越低越好。原创 2020-12-03 18:49:47 · 259 阅读 · 0 评论 -
大话注意力机制(Attention Mechanism)
大话注意力机制(Attention Mechanism)原创 2020-09-25 16:36:35 · 112 阅读 · 0 评论 -
Syntax 和 Grammar 有何区别
作者:姜振华链接:https://www.zhihu.com/question/31370551/answer/53111865来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。Grammar is the study of rules governing the use of language. The set of rules governing a particular language is the grammar of that language; thus,原创 2020-09-25 16:01:13 · 2548 阅读 · 0 评论 -
WordNet介绍
WordNet介绍原创 2020-09-25 09:37:14 · 1209 阅读 · 0 评论