{"_id":"66faecf1a15bc0b3f0c55924","id":"nvidia/NVLM-D-72B","private":false,"pipeline_tag":"image-text-to-text","library_name":"transformers","tags":["transformers","safetensors","NVLM_D","nvidia","NVLM","pytorch","multimodal","conversational","image-text-to-text","custom_code","en","arxiv:2409.11402","license:cc-by-nc-4.0","endpoints_compatible","region:us"],"downloads":12958,"likes":776,"modelId":"nvidia/NVLM-D-72B","author":"nvidia","sha":"11e9e0f8d265d65ddaa8f9445b6f55fdec9d686f","lastModified":"2025-01-14T18:34:52.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":["NVLM_D"],"auto_map":{"AutoConfig":"configuration_nvlm_d.NVLM_D_Config","AutoModel":"modeling_nvlm_d.NVLM_D_Model","AutoModelForCausalLM":"modeling_nvlm_d.NVLM_D_Model"},"model_type":"NVLM_D","tokenizer_config":{"bos_token":null,"chat_template":"{%- if tools %}\n    {{- '<|im_start|>system\\n' }}\n    {%- if messages[0]['role'] == 'system' %}\n        {{- messages[0]['content'] }}\n    {%- else %}\n        {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n    {%- endif %}\n    {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n    {%- for tool in tools %}\n        {{- \"\\n\" }}\n        {{- tool | tojson }}\n    {%- endfor %}\n    {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n    {%- if messages[0]['role'] == 'system' %}\n        {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n    {%- else %}\n        {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n    {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n    {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n        {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n    {%- elif message.role == \"assistant\" %}\n        {{- '<|im_start|>' + message.role }}\n        {%- if message.content %}\n            {{- '\\n' + message.content }}\n        {%- endif %}\n        {%- for tool_call in message.tool_calls %}\n            {%- if tool_call.function is defined %}\n                {%- set tool_call = tool_call.function %}\n            {%- endif %}\n            {{- '\\n<tool_call>\\n{\"name\": \"' }}\n            {{- tool_call.name }}\n            {{- '\", \"arguments\": ' }}\n            {{- tool_call.arguments | tojson }}\n            {{- '}\\n</tool_call>' }}\n        {%- endfor %}\n        {{- '<|im_end|>\\n' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n            {{- '<|im_start|>user' }}\n        {%- endif %}\n        {{- '\\n<tool_response>\\n' }}\n        {{- message.content }}\n        {{- '\\n</tool_response>' }}\n        {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n            {{- '<|im_end|>\\n' }}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n    {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n","eos_token":"<|im_end|>","pad_token":"<|endoftext|>","unk_token":null}},"cardData":{"license":"cc-by-nc-4.0","language":["en"],"pipeline_tag":"image-text-to-text","tags":["nvidia","NVLM","pytorch","multimodal","conversational"],"library_name":"transformers"},"transformersInfo":{"auto_model":"NVLM_D"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"Dockerfile"},{"rfilename":"Notice.txt"},{"rfilename":"README.md"},{"rfilename":"config.json"},{"rfilename":"configuration_intern_vit.py"},{"rfilename":"configuration_nvlm_d.py"},{"rfilename":"conversation.py"},{"rfilename":"eval/conversation.py"},{"rfilename":"eval/eval_dataset.py"},{"rfilename":"eval/full_eval.yaml"},{"rfilename":"eval/mmmu_utils.py"},{"rfilename":"eval/requirements.txt"},{"rfilename":"eval/vqa_utils.py"},{"rfilename":"incl_licenses/LICENSE"},{"rfilename":"incl_licenses/LICENSE_2"},{"rfilename":"merges.txt"},{"rfilename":"model-00001-of-00046.safetensors"},{"rfilename":"model-00002-of-00046.safetensors"},{"rfilename":"model-00003-of-00046.safetensors"},{"rfilename":"model-00004-of-00046.safetensors"},{"rfilename":"model-00005-of-00046.safetensors"},{"rfilename":"model-00006-of-00046.safetensors"},{"rfilename":"model-00007-of-00046.safetensors"},{"rfilename":"model-00008-of-00046.safetensors"},{"rfilename":"model-00009-of-00046.safetensors"},{"rfilename":"model-00010-of-00046.safetensors"},{"rfilename":"model-00011-of-00046.safetensors"},{"rfilename":"model-00012-of-00046.safetensors"},{"rfilename":"model-00013-of-00046.safetensors"},{"rfilename":"model-00014-of-00046.safetensors"},{"rfilename":"model-00015-of-00046.safetensors"},{"rfilename":"model-00016-of-00046.safetensors"},{"rfilename":"model-00017-of-00046.safetensors"},{"rfilename":"model-00018-of-00046.safetensors"},{"rfilename":"model-00019-of-00046.safetensors"},{"rfilename":"model-00020-of-00046.safetensors"},{"rfilename":"model-00021-of-00046.safetensors"},{"rfilename":"model-00022-of-00046.safetensors"},{"rfilename":"model-00023-of-00046.safetensors"},{"rfilename":"model-00024-of-00046.safetensors"},{"rfilename":"model-00025-of-00046.safetensors"},{"rfilename":"model-00026-of-00046.safetensors"},{"rfilename":"model-00027-of-00046.safetensors"},{"rfilename":"model-00028-of-00046.safetensors"},{"rfilename":"model-00029-of-00046.safetensors"},{"rfilename":"model-00030-of-00046.safetensors"},{"rfilename":"model-00031-of-00046.safetensors"},{"rfilename":"model-00032-of-00046.safetensors"},{"rfilename":"model-00033-of-00046.safetensors"},{"rfilename":"model-00034-of-00046.safetensors"},{"rfilename":"model-00035-of-00046.safetensors"},{"rfilename":"model-00036-of-00046.safetensors"},{"rfilename":"model-00037-of-00046.safetensors"},{"rfilename":"model-00038-of-00046.safetensors"},{"rfilename":"model-00039-of-00046.safetensors"},{"rfilename":"model-00040-of-00046.safetensors"},{"rfilename":"model-00041-of-00046.safetensors"},{"rfilename":"model-00042-of-00046.safetensors"},{"rfilename":"model-00043-of-00046.safetensors"},{"rfilename":"model-00044-of-00046.safetensors"},{"rfilename":"model-00045-of-00046.safetensors"},{"rfilename":"model-00046-of-00046.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"modeling_intern_vit.py"},{"rfilename":"modeling_nvlm_d.py"},{"rfilename":"nvlm-logo-light.png"},{"rfilename":"preprocessor_config.json"},{"rfilename":"run_eval.py"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"},{"rfilename":"vocab.json"}],"spaces":["merve/vision_papers","TIGER-Lab/MEGA-Bench","awacke1/Leaderboard-Deepseek-Gemini-Grok-GPT-Qwen","Abhi-22/NVLM-D-Demo","mehmetseferioglu/nvlm-d","smartdigitalnetworks/generativetext","Vatxzz/Cachy"],"createdAt":"2024-09-30T18:24:49.000Z","safetensors":{"parameters":{"F32":9071370240,"BF16":70308223104},"total":79379593344},"usedStorage":354049622570}