yutaroogawa / bert_japanese_google_colaboratory Goto Github PK
View Code? Open in Web Editor NEWGoogle Colaboratoryで日本語のBERTを動かす方法です。
Google Colaboratoryで日本語のBERTを動かす方法です。
記事とコードを共有していただき、ありがとうございます!
大変参考になります。
あいにく、Colabで 1_Japanese_BERT_on_Google_Colaboratory.ipynb 実行をしようとしたら、複数エラーが出てしまったので、再現できませんでした。
以下は1個目のエラーです。
m=MeCab.Tagger("-Ochasen")
や
m=MeCab.Tagger("-Oyomi")
で以下のエラーがあります。
----------------------------------------------------------
Failed initializing MeCab. Please see the README for possible solutions:
https://github.com/SamuraiT/mecab-python3#common-issues
If you are still having trouble, please file an issue here, and include the
ERROR DETAILS below:
https://github.com/SamuraiT/mecab-python3/issues
issueを英語で書く必要はありません。
------------------- ERROR DETAILS ------------------------
arguments: -Ochasen
error message: [ifs] no such file or directory: /usr/local/etc/mecabrc
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-14-a0984118ca4f> in <module>()
1 import MeCab
2
----> 3 m=MeCab.Tagger("-Ochasen")
/usr/local/lib/python3.6/dist-packages/MeCab/__init__.py in __init__(self, rawargs)
122
123 try:
--> 124 super(Tagger, self).__init__(args)
125 except RuntimeError:
126 error_info(rawargs)
RuntimeError:
NEologdの辞書を使うと問題ないです。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.