Skip to content

choran/sentencepiece

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SentencePiece

This is the code for the SentencePiece Demo.

If you want to run the code locally you can follow the below steps to install the necessary libraries and get the test dataset we use to train our models. Alternatively, you can use this repo to run the code on FloydHub where the dataset is already configured and ready to go.

Install SentencePiece

pip3 install sentencepiece

Download the corpus

Download the data from the blog corpus. You can download it via the notebook or the cmd line.
Remember, whatever you use, you need to unzip it and remember the relevant directory.

wget http://www.cs.biu.ac.il/~koppel/blogs/blogs.zip

About

This is the code for the SentencePiece Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published