graykode / graykode/nlp-tutorial

BERT存在两个严重问题

Open
#86 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
14.9k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

1.随机替换成词表中的其他词时应该排除[PAD],[CLS],[SEP],[MASK],否则预测模型会学会预测这些词。
2.学习率开大了,始终难以收敛,开1e-6很合适。

Contributor guide

Open the contributing guide

Research direction

The issue identifies BERT's random token replacement and learning-rate settings but names no file or test. Start by locating the BERT training notebook and the token-replacement and optimizer configuration; done means special tokens are excluded from replacement and the learning rate is 1e-6, with training behavior checked.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.