Skip to content

適当にXLNetのPre-trainedモデルで推論するためのサンプル

Notifications You must be signed in to change notification settings

tyo-yo/analyze_xlnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

analyze_xlnet

適当にXLNetのPre-trainedモデルで推論するためのサンプル

How to use

pip install sentencepiece tensorboardx

git clone https://github.com/zihangdai/xlnet.git
git clone https://github.com/tyo-yo/analyze_xlnet.git

mv analyze_xlnet/analyze_xlnet.2019.07.01.ipynb xlnet/

cd xlnet
wget https://storage.googleapis.com/xlnet/released_models/cased_L-24_H-1024_A-16.zip
unzip cased_L-24_H-1024_A-16.zip

jupyter notebook
# 後はjupyterでanalyze_xlnet.2019.07.01.ipynbを開いて実行する

Requirements

  • tensorflow
  • sentencepiece
  • tensorboardX
    • 可視化をする際にTensorboardを簡単に利用するため

Images

Imgur

Imgur

Slides

  • Coming soon!

About

適当にXLNetのPre-trainedモデルで推論するためのサンプル

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published