NLP
白酱六条
这个作者很懒,什么都没留下…
展开
-
BERT相关英文博客
1. Unsupervised Question Answering by Cloze Translation如何在其他域或者语言上无监督产生语料库,介绍了一种Cloze Translation的方法。2. Do Neural Dialog Systems Use the Conversation History Effectively?An Empirical Study3. Natura...原创 2019-10-29 20:52:43 · 660 阅读 · 0 评论 -
word2vec 中的数学原理详解
作者: peghoty出处: http://blog.csdn.net/itplus/article/details/37998797转载 2019-07-01 14:50:48 · 140 阅读 · 0 评论 -
Python高级主题教程3:Python Closures
在这篇博文中,你将学到什么是Python closure,如何定义一个closure,以及判断为什么用这个技术。1. Nonlocal variable in a nested function我们在进入closure概念之前,先理解什么是nested函数和non-local变量。定义在一个函数里面的叫nested function,能访问enclosing scope的变量。在Pytho...原创 2019-09-06 11:10:30 · 251 阅读 · 0 评论 -
Python高级主题教程1:Iterators
Iterators是可以向上迭代的对象。在这篇博客中,我们会学习到iterator如何工作,以及如何使用__iter__和__next__方法(即class中的函数)定义你自己的iterator。What are iterators in Python?Iterators在Python随处可见,for循环,comprehensions,generator等等都是用它来实现的,只是表面你看不见。...原创 2019-09-06 16:23:45 · 221 阅读 · 0 评论 -
BERT源码剖析
今天要介绍的是BERT最主要的模型实现部分-----BertModel,代码位于modeling.py模块如有解读不正确,请务必指出~1、配置类(BertConfig)这部分代码主要定义了BERT模型的一些默认参数,另外包括了一些文件处理函数。class BertConfig(object): """BERT模型的配置类.""" def __init__(self, ...原创 2019-09-09 19:23:45 · 946 阅读 · 0 评论 -
从头搭建问答(QA)系统
这这篇教程里,我们不是要搭建精度最高的模型,只是想去理解各种NLP概念,同时用代码实现,探索更多的解决方案。我始终认为要从最基本的模型出发来弄清楚问题的来龙去脉,也可以作为以后更先进模型的baseline。本教程主要分为3部分:这一部分主要介绍Facebook sentence embeddings ,在搭建QA系统时它是怎么用的。所有代码详见Github repository。SQuAD ...翻译 2019-09-17 09:01:45 · 1823 阅读 · 0 评论 -
How to create your own Question-Answering system easily with python
什么是智能问答(QA)The history of Machine Comprehension (MC) has its origins along with the birth of first concepts in Artificial Intelligence (AI). The brilliant Allan Turing proposed in his famous article ...原创 2019-09-18 17:10:28 · 759 阅读 · 0 评论