Skip to content

icvplayer/BERT-pytorch-for-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

BERT-pytorch-for-learning

Training BERT:

python main.py

Fine tuning BERT:

(i.e. Natural Language Inference. We can use the features extracted by BERT to feed into the MLP, and through training and fine-tuning, determine whether the latter sentence can be inferred from the previous sentence. )

This is generally divided into three types: entailment, contradiction, neutral.

python fine_tuning.py

Test BERT:

You can try looking at BERT's output to see if the text pair used for the test is contextual.

python test_bert.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published