{"_id":"663163a3d9fb78439d0acc3d","id":"google/codegemma-1.1-7b-it","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","gemma","text-generation","conversational","license:gemma","text-generation-inference","endpoints_compatible","region:us"],"downloads":141,"likes":52,"modelId":"google/codegemma-1.1-7b-it","author":"google","sha":"9523c8dbf32bf2130e2de570c478b3bdb1d36101","lastModified":"2024-08-07T18:27:19.000Z","gated":"manual","disabled":false,"widgetData":[{"text":"<start_of_turn>user Write a Python function to calculate the nth fibonacci number.<end_of_turn> <start_of_turn>model\n"}],"model-index":null,"config":{"architectures":["GemmaForCausalLM"],"model_type":"gemma","tokenizer_config":{"bos_token":"<bos>","chat_template":"{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}","eos_token":"<eos>","pad_token":"<pad>","unk_token":"<unk>","use_default_system_prompt":false}},"cardData":{"library_name":"transformers","license":"gemma","license_link":"https://ai.google.dev/gemma/terms","pipeline_tag":"text-generation","extra_gated_heading":"Access CodeGemma on Hugging Face","extra_gated_prompt":"To access CodeGemma on Hugging Face, you’re required to review and agree to Google’s usage license. To do this, please ensure you’re logged-in to Hugging Face and click below. Requests are processed immediately.","extra_gated_button_content":"Acknowledge license","widget":[{"text":"<start_of_turn>user Write a Python function to calculate the nth fibonacci number.<end_of_turn> <start_of_turn>model\n"}],"inference":{"parameters":{"max_new_tokens":200}}},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"README.md"},{"rfilename":"codegemma_nl_benchmarks.png"},{"rfilename":"config.json"},{"rfilename":"generation_config.json"},{"rfilename":"model-00001-of-00004.safetensors"},{"rfilename":"model-00002-of-00004.safetensors"},{"rfilename":"model-00003-of-00004.safetensors"},{"rfilename":"model-00004-of-00004.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer.model"},{"rfilename":"tokenizer_config.json"}],"spaces":["Justinrune/LLaMA-Factory","imxieke/google-codegemma-1.1-7b-it","iDrops/Llama3-iDrops","msun415/Llamole"],"createdAt":"2024-04-30T21:33:23.000Z","safetensors":{"parameters":{"BF16":8537680896},"total":8537680896},"usedStorage":17132194885}