{"_id":"64e78661d0964816be6a1d1b","id":"codellama/CodeLlama-7b-Instruct-hf","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","pytorch","safetensors","llama","text-generation","llama-2","conversational","code","arxiv:2308.12950","license:llama2","text-generation-inference","endpoints_compatible","deploy:sagemaker","deploy:azure","region:us"],"downloads":48439,"likes":258,"modelId":"codellama/CodeLlama-7b-Instruct-hf","author":"codellama","sha":"22cb240e0292b0b5ab4c17ccd97aa3a2f799cbed","lastModified":"2024-04-12T14:18:42.000Z","gated":false,"disabled":false,"model-index":null,"config":{"architectures":["LlamaForCausalLM"],"model_type":"llama","tokenizer_config":{"chat_template":"{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' '  + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}","bos_token":{"__type":"AddedToken","content":"<s>","lstrip":false,"normalized":true,"rstrip":false,"single_word":false},"eos_token":{"__type":"AddedToken","content":"</s>","lstrip":false,"normalized":true,"rstrip":false,"single_word":false},"pad_token":null,"unk_token":{"__type":"AddedToken","content":"<unk>","lstrip":false,"normalized":true,"rstrip":false,"single_word":false}}},"cardData":{"language":["code"],"pipeline_tag":"text-generation","tags":["llama-2"],"license":"llama2"},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"LICENSE"},{"rfilename":"README.md"},{"rfilename":"USE_POLICY.md"},{"rfilename":"config.json"},{"rfilename":"generation_config.json"},{"rfilename":"model-00001-of-00002.safetensors"},{"rfilename":"model-00002-of-00002.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"pytorch_model-00001-of-00003.bin"},{"rfilename":"pytorch_model-00002-of-00003.bin"},{"rfilename":"pytorch_model-00003-of-00003.bin"},{"rfilename":"pytorch_model.bin.index.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer.model"},{"rfilename":"tokenizer_config.json"}],"spaces":["bigcode/bigcode-models-leaderboard","Intel/low_bit_open_llm_leaderboard","seawolf2357/LLM_Quantization","BAAI/open_cn_llm_leaderboard","qiantong-xu/toolbench-leaderboard","gsaivinay/open_llm_leaderboard","KBaba7/Quant","EvanTHU/MotionLLM","FallnAI/Quantize-HF-Models","prometheus-eval/BiGGen-Bench-Leaderboard","openfree/LLM_Quantization","GTBench/GTBench","Vikhrmodels/small-shlepa-lb","bhaskartripathi/LLM_Quantization","ruslanmv/convert_to_gguf","BAAI/open_flageval_vlm_leaderboard","BAAI/FlagEval-Robo","OPTML-Group/UnlearnCanvas-Benchmark","felixz/open_llm_leaderboard","Vikhrmodels/Russian_Arena_General","HemaAM/GPT_train_on_LLaMa","anantgupta129/LitGPT-Pythia-160M","Vikhrmodels/small-shlepa","atlasas/bigcode-models-leaderboard","totolook/Quant","bardsai/performance-llm-board","K00B404/LLM_Quantization","PrarthanaTS/tsai-gpt-from-scratch","MadhurGarg/TSAIGPTRedPajama","ka1kuk/litellm","RaviNaik/ERA-SESSION22","neubla/neubla-llm-evaluation-board","rodrigomasini/data_only_open_llm_leaderboard","Docfile/open_llm_leaderboard","Sijuade/GPTNEXTWORD","gevans3000/codellama-CodeLlama-7b-Instruct-hf","Canstralian/codellama-CodeLlama-7b-Instruct-hf","aldohenrique/portalprogramando","Marnostore/Projek","uparekh01151/DataEngEval","PatoFlamejanteTV/CodeBook","Oss11/Quantize-HF-Models","Xlnk/Quantize-HF-Models","exploitz3r0bbd/Quantize-HF-Models","piyushgrover/MiniGPT_S22","supra-e-acc/Pythia-160M-text-generate","venkyyuvy/GPT_redpajama","mkthoma/GPT_From_Scratch","VarunSivamani/GPT-From-Scratch","sanjanatule/GPTNext","RashiAgarwal/TSAIGPTRedPajama","neuralorbs/DialogGen","GunaKoppula/ERA-Session-22","Navyabhat/ERAV1-Session-22","Vaish2705/ERA_S22","nonhuman/nnnn","smothiki/open_llm_leaderboard","LastSmile/CodeLlama-7b","nononno/hj","K00B404/Ethical-CodeLlama-34b-Instruct-hf","gaveshaaa/codellama-CodeLlama-7b-Instruct-hf","kankuman/codellama-CodeLlama-7b-Instruct-hf","huanhoahongso3/free-webui-gpt4","xh0o6/g4f0204","xh0o6/hj","gordonchan/embedding-m3e-large","roselee/code-generator","Sompote/codellama-CodeLlama-7b-Instruct-hf","Stef1397/codellama-CodeLlama-7b-Instruct-hf","HSomaskanthan/ReadImg","Jahaje/codelama2train","0x1668/open_llm_leaderboard","pngwn/open_llm_leaderboard-check","asir0z/open_llm_leaderboard","jayachandran0403/codellama-CodeLlama-7b-Instruct-hf","kbmlcoding/open_llm_leaderboard_free","Siva1995/UI_Code_Generation_APP","Transcrib3D/Transcrib3D-Demo","asdvd01/codellama-CodeLlama-7b-Instruct-hf","Awaken5727/codellama-CodeLlama-7b-Instruct-hf","hyerimpark/codellama","ToletiSri/TSAI_S22","kenken999/litellm","kenken999/litellmlope","aichampions/open_llm_leaderboard","Adeco/open_llm_leaderboard","anirudh937/open_llm_leaderboard","smothiki/open_llm_leaderboard2","Xhaheen/AI_safety_testing","Xhaheen/phoeniks_redteamers","mjalg/IFEvalTR","PaperMachine/codellama-CodeLlama-7b-Instruct-hf","acecalisto3/ReekeerSv","canserai/gg","lastsamuraii/LitGPT-Pythia-160M","traveler514/patchouli","Ary4nk/docker","Deepakraj2006/Code_Llama","a-issaoui/test","Sonal24/xyz"],"createdAt":"2023-08-24T16:33:37.000Z","safetensors":{"parameters":{"BF16":6738546688},"total":6738546688},"inference":"warm","usedStorage":67386296436}