Skip to content

Instantly share code, notes, and snippets.

@CookieBox26
CookieBox26 / 20210419_probsparse.ipynb
Created Apr 19, 2021
Informer のセルフアテンションの間引き方
View 20210419_probsparse.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CookieBox26
CookieBox26 / 20210214_Informer.ipynb
Created Feb 13, 2021
Informer を動かすだけ
View 20210214_Informer.ipynb
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 Feb 12, 2021
Informer のエンコーダとデコーダへの入力の期間を確認するだけ
View 20210213_Informer_Inputs.ipynb
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 Feb 6, 2021
TCN による Sequential MNIST の学習
View 20210206_TCN_Sequential_MNIST.ipynb
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 Feb 6, 2021
GRU による Sequential MNIST の学習
View 20210206_GRU_Sequential_MNIST.ipynb
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 Jan 30, 2021
20210130_線形モデルのベイズ推定.ipynb
View 20210130_線形モデルのベイズ推定.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.