Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Named Entity Recognition with 92.5% of F1-Score, developed in Pytorch using PoS embeddings, Word2Vec

NotificationsYou must be signed in to change notification settings

andreabac3/NLP-Named-Entity-Recognition

Repository files navigation

The experiments on NER field let me to build the following model.The model made use of two input, one the PoS embeddings (calculated starting from the SpaCy tool) and the Word embeddings (Word2Vec 300d from Google research)I also tested the model using the Conditional Random Field, as shown in the table result below, I got a more higher score without it when I started using the PoS embeddings.

ner diagram

Check theReportand theSlide Presentation for more information.

Results

ModelDev F1 (%)Test F1 (%)
Word emb (100d) + BiLSTM78.0278.73
Word2Vec + BiLSTM80.2581.04
Word2Vec + BiLSTM + CRF88.1289.76
Pos Emb + W2v + CRF92.1192.37
Pos Emb + W2v92.2092.66

Run

test.sh is a simple bash script. To run it:

conda create -n nlp2020-hw1 python=3.7conda activate nlp2020-hw1pip install -r requirements.txtbash test.sh data/dev.tsv

Actually, you can replacedata/dev.tsv to point to a different file, as far as the target file has the same format.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp