GithubHelp home page GithubHelp logo

nn-dl-tasks's Introduction

任务一:基于机器学习的文本分类

1.实现基于logistic/softmax regression的文本分类
2.实现要求:NumPy
3.需要了解的知识点:
文本特征表示:Bag-of-Word,N-gram
分类器:logistic/softmax regression,损失函数、(随机)梯度下降、特征选择
数据集:训练集/验证集/测试集的划分
4.实验:
分析不同的特征、损失函数、学习率对最终分类性能的影响
shuffle 、batch、mini-batch

任务二:基于深度学习的文本分类

1.熟悉Pytorch,用Pytorch重写《任务一》,实现CNN、RNN的文本分类;
2.word embedding 的方式初始化/随机embedding的初始化方式/用glove 预训练的embedding进行初始化
3. CNN/RNN的特征抽取/词嵌入/Dropout

任务三:基于注意力机制的文本匹配

1.输入两个句子判断,判断它们之间的关系。参考ESIM(可以只用LSTM,忽略Tree-LSTM),用双向的注意力机制实现。
2.数据集:https://nlp.stanford.edu/projects/snli/
3.Pytorch
4.注意力机制
token2token attetnion

任务四:基于LSTM+CRF的序列标注

1.用LSTM+CRF来训练序列标注模型:以Named Entity Recognition为例。
2.数据集:CONLL 2003
3.Pytorch
4.评价指标:precision、recall、F1
无向图模型、CRF

任务五:基于神经网络的语言模型

用LSTM、GRU来训练字符级的语言模型,计算困惑度
语言模型:困惑度等
文本生成

nn-dl-tasks's People

Contributors

kittyuzu1207 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.