{"author_url":"https://blog.hatena.ne.jp/ayousanz/","height":"190","blog_title":"yousan\u306e\u30e1\u30e2","version":"1.0","image_url":null,"author_name":"ayousanz","url":"https://ayousanz.hatenadiary.jp/entry/2024/02/22/110242","categories":["AI"],"provider_name":"Hatena Blog","description":"\u521d\u3081\u306b \u74b0\u5883 \u6e96\u5099 \u5b9f\u884c \u521d\u3081\u306b \u4ee5\u4e0b\u3092\u8a66\u3057\u3066\u307f\u307e\u3059 huggingface.co \u74b0\u5883 L4 GPU(Jupyter Notebook) ubuntu22.04 \u6e96\u5099 \u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5165\u308c\u307e\u3059 !pip install transformers bitsandbytes accelerate \u30e2\u30c7\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u3057\u307e\u3059 # pip install bitsandbytes accelerate from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig quantization_conf\u2026","title":"huggingface\u7d4c\u7531\u3067google/gemma-7b-it\u3092\u52d5\u304b\u3059","blog_url":"https://ayousanz.hatenadiary.jp/","published":"2024-02-22 11:02:42","width":"100%","provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2024%2F02%2F22%2F110242\" title=\"huggingface\u7d4c\u7531\u3067google/gemma-7b-it\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>"}