Skip to content

Instantly share code, notes, and snippets.

View 20200920_BERTが何をしているかを掘り下げる.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / script.py
Last active Sep 19, 2020
学習済みBERTモデルのパラメータ数を数える.
View script.py
from transformers import BertModel
def main():
# 利用する学習済みBERTモデルの名前を指定する.
model_name = 'bert-large-cased'
# 学習済みモデルのインスタンスを生成する.
model = BertModel.from_pretrained(
pretrained_model_name_or_path=model_name,
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 13, 2020
LSTM / GRU で Sequential MNIST を学習する(GRU の学習の確認)
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Last active Sep 12, 2020
TrellisNet(その1)
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 10, 2020
文字レベル Penn Treebank と TrellisNet
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 9, 2020
G2-LSTM のノイズをみる
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 7, 2020
LSTM / GRU で Sequential MNIST を学習する
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 6, 2020
TCN で Sequential MNIST を学習する
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / Untitled.ipynb
Created Sep 4, 2020
LSTM で足し算する
View Untitled.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20200616.ipynb
Created Jun 14, 2020
日本語の学習済み BERT モデルをインポートしてみる
View 20200616.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.