Upload folder using huggingface_hub
Browse filesFiles changed (5)
- config.json+55-35
- generation_config.jsonAdded+14
- model.safetensors+2-2
- special_tokens_map.json+1-7
- tokenizer_config.json+3-4
12345678910111213141516171819202122232425262728293031323334353637{"architectures": ["LlamaForCausalLM"],"attention_bias": false,"attention_dropout": 0.0,"bos_token_id": 128000,"torch_dtype": "bfloat16","eos_token_id": 128009,"head_dim": 64,"hidden_act": "silu","hidden_size": 2048,"initializer_range": 0.02,"intermediate_size": 8192,"max_position_embeddings": 131072,"mlp_bias": false,"model_type": "llama","num_attention_heads": 32,"num_hidden_layers": 16,"num_key_value_heads": 8,"pad_token_id": 128004,"pretraining_tp": 1,"rms_norm_eps": 1e-05,"rope_scaling": {"factor": 32.0,"high_freq_factor": 4.0,"low_freq_factor": 1.0,"original_max_position_embeddings": 8192,"rope_type": "llama3"},"rope_theta": 500000.0,"tie_word_embeddings": true,"unsloth_fixed": true,"unsloth_version": "2026.2.1","use_cache": true,"vocab_size": 128256}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{"architectures": ["LlamaForCausalLM"],"attention_bias": false,"attention_dropout": 0.0,"bos_token_id": 128000,"dtype": "float16","eos_token_id": 128009,"head_dim": 64,"hidden_act": "silu","hidden_size": 2048,"initializer_range": 0.02,"intermediate_size": 8192,"max_position_embeddings": 131072,"mlp_bias": false,"model_type": "llama","num_attention_heads": 32,"num_hidden_layers": 16,"num_key_value_heads": 8,"pad_token_id": 128009,"pretraining_tp": 1,"quantization_config": {"_load_in_4bit": true,"_load_in_8bit": false,"bnb_4bit_compute_dtype": "bfloat16","bnb_4bit_quant_storage": "uint8","bnb_4bit_quant_type": "nf4","bnb_4bit_use_double_quant": true,"llm_int8_enable_fp32_cpu_offload": false,"llm_int8_has_fp16_weight": false,"llm_int8_skip_modules": ["lm_head","multi_modal_projector","merger","modality_projection"],"llm_int8_threshold": 6.0,"load_in_4bit": true,"load_in_8bit": false,"quant_method": "bitsandbytes"},"rms_norm_eps": 1e-05,"rope_scaling": {"factor": 32.0,"high_freq_factor": 4.0,"low_freq_factor": 1.0,"original_max_position_embeddings": 8192,"rope_type": "llama3"},"rope_theta": 500000.0,"tie_word_embeddings": true,"transformers_version": "4.57.6","unsloth_fixed": true,"use_cache": false,"vocab_size": 128256}
1234567891011121314{ "bos_token_id": 128000, "do_sample": true, "eos_token_id": [ 128001, 128008, 128009 ], "max_length": 131072, "pad_token_id": 128009, "temperature": 0.6, "top_p": 0.9, "transformers_version": "4.57.6"}123version https://git-lfs.github.com/spec/v1oid sha256:f91524bb7d26ac4d26e5c517f1e9f3eb692458a9710ad64da32bba5476a42bb1size 2471645608123version https://git-lfs.github.com/spec/v1oid sha256:c6a6ce32390cbd3ce6e150ca7acaff2e4714fa7389e656a310fa0e0e3e08d558size 1027811638
12 unmodified lines131415161718192021222312 unmodified lines"rstrip": false,"single_word": false},"pad_token": {"content": "<|finetune_right_pad_id|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false}}12 unmodified lines131415161712 unmodified lines"rstrip": false,"single_word": false},"pad_token": "<|eot_id|>"}
2058 unmodified lines2059206020612062206320642065206620672058 unmodified lines"attention_mask"],"model_max_length": 131072,"pad_token": "<|finetune_right_pad_id|>","padding_side": "left","tokenizer_class": "PreTrainedTokenizerFast","unk_token": null,"chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- if strftime_now is defined %}\n {%- set date_string = strftime_now(\"%d %b %Y\") %}\n {%- else %}\n {%- set date_string = \"26 Jul 2024\" %}\n {%- endif %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message #}\n{{- \"<|start_header_id|>system<|end_header_id|>\\n\\n\" }}\n{%- if tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"<|eot_id|>\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there's no first user message!\") }}\n{%- endif %}\n {{- '<|start_header_id|>user<|end_header_id|>\\n\\n' -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"<|eot_id|>\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\\n\\n'+ message['content'] | trim + '<|eot_id|>' }}\n {%- elif 'tool_calls' in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- '{\"name\": \"' + tool_call.name + '\", ' }}\n {{- '\"parameters\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {{- \"<|eot_id|>\" }}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"<|start_header_id|>ipython<|end_header_id|>\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' }}\n{%- endif %}\n"}2058 unmodified lines205920602061206220632064206520662058 unmodified lines"attention_mask"],"model_max_length": 131072,"pad_token": "<|eot_id|>","padding_side": "left","tokenizer_class": "PreTrainedTokenizerFast","unk_token": null}
config.json+55-35
generation_config.jsonAdded+14
model.safetensors+2-2
special_tokens_map.json+1-7
tokenizer_config.json+3-4