Llama2ãã³ã¼ãã£ã³ã°ç¨ã«ãã¥ã¼ãã³ã°ããCode Llamaã§ã¦ã¾ããã ããã¦ã対話ã¢ãã«ãããã¾ãã ãã©ã©ã使ããããããªãã£ãã®ã§ãããã試ãããããªãã¨ãªãããã£ãã®ã§ã¡ã¢ã ã¢ãã«ã¯Hugging Faceã«ããã®ã§ããµã¤ãã®Transformersã¢ãã«ã¨ãã¦ä½¿ãã¾ãã ã§ãæ示æã¯[INST]ï½[/INST]ã§å²ããã·ã¹ãã ããã®åºåã¯<SYS>ãã</SYS>ã§å²ã¾ããã¨ããæãã½ãã ã®ã§ãããã³ããããããªæãã§ä½ãã prompt = f"""[INST]{prompt}[/INST] <SYS> ã³ã¼ãå ¨ä½ã¯ãããªãã¾ãã import torch from transformers import AutoModelForCausalLM, AutoTokenizer from colorama import Fore, Back, Style, init
{{#tags}}- {{label}}
{{/tags}}