{"type":"rich","blog_url":"https://ayousanz.hatenadiary.jp/","title":"elyza/ELYZA-japanese-Llama-2-13b-fast-instruct\u3092\u52d5\u304b\u3059","blog_title":"yousan\u306e\u30e1\u30e2","published":"2023-12-27 12:12:59","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2023%2F12%2F27%2F121259\" title=\"elyza/ELYZA-japanese-Llama-2-13b-fast-instruct\u3092\u52d5\u304b\u3059 - yousan\u306e\u30e1\u30e2\" 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","image_url":null,"provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/ayousanz/","description":"\u521d\u3081\u306b \u74b0\u5883 \u6e96\u5099 \u63a8\u8ad6 \u30e2\u30c7\u30eb\u306e\u30ed\u30fc\u30c9 \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30f3\u30d7\u30c8 \u307e\u3069\u30de\u30ae\u30c6\u30b9\u30c8 \u4f7f\u7528\u30ea\u30bd\u30fc\u30b9 \u521d\u3081\u306b \u74b0\u5883 L4 GPU OS : Ubunts 22.04 \u6e96\u5099 \u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5165\u308c\u307e\u3059 !pip install accelerate !pip install torch !pip install transformers \u63a8\u8ad6 \u30e2\u30c7\u30eb\u306e\u30ed\u30fc\u30c9 import torch from transformers import AutoModelForCausalLM, AutoTokenizer model_name = \"elyza/ELYZA-japanese-Llama-2-13b-fast\u2026","url":"https://ayousanz.hatenadiary.jp/entry/2023/12/27/121259","author_name":"ayousanz","provider_url":"https://hatena.blog","width":"100%","categories":["AI"]}