Skip to content

bionlp-hzau/Embedding-experiment-in-BioNLP-course

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedding-experiment-in-BioNLP-course

1. Data preparation.

unzip data/litcovid-trainingdata.zip

2. Environmental preparation.

If pytorch installation fails, please use the official website command line to install.

pip3 install -r requirements.txt

3. Quick start.

3.1 Word2Vec-base.

You can pursue a better embedding effect by modifying the parameter part of the code, such as train_size, embedding_size, batch_size, learning_rage, etc.

python3 Skip_Gram_basic.py

3.2 Bert

python3 Bert_4_Litcovid_WordEmbedding.py

About

Embedding experiment in BioNLP course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%