Skip to content

Commit 0750b4f

Browse files
Shurui ZhangShurui Zhang
Shurui Zhang
authored and
Shurui Zhang
committed
2 parents 78d6850 + 6e72c4d commit 0750b4f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
注意本代码还在完善中, 我会再添加一些注释和指引, 方便小伙伴们学习, 如果你有任何问题, 请提issue或者直接在B站给我留言.
2+
3+
BERT_tutorial文件夹内容为一个项目, 可以从pycharm里打开:
4+
模型为PyTorch搭建:
5+
是在开源项目 https://github.com/huggingface/pytorch-transformers 的基础上修改而来.
6+
文件夹内的transformer_2_tutorial.ipynb为文字版教程.
7+
情感分析模型下载地址:
8+
链接:https://pan.baidu.com/s/1f9M9xjJJBf4C5XHlmD2Fbw 密码:jb8c
9+
下载之后请将sentiment.model.epoch.418文件放入BERT_tutorial文件夹根目录下的sentiment_state_dict文件夹, 方可执行Sentiment_Inference来测试情感分类模型.
10+
11+
维基百科语料预训练BERT模型下载地址:
12+
链接:https://pan.baidu.com/s/1IbNWTcJDMWAC3JEs28pmnA 密码:jf5w
13+
你如果想重新训练情感分类模型, 需要把BERT模型放入BERT_tutorial文件夹根目录下的bert_state_dict文件夹内.
14+
15+
维基百科训练语料下载地址:
16+
训练集:
17+
链接:https://pan.baidu.com/s/1fXRlhhAPDdOJXGJhfgfpoQ 密码:u49e
18+
测试集:
19+
链接:https://pan.baidu.com/s/1Q_ccloyTMONURmodpzeJ4A 密码:4s9w

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# a_journey_into_math_of_ml
22
### 机器学习之数学之旅系列课程:
3+
作者邮箱: [email protected]
34
__视频讲解频道__:
45
**youtube**:
56
https://www.youtube.com/channel/UCZ4Rpk5ilk5w1uO3KRNaYBg
@@ -26,3 +27,9 @@ https://zhuanlan.zhihu.com/c_1018534554512035840
2627
| 视频讲解: [B站讲解](https://www.bilibili.com/video/av56033745/) / [youtube](https://www.youtube.com/watch?v=-rqGPD06Ifs&t=5s) |
2728
| 书面教程: [汉语自然语言处理-从零解读碾压循环神经网络的transformer模型(一)](https://github.com/aespresso/a_journey_into_math_of_ml/tree/master/03_transformer_tutorial_1st_part) |
2829
| 视频讲解: [B站讲解](https://www.bilibili.com/video/av58239477/) / [youtube](https://www.youtube.com/watch?v=wLKsaZWeuCM) |
30+
| 书面教程: [汉语自然语言处理-BERT的解读语言模型预训练与实践应用-transformer模型(二)](https://github.com/aespresso/a_journey_into_math_of_ml/tree/master/04_transformer_tutorial_2nd_part) |
31+
| 视频讲解: [B站讲解](https://www.bilibili.com/video/av60168891/) / [youtube]() |
32+
| 书面教程: 汉语自然语言处理-HMM与命名实体识别NER-制作中 |
33+
| 视频讲解: |
34+
| 书面教程: 汉语自然语言处理-维特比算法-制作中 |
35+
| 视频讲解: |

0 commit comments

Comments
 (0)