{"_id":"65bd4ea854ab5eb7b67fb402","id":"chatdb/natural-sql-7b","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","llama","text-generation","instruct","finetune","conversational","base_model:deepseek-ai/deepseek-coder-6.7b-instruct","base_model:finetune:deepseek-ai/deepseek-coder-6.7b-instruct","license:cc-by-sa-4.0","text-generation-inference","endpoints_compatible","region:us"],"downloads":136876,"likes":135,"modelId":"chatdb/natural-sql-7b","author":"chatdb","sha":"ac0e30435282bb6e3ab6459358e9521a557c5fdf","lastModified":"2024-02-04T20:48:33.000Z","gated":false,"disabled":false,"widgetData":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},{"text":"Tell me an interesting fact about the universe!"},{"text":"Explain quantum computing in simple terms."}],"model-index":null,"config":{"architectures":["LlamaForCausalLM"],"model_type":"llama","tokenizer_config":{"bos_token":"<｜begin▁of▁sentence｜>","chat_template":"{% if not add_generation_prompt is defined %}\n{% set add_generation_prompt = false %}\n{% endif %}\n{%- set ns = namespace(found=false) -%}\n{%- for message in messages -%}\n    {%- if message['role'] == 'system' -%}\n        {%- set ns.found = true -%}\n    {%- endif -%}\n{%- endfor -%}\n{{bos_token}}{%- if not ns.found -%}\n{{'You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Company, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer\\n'}}\n{%- endif %}\n{%- for message in messages %}\n    {%- if message['role'] == 'system' %}\n{{ message['content'] }}\n    {%- else %}\n        {%- if message['role'] == 'user' %}\n{{'### Instruction:\\n' + message['content'] + '\\n'}}\n        {%- else %}\n{{'### Response:\\n' + message['content'] + '\\n<|EOT|>\\n'}}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{% if add_generation_prompt %}\n{{'### Response:'}}\n{% endif %}","eos_token":"<｜end▁of▁sentence｜>","pad_token":"<｜end▁of▁sentence｜>","unk_token":null,"use_default_system_prompt":false}},"cardData":{"base_model":"deepseek-ai/deepseek-coder-6.7b-instruct","tags":["instruct","finetune"],"library_name":"transformers","license":"cc-by-sa-4.0","pipeline_tag":"text-generation"},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"README.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":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}],"spaces":["mabbas125/naturalSQL","keerthanaBasavaraj/nlp-to-sql"],"createdAt":"2024-02-02T20:20:56.000Z","safetensors":{"parameters":{"F16":6910365696},"total":6910365696},"usedStorage":13820762896}