Image-Text-to-Text
Transformers
Safetensors
GGUF
gemma4
zero-point-ai
martin
omni
unrestricted
uncensored
conversational
Instructions to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp") model = AutoModelForMultimodalLM.from_pretrained("ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp", filename="martin-v1-Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0 # Run inference directly in the terminal: llama-cli -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0 # Run inference directly in the terminal: llama-cli -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
Use Docker
docker model run hf.co/ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
- LM Studio
- Jan
- vLLM
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
- SGLang
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with Ollama:
ollama run hf.co/ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
- Unsloth Studio
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with Docker Model Runner:
docker model run hf.co/ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
- Lemonade
How to use ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ZERO-POINT-AI/MR_MARTIN_31b_V1.0_Gemma-4-base-ftp:Q8_0
Run and chat with the model
lemonade run user.MR_MARTIN_31b_V1.0_Gemma-4-base-ftp-Q8_0
List all available models
lemonade list
𝒥.S@🇿🇪Ʀ🇴-PO𝐼NT-🅰🅸 commited on
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- chat_template.jinja +8 -0
- config.json +178 -0
- generation_config.json +10 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- processor_config.json +75 -0
- tokenizer.json +3 -0
- tokenizer_config.json +55 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}<start_of_turn>system
|
| 2 |
+
{{ message['content'] }}<end_of_turn>
|
| 3 |
+
{% elif message['role'] == 'user' %}<start_of_turn>user
|
| 4 |
+
{{ message['content'] }}<end_of_turn>
|
| 5 |
+
{% elif message['role'] == 'assistant' %}<start_of_turn>model
|
| 6 |
+
{{ message['content'] }}<end_of_turn>
|
| 7 |
+
{% endif %}{% endfor %}{% if add_generation_prompt %}<start_of_turn>model
|
| 8 |
+
{% endif %}
|
config.json
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma4ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"audio_config": null,
|
| 6 |
+
"audio_token_id": 258881,
|
| 7 |
+
"boa_token_id": 256000,
|
| 8 |
+
"boi_token_id": 255999,
|
| 9 |
+
"bos_token_id": 2,
|
| 10 |
+
"torch_dtype": "bfloat16",
|
| 11 |
+
"eoa_token_id": 258883,
|
| 12 |
+
"eoa_token_index": 258883,
|
| 13 |
+
"eoi_token_id": 258882,
|
| 14 |
+
"eos_token_id": 1,
|
| 15 |
+
"image_token_id": 258880,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"model_name": "/workspace/ghost-public",
|
| 18 |
+
"model_type": "gemma4",
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"text_config": {
|
| 21 |
+
"attention_bias": false,
|
| 22 |
+
"attention_dropout": 0.0,
|
| 23 |
+
"attention_k_eq_v": true,
|
| 24 |
+
"bos_token_id": 2,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"enable_moe_block": false,
|
| 27 |
+
"eos_token_id": 1,
|
| 28 |
+
"expert_intermediate_size": null,
|
| 29 |
+
"final_logit_softcapping": 30.0,
|
| 30 |
+
"global_head_dim": 512,
|
| 31 |
+
"head_dim": 256,
|
| 32 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 33 |
+
"hidden_size": 5376,
|
| 34 |
+
"hidden_size_per_layer_input": 0,
|
| 35 |
+
"initializer_range": 0.02,
|
| 36 |
+
"intermediate_size": 21504,
|
| 37 |
+
"layer_types": [
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"full_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"sliding_attention",
|
| 65 |
+
"sliding_attention",
|
| 66 |
+
"sliding_attention",
|
| 67 |
+
"full_attention",
|
| 68 |
+
"sliding_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"sliding_attention",
|
| 71 |
+
"sliding_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"full_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"sliding_attention",
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"full_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"sliding_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"sliding_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"full_attention",
|
| 86 |
+
"sliding_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"full_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"sliding_attention",
|
| 96 |
+
"sliding_attention",
|
| 97 |
+
"full_attention"
|
| 98 |
+
],
|
| 99 |
+
"max_position_embeddings": 262144,
|
| 100 |
+
"model_type": "gemma4_text",
|
| 101 |
+
"moe_intermediate_size": null,
|
| 102 |
+
"num_attention_heads": 32,
|
| 103 |
+
"num_experts": null,
|
| 104 |
+
"num_global_key_value_heads": 4,
|
| 105 |
+
"num_hidden_layers": 60,
|
| 106 |
+
"num_key_value_heads": 16,
|
| 107 |
+
"num_kv_shared_layers": 0,
|
| 108 |
+
"pad_token_id": 0,
|
| 109 |
+
"rms_norm_eps": 1e-06,
|
| 110 |
+
"rope_parameters": {
|
| 111 |
+
"full_attention": {
|
| 112 |
+
"partial_rotary_factor": 0.25,
|
| 113 |
+
"rope_theta": 1000000.0,
|
| 114 |
+
"rope_type": "proportional"
|
| 115 |
+
},
|
| 116 |
+
"sliding_attention": {
|
| 117 |
+
"rope_theta": 10000.0,
|
| 118 |
+
"rope_type": "default"
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
"sliding_window": 1024,
|
| 122 |
+
"tie_word_embeddings": true,
|
| 123 |
+
"top_k_experts": null,
|
| 124 |
+
"use_bidirectional_attention": "vision",
|
| 125 |
+
"use_cache": true,
|
| 126 |
+
"use_double_wide_mlp": false,
|
| 127 |
+
"vocab_size": 262144,
|
| 128 |
+
"vocab_size_per_layer_input": 262144
|
| 129 |
+
},
|
| 130 |
+
"tie_word_embeddings": true,
|
| 131 |
+
"unsloth_version": "2026.4.4",
|
| 132 |
+
"use_cache": false,
|
| 133 |
+
"video_token_id": 258884,
|
| 134 |
+
"vision_config": {
|
| 135 |
+
"_name_or_path": "",
|
| 136 |
+
"architectures": null,
|
| 137 |
+
"attention_bias": false,
|
| 138 |
+
"attention_dropout": 0.0,
|
| 139 |
+
"chunk_size_feed_forward": 0,
|
| 140 |
+
"default_output_length": 280,
|
| 141 |
+
"torch_dtype": "bfloat16",
|
| 142 |
+
"global_head_dim": 72,
|
| 143 |
+
"head_dim": 72,
|
| 144 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 145 |
+
"hidden_size": 1152,
|
| 146 |
+
"id2label": {
|
| 147 |
+
"0": "LABEL_0",
|
| 148 |
+
"1": "LABEL_1"
|
| 149 |
+
},
|
| 150 |
+
"initializer_range": 0.02,
|
| 151 |
+
"intermediate_size": 4304,
|
| 152 |
+
"is_encoder_decoder": false,
|
| 153 |
+
"label2id": {
|
| 154 |
+
"LABEL_0": 0,
|
| 155 |
+
"LABEL_1": 1
|
| 156 |
+
},
|
| 157 |
+
"max_position_embeddings": 131072,
|
| 158 |
+
"model_type": "gemma4_vision",
|
| 159 |
+
"num_attention_heads": 16,
|
| 160 |
+
"num_hidden_layers": 27,
|
| 161 |
+
"num_key_value_heads": 16,
|
| 162 |
+
"output_attentions": false,
|
| 163 |
+
"output_hidden_states": false,
|
| 164 |
+
"patch_size": 16,
|
| 165 |
+
"pooling_kernel_size": 3,
|
| 166 |
+
"position_embedding_size": 10240,
|
| 167 |
+
"problem_type": null,
|
| 168 |
+
"return_dict": true,
|
| 169 |
+
"rms_norm_eps": 1e-06,
|
| 170 |
+
"rope_parameters": {
|
| 171 |
+
"rope_theta": 100.0,
|
| 172 |
+
"rope_type": "default"
|
| 173 |
+
},
|
| 174 |
+
"standardize": true,
|
| 175 |
+
"use_clipped_linears": false
|
| 176 |
+
},
|
| 177 |
+
"vision_soft_tokens_per_image": 280
|
| 178 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"temperature": 1.0,
|
| 7 |
+
"top_k": 64,
|
| 8 |
+
"top_p": 0.95,
|
| 9 |
+
"transformers_version": "5.5.0"
|
| 10 |
+
}
|
model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:956218e4416fac9f616adb9fdd123131af59abbbf4e62d9dd5fc782f68e2d3bb
|
| 3 |
+
size 49923154850
|
model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f133696e43ea9586c014b0e758d436b6086b990e222a50f6ed617ca795265ae8
|
| 3 |
+
size 12623183414
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
processor_config.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_ms_per_token": 40,
|
| 3 |
+
"audio_seq_length": 750,
|
| 4 |
+
"feature_extractor": {
|
| 5 |
+
"dither": 0.0,
|
| 6 |
+
"feature_extractor_type": "Gemma4AudioFeatureExtractor",
|
| 7 |
+
"feature_size": 128,
|
| 8 |
+
"fft_length": 512,
|
| 9 |
+
"fft_overdrive": false,
|
| 10 |
+
"frame_length": 320,
|
| 11 |
+
"hop_length": 160,
|
| 12 |
+
"input_scale_factor": 1.0,
|
| 13 |
+
"max_frequency": 8000.0,
|
| 14 |
+
"mel_floor": 0.001,
|
| 15 |
+
"min_frequency": 0.0,
|
| 16 |
+
"padding_side": "left",
|
| 17 |
+
"padding_value": 0.0,
|
| 18 |
+
"per_bin_mean": null,
|
| 19 |
+
"per_bin_stddev": null,
|
| 20 |
+
"preemphasis": 0.0,
|
| 21 |
+
"preemphasis_htk_flavor": true,
|
| 22 |
+
"return_attention_mask": true,
|
| 23 |
+
"sampling_rate": 16000
|
| 24 |
+
},
|
| 25 |
+
"image_processor": {
|
| 26 |
+
"do_convert_rgb": true,
|
| 27 |
+
"do_normalize": false,
|
| 28 |
+
"do_rescale": true,
|
| 29 |
+
"do_resize": true,
|
| 30 |
+
"image_mean": [
|
| 31 |
+
0.0,
|
| 32 |
+
0.0,
|
| 33 |
+
0.0
|
| 34 |
+
],
|
| 35 |
+
"image_processor_type": "Gemma4ImageProcessor",
|
| 36 |
+
"image_seq_length": 280,
|
| 37 |
+
"image_std": [
|
| 38 |
+
1.0,
|
| 39 |
+
1.0,
|
| 40 |
+
1.0
|
| 41 |
+
],
|
| 42 |
+
"max_soft_tokens": 280,
|
| 43 |
+
"patch_size": 16,
|
| 44 |
+
"pooling_kernel_size": 3,
|
| 45 |
+
"resample": 3,
|
| 46 |
+
"rescale_factor": 0.00392156862745098
|
| 47 |
+
},
|
| 48 |
+
"image_seq_length": 280,
|
| 49 |
+
"processor_class": "Gemma4Processor",
|
| 50 |
+
"video_processor": {
|
| 51 |
+
"do_convert_rgb": true,
|
| 52 |
+
"do_normalize": true,
|
| 53 |
+
"do_rescale": true,
|
| 54 |
+
"do_resize": true,
|
| 55 |
+
"do_sample_frames": true,
|
| 56 |
+
"image_mean": [
|
| 57 |
+
0.0,
|
| 58 |
+
0.0,
|
| 59 |
+
0.0
|
| 60 |
+
],
|
| 61 |
+
"image_std": [
|
| 62 |
+
1.0,
|
| 63 |
+
1.0,
|
| 64 |
+
1.0
|
| 65 |
+
],
|
| 66 |
+
"max_soft_tokens": 70,
|
| 67 |
+
"num_frames": 32,
|
| 68 |
+
"patch_size": 16,
|
| 69 |
+
"pooling_kernel_size": 3,
|
| 70 |
+
"resample": 3,
|
| 71 |
+
"rescale_factor": 0.00392156862745098,
|
| 72 |
+
"return_metadata": false,
|
| 73 |
+
"video_processor_type": "Gemma4VideoProcessor"
|
| 74 |
+
}
|
| 75 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12bac982b793c44b03d52a250a9f0d0b666813da566b910c24a6da0695fd11e6
|
| 3 |
+
size 32170070
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_token": "<|audio|>",
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"boa_token": "<|audio>",
|
| 5 |
+
"boi_token": "<|image>",
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eoa_token": "<audio|>",
|
| 8 |
+
"eoc_token": "<channel|>",
|
| 9 |
+
"eoi_token": "<image|>",
|
| 10 |
+
"eos_token": "<eos>",
|
| 11 |
+
"eot_token": "<turn|>",
|
| 12 |
+
"escape_token": "<|\"|>",
|
| 13 |
+
"etc_token": "<tool_call|>",
|
| 14 |
+
"etd_token": "<tool|>",
|
| 15 |
+
"etr_token": "<tool_response|>",
|
| 16 |
+
"extra_special_tokens": [
|
| 17 |
+
"<|video|>"
|
| 18 |
+
],
|
| 19 |
+
"image_token": "<|image|>",
|
| 20 |
+
"is_local": true,
|
| 21 |
+
"mask_token": "<mask>",
|
| 22 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 23 |
+
"model_specific_special_tokens": {
|
| 24 |
+
"audio_token": "<|audio|>",
|
| 25 |
+
"boa_token": "<|audio>",
|
| 26 |
+
"boi_token": "<|image>",
|
| 27 |
+
"eoa_token": "<audio|>",
|
| 28 |
+
"eoc_token": "<channel|>",
|
| 29 |
+
"eoi_token": "<image|>",
|
| 30 |
+
"eot_token": "<turn|>",
|
| 31 |
+
"escape_token": "<|\"|>",
|
| 32 |
+
"etc_token": "<tool_call|>",
|
| 33 |
+
"etd_token": "<tool|>",
|
| 34 |
+
"etr_token": "<tool_response|>",
|
| 35 |
+
"image_token": "<|image|>",
|
| 36 |
+
"soc_token": "<|channel>",
|
| 37 |
+
"sot_token": "<|turn>",
|
| 38 |
+
"stc_token": "<|tool_call>",
|
| 39 |
+
"std_token": "<|tool>",
|
| 40 |
+
"str_token": "<|tool_response>",
|
| 41 |
+
"think_token": "<|think|>"
|
| 42 |
+
},
|
| 43 |
+
"pad_token": "<pad>",
|
| 44 |
+
"padding_side": "right",
|
| 45 |
+
"processor_class": "Gemma4Processor",
|
| 46 |
+
"soc_token": "<|channel>",
|
| 47 |
+
"sot_token": "<|turn>",
|
| 48 |
+
"stc_token": "<|tool_call>",
|
| 49 |
+
"std_token": "<|tool>",
|
| 50 |
+
"str_token": "<|tool_response>",
|
| 51 |
+
"think_token": "<|think|>",
|
| 52 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 53 |
+
"unk_token": "<unk>",
|
| 54 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}<start_of_turn>system\n{{ message['content'] }}<end_of_turn>\n{% elif message['role'] == 'user' %}<start_of_turn>user\n{{ message['content'] }}<end_of_turn>\n{% elif message['role'] == 'assistant' %}<start_of_turn>model\n{{ message['content'] }}<end_of_turn>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<start_of_turn>model\n{% endif %}"
|
| 55 |
+
}
|