{"_id":"64e7867286fc685a30ba3882","id":"codellama/CodeLlama-13b-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":2482,"likes":161,"modelId":"codellama/CodeLlama-13b-Instruct-hf","author":"codellama","sha":"745795438019e47e4dad1347a0093e11deee4c68","lastModified":"2024-04-12T14:19:04.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-00003.safetensors"},{"rfilename":"model-00002-of-00003.safetensors"},{"rfilename":"model-00003-of-00003.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","seawolf2357/LLM_Quantization","codellama/codellama-13b-chat","Intel/low_bit_open_llm_leaderboard","BAAI/open_cn_llm_leaderboard","qiantong-xu/toolbench-leaderboard","gsaivinay/open_llm_leaderboard","KBaba7/Quant","EvanTHU/MotionLLM","ysharma/WizardCoder34b","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","Canstralian/codellama-CodeLlama-13b-Instruct-hf","PrarthanaTS/tsai-gpt-from-scratch","MadhurGarg/TSAIGPTRedPajama","RaviNaik/ERA-SESSION22","Kralos-R/codellama-13b-chat","neubla/neubla-llm-evaluation-board","rodrigomasini/data_only_open_llm_leaderboard","Docfile/open_llm_leaderboard","Sijuade/GPTNEXTWORD","Oss11/Quantize-HF-Models","Xlnk/Quantize-HF-Models","exploitz3r0bbd/Quantize-HF-Models","alexkueck/ChatBotLI2Klein","piyushgrover/MiniGPT_S22","supra-e-acc/Pythia-160M-text-generate","venkyyuvy/GPT_redpajama","Antonio49/chatbot_refugiados","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","xiaojian7/codellama-CodeLlama-13b-Instruct-hf","Riddhikul/mern-llama","shubhamdang66/codellama-CodeLlama-13b-Instruct-hf","smothiki/open_llm_leaderboard","mrfrostybin/codellama-13b-chat","AhmedMagdy7/codellama-CodeLlama-13b-Instruct-hf","Atom007/codellama-13b-instruct-chat","Danelskih/codellama-CodeLlama-13b-Instruct-hf","nononno/hj","K00B404/ethical-hacking-codellama-13b-chat","Ahaduzzaman/codellama-13b-chat","Vagus30/codellama-13b-chat","subhojit777/test","huanhoahongso3/free-webui-gpt4","xiaozhou0822/sdadsd","DUTwangzhijun/DUT_BioLLM_test","dusieq/codellama-13b-chat","asdf13421/codellama-13b-chat","Shephali/codellama-13b-chat","Optimusprime123/codellama-CodeLlama-13b-Instruct-hf","xh0o6/g4f0204","xh0o6/hj","Ashrafb/codellama-CodeLlama-13b-Instruct-hf","mac011769/codellama-13b-chat","iphann/codellama-13b-chat","Bellamy66/codellama","lordbuffcloud/codellama-CodeLlama-13b-Instruct-hf","lordbuffcloud/codellama-CodeLlama-13b-Instruct-hf2","0x1668/open_llm_leaderboard","pngwn/open_llm_leaderboard-check","engomo-gmbh/codellama-CodeLlama-13b-Instruct-hf","asir0z/open_llm_leaderboard","Vishal3152/codellama-13b-chat","giran/chat2","kbmlcoding/open_llm_leaderboard_free","kumar2piai/llama2-7b-chat-hf","Transcrib3D/Transcrib3D-Demo","asdvd01/codellama-CodeLlama-13b-Instruct-hf","ToletiSri/TSAI_S22","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"],"createdAt":"2023-08-24T16:33:54.000Z","safetensors":{"parameters":{"BF16":13016028160},"total":13016028160},"inference":"warm","usedStorage":52392623282}