Skip to content

Instantly share code, notes, and snippets.

@CookieBox26
CookieBox26 / 20210214_Informer.ipynb
Created February 13, 2021 15:32
Informer を動かすだけ
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20210213_Informer_Inputs.ipynb
Created February 12, 2021 15:50
Informer のエンコーダとデコーダへの入力の期間を確認するだけ
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20210206_TCN_Sequential_MNIST.ipynb
Created February 6, 2021 14:30
TCN による Sequential MNIST の学習
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20210206_GRU_Sequential_MNIST.ipynb
Created February 6, 2021 07:41
GRU による Sequential MNIST の学習
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20210130_線形モデルのベイズ推定.ipynb
Created January 30, 2021 14:58
20210130_線形モデルのベイズ推定.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20200920_BERTが何をしているかを掘り下げる.ipynb
Created September 19, 2020 16:00
BERTが何をしているかを掘り下げる
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 September 19, 2020 16:39
学習済みBERTモデルのパラメータ数を数える.
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 September 13, 2020 14:59
LSTM / GRU で Sequential MNIST を学習する(GRU の学習の確認)
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 September 12, 2020 15:37
TrellisNet(その1)
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 September 10, 2020 14:56
文字レベル Penn Treebank と TrellisNet
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.