

GitHub - Kyubyong/bert_ner: Feature Based Ner with Bert
source link: https://github.com/Kyubyong/bert_ner
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
PyTorch Implementation of Feature Based NER with pretrained Bert
I know that you know BERT. In the great paper, the authors claim that the pretrained models do great in NER without fine-tuning. It's even impressive, allowing for the fact that they don't use any prediction-conditioned algorithms like CRF. We try to reproduce the result in a simple manner.
Requirements
- python>=3.6 (Let's move on to python 3 if you still use python 2)
- pytorch==1.0
- pytorch_pretrained_bert==0.6.1
- numpy>=1.15.4
Training & Evaluating
- STEP 1. Run the command below to download conll 2003 NER dataset.
bash download.sh
It should be extracted to conll2003/
folder automatically.
- STEP 2. Run the command below to train and evaluate.
python train.py
Results in the paper
Results
- You can check the classification outputs in checkpoints.
Recommend
-
206
Pytorch Exercises Pytorch is one of the most popular deep learning libraries as of 2017. One possible way of familiarizing yourself with it, I think, is to practice with simple quizzes. That's where this project comes in. The outline will...
-
177
Files Permalink Latest commit message Commit time
-
140
NumPy Exercises In numerical computing in python, NumPy is essential. I'm writing simple (a few lines for each problem) but hopefully helpful exercises based on each of numpy's functions. The outline will be as follows. Array...
-
133
dc_tts - A TensorFlow Implementation of DC-TTS: yet another text-to-speech model
-
100
README.md A TensorFlow Implementation of Expressive Tacotron This project aims at implementing the paper, Towards End-to-End Prosody Transfer for Expr...
-
70
README.md
-
18
NER with little data? Transformers to the rescue! 12/14/20 by ...
-
21
在线中文命名实体识别 ( NER ) 的工具
-
6
Introduction With transformers becoming essential for many NLP tasks thanks to their un...
-
6
【HanLP】NER流程 2021年05月15日 Author:Guofei 文章归类: 2-4-NLP 文章编号: 341
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK