{"published":"2026-10-29 21:08:47","type":"rich","author_url":"https://blog.hatena.ne.jp/HTN20190109/","image_url":null,"provider_name":"Hatena Blog","categories":["DL"],"version":"1.0","provider_url":"https://hatena.blog","blog_url":"https://htn20190109.hatenablog.com/","title":"GPT\u306e\u5b9f\u88c5","blog_title":"HTN20190109\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2026%2F10%2F29%2F210847\" title=\"GPT\u306e\u5b9f\u88c5 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://htn20190109.hatenablog.com/entry/2026/10/29/210847","width":"100%","author_name":"HTN20190109","description":"https://qiita.com/keishi_irisa/items/71ca35faf1c6e3932064 from dataclasses import dataclassimport math import torchimport torch.nn as nnimport torch.nn.functional as F from datasets import load_dataset # ============================================================# 1 GPT Config# ====================\u2026"}