日本語のトークナイザを読み込む[Flair]

バージョンによって読み込み方が異なるため,注意が必要
新しいバージョンでの読み込み方
from flair.tokenization import JapaneseTokenizertokenizer = Japan ...関数から関数名をstrで取得する方法 [Python]

Pytorchでモデルを実装する際のベース [自分用メモ]

AWS lightsailにcertbotをインストールしLets encryptでSSL化[新規]

基本的には以下のAWSドキュメントに従うことになる.本記事では以下より実行コマンドを抜粋する形で手順を紹介.
Certbotをインストールするまでsudo apt-get updatesudo apt-get install s ...BERTをfine-tuningする際のTips [自分用メモ]

AI SHIFT様が作成されたブログ記事が分かりやすかったので、筆者としての解釈を自分用メモとして残すことにする。
Kaggleで学んだBERTをfine-tuningする際のTips①〜学習効率化編〜 | 株式会社AI ...
無料で閲覧可能なアメリカの経済指標データ [FRED]

投資をしていると,株価だけではなく,雇用統計やガソリン価格などを観察したいと思うことがあるだろう.そんなときはセントルイス連邦準備銀行の研究部門によって維持されている経済指標データ閲覧サイトFREDを使うと良い.
本記事で ...
JAXでGPUを使う

Pytorchだと.cuda()などでGPUを使うのだが、JAXの場合はpipインストール時にcudaのバージョンを指定することでGPUを使うことができる。
環境にインストールされているCUDAのバージョンが10.02の場 ...
On-the-flyの意味 [技術スラング]

On-the-Fly Attention Modulation for Neural Generation
というタイトルの論文に遭遇。
アブストをDeepLで翻訳すると以下のようになった。
「深層 ...
“sledge hammer” approachの意味することは?[技術スラング]

Googleの提供する深層学習フレームワークFlaxのドキュメントを読んでいると“sledge hammer” approachという表現に遭遇。
Linen supports the capture of interme ...
MLP-Mixerに関する検証用コード

MLP-Mixerに関して、GitHub – rishikksh20/MLP-Mixer-pytorch: Unofficial implementation of MLP-Mixer: An all-MLP Archit ...