Instructions to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="second-state/SmolVLM2-256M-Video-Instruct-GGUF") 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("second-state/SmolVLM2-256M-Video-Instruct-GGUF") model = AutoModelForMultimodalLM.from_pretrained("second-state/SmolVLM2-256M-Video-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
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 second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
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 second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/SmolVLM2-256M-Video-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/SmolVLM2-256M-Video-Instruct-GGUF", "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/second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
- SGLang
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF 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 "second-state/SmolVLM2-256M-Video-Instruct-GGUF" \ --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": "second-state/SmolVLM2-256M-Video-Instruct-GGUF", "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 "second-state/SmolVLM2-256M-Video-Instruct-GGUF" \ --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": "second-state/SmolVLM2-256M-Video-Instruct-GGUF", "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 second-state/SmolVLM2-256M-Video-Instruct-GGUF with Ollama:
ollama run hf.co/second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF 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 second-state/SmolVLM2-256M-Video-Instruct-GGUF 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 second-state/SmolVLM2-256M-Video-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for second-state/SmolVLM2-256M-Video-Instruct-GGUF to start chatting
- Docker Model Runner
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
- Lemonade
How to use second-state/SmolVLM2-256M-Video-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/SmolVLM2-256M-Video-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolVLM2-256M-Video-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- .gitattributes +14 -0
- SmolVLM2-256M-Video-Instruct-Q2_K.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q3_K_L.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q3_K_M.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q3_K_S.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q4_0.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q4_K_M.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q4_K_S.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q5_0.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q5_K_M.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q5_K_S.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q6_K.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-Q8_0.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-f16.gguf +3 -0
- SmolVLM2-256M-Video-Instruct-mmproj-f16.gguf +3 -0
- config.json +142 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,17 @@ 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 |
+
SmolVLM2-256M-Video-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
SmolVLM2-256M-Video-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
SmolVLM2-256M-Video-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
SmolVLM2-256M-Video-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
SmolVLM2-256M-Video-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
SmolVLM2-256M-Video-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
SmolVLM2-256M-Video-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
SmolVLM2-256M-Video-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
SmolVLM2-256M-Video-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
SmolVLM2-256M-Video-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
SmolVLM2-256M-Video-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
SmolVLM2-256M-Video-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
SmolVLM2-256M-Video-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
SmolVLM2-256M-Video-Instruct-mmproj-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
SmolVLM2-256M-Video-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:615646518d0a7c3e28c7aed93382d6f6d22cf193a075c295514586985e65ea6b
|
| 3 |
+
size 104254432
|
SmolVLM2-256M-Video-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0aac34a477817f29fd6dfb454026fb459e9feb6b6783a13a8f9641bd490374b
|
| 3 |
+
size 113585632
|
SmolVLM2-256M-Video-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e94cb4e7eb71214fefbc6a0af7ffaa54a67dc97b5d5be1a54b8654b523579d9
|
| 3 |
+
size 109562848
|
SmolVLM2-256M-Video-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddbd90ce125e194c714b17ef91921b7c2be796014336bc0b10db7753636f001c
|
| 3 |
+
size 104254432
|
SmolVLM2-256M-Video-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49be11ed279711dd1bcac3ca0dd989e98d1a3897bd288c0704c87598cf980b3e
|
| 3 |
+
size 107779552
|
SmolVLM2-256M-Video-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e545f3bc75762a24120a3059bde9a4f21c5958d5adf48c0c96acb5549f4bb645
|
| 3 |
+
size 125054944
|
SmolVLM2-256M-Video-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8491fcedb11faf200ce84d58b116229aa0594424a3ed1ae06cddc6fa9d85b94c
|
| 3 |
+
size 121640416
|
SmolVLM2-256M-Video-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8fad50283dae3a28339c0a373d24f4c4e965647565c6350024a6215007a3bce
|
| 3 |
+
size 124598752
|
SmolVLM2-256M-Video-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2426fbb67ac964d06b89e6fcccb4dff754b256e660c3ad2c656f1ba9ea886930
|
| 3 |
+
size 133478368
|
SmolVLM2-256M-Video-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45eaab30e4e017ae5b952fb02a42ff7f7e2ab855750cf638e3abfc9bd55bf2b0
|
| 3 |
+
size 131349472
|
SmolVLM2-256M-Video-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:009293a747e97921043640bb46716c558a4b4c0c60d47e2cb9183a80ef87d6be
|
| 3 |
+
size 168628192
|
SmolVLM2-256M-Video-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af7ce9951a2f46c4f6e5def253e5b896ca5e417010e7a9949fdc9e5175c27767
|
| 3 |
+
size 175056352
|
SmolVLM2-256M-Video-Instruct-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59068440ef6ddda7e9731fb29de5d5ab475ea3fe69ba4fc54d4ec3f7bb6d02a8
|
| 3 |
+
size 327811552
|
SmolVLM2-256M-Video-Instruct-mmproj-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a39d2340eddb2c9bf88b6e7a2b382bd06b703019dd5597d437503eb7e086deb
|
| 3 |
+
size 190033280
|
config.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SmolVLMForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_token_id": 49190,
|
| 6 |
+
"model_type": "smolvlm",
|
| 7 |
+
"pad_token_id": 128002,
|
| 8 |
+
"scale_factor": 4,
|
| 9 |
+
"text_config": {
|
| 10 |
+
"_flash_attn_2_enabled": true,
|
| 11 |
+
"_name_or_path": "None",
|
| 12 |
+
"architectures": [
|
| 13 |
+
"VLlama3ForCausalLM"
|
| 14 |
+
],
|
| 15 |
+
"head_dim": 64,
|
| 16 |
+
"hidden_size": 576,
|
| 17 |
+
"initializer_range": 0.041666666666666664,
|
| 18 |
+
"intermediate_size": 1536,
|
| 19 |
+
"is_llama_config": true,
|
| 20 |
+
"max_position_embeddings": 8192,
|
| 21 |
+
"model_type": "llama",
|
| 22 |
+
"neftune_noise_alpha": 0.0,
|
| 23 |
+
"num_attention_heads": 9,
|
| 24 |
+
"num_hidden_layers": 30,
|
| 25 |
+
"num_key_value_heads": 3,
|
| 26 |
+
"pad_token_id": 2,
|
| 27 |
+
"perceiver_config": {
|
| 28 |
+
"_attn_implementation_autoset": false,
|
| 29 |
+
"_name_or_path": "",
|
| 30 |
+
"add_cross_attention": false,
|
| 31 |
+
"architectures": null,
|
| 32 |
+
"attention_dropout": 0.0,
|
| 33 |
+
"bad_words_ids": null,
|
| 34 |
+
"begin_suppress_tokens": null,
|
| 35 |
+
"bos_token_id": null,
|
| 36 |
+
"chunk_size_feed_forward": 0,
|
| 37 |
+
"cross_attention_hidden_size": null,
|
| 38 |
+
"decoder_start_token_id": null,
|
| 39 |
+
"diversity_penalty": 0.0,
|
| 40 |
+
"do_sample": false,
|
| 41 |
+
"early_stopping": false,
|
| 42 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 43 |
+
"eos_token_id": null,
|
| 44 |
+
"exponential_decay_length_penalty": null,
|
| 45 |
+
"finetuning_task": null,
|
| 46 |
+
"forced_bos_token_id": null,
|
| 47 |
+
"forced_eos_token_id": null,
|
| 48 |
+
"hidden_act": "silu",
|
| 49 |
+
"id2label": {
|
| 50 |
+
"0": "LABEL_0",
|
| 51 |
+
"1": "LABEL_1"
|
| 52 |
+
},
|
| 53 |
+
"is_decoder": false,
|
| 54 |
+
"is_encoder_decoder": false,
|
| 55 |
+
"label2id": {
|
| 56 |
+
"LABEL_0": 0,
|
| 57 |
+
"LABEL_1": 1
|
| 58 |
+
},
|
| 59 |
+
"length_penalty": 1.0,
|
| 60 |
+
"max_length": 20,
|
| 61 |
+
"min_length": 0,
|
| 62 |
+
"model_type": "vllama3",
|
| 63 |
+
"no_repeat_ngram_size": 0,
|
| 64 |
+
"num_beam_groups": 1,
|
| 65 |
+
"num_beams": 1,
|
| 66 |
+
"num_key_value_heads": 1,
|
| 67 |
+
"num_return_sequences": 1,
|
| 68 |
+
"output_attentions": false,
|
| 69 |
+
"output_hidden_states": false,
|
| 70 |
+
"output_scores": false,
|
| 71 |
+
"pad_token_id": null,
|
| 72 |
+
"prefix": null,
|
| 73 |
+
"problem_type": null,
|
| 74 |
+
"pruned_heads": {},
|
| 75 |
+
"qk_layer_norms_perceiver": false,
|
| 76 |
+
"remove_invalid_values": false,
|
| 77 |
+
"repetition_penalty": 1.0,
|
| 78 |
+
"resampler_depth": 6,
|
| 79 |
+
"resampler_head_dim": 96,
|
| 80 |
+
"resampler_n_heads": 16,
|
| 81 |
+
"resampler_n_latents": 64,
|
| 82 |
+
"return_dict": true,
|
| 83 |
+
"return_dict_in_generate": false,
|
| 84 |
+
"sep_token_id": null,
|
| 85 |
+
"suppress_tokens": null,
|
| 86 |
+
"task_specific_params": null,
|
| 87 |
+
"temperature": 1.0,
|
| 88 |
+
"tf_legacy_loss": false,
|
| 89 |
+
"tie_encoder_decoder": false,
|
| 90 |
+
"tie_word_embeddings": true,
|
| 91 |
+
"tokenizer_class": null,
|
| 92 |
+
"top_k": 50,
|
| 93 |
+
"top_p": 1.0,
|
| 94 |
+
"torch_dtype": null,
|
| 95 |
+
"torchscript": false,
|
| 96 |
+
"transformers_version": "4.46.0",
|
| 97 |
+
"typical_p": 1.0,
|
| 98 |
+
"use_bfloat16": false
|
| 99 |
+
},
|
| 100 |
+
"pixel_shuffle_factor": 4,
|
| 101 |
+
"qk_layer_norms": false,
|
| 102 |
+
"rms_norm_eps": 1e-05,
|
| 103 |
+
"rope_interleaved": false,
|
| 104 |
+
"rope_theta": 100000,
|
| 105 |
+
"torch_dtype": "bfloat16",
|
| 106 |
+
"transformers.js_config": {
|
| 107 |
+
"kv_cache_dtype": {
|
| 108 |
+
"fp16": "float16",
|
| 109 |
+
"q4f16": "float16"
|
| 110 |
+
}
|
| 111 |
+
},
|
| 112 |
+
"use_resampler": false,
|
| 113 |
+
"vocab_size": 49280
|
| 114 |
+
},
|
| 115 |
+
"tie_word_embeddings": false,
|
| 116 |
+
"torch_dtype": "float32",
|
| 117 |
+
"transformers.js_config": {
|
| 118 |
+
"kv_cache_dtype": {
|
| 119 |
+
"fp16": "float16",
|
| 120 |
+
"q4f16": "float16"
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
"transformers_version": "4.47.1",
|
| 124 |
+
"use_cache": false,
|
| 125 |
+
"use_reentrant_checkpointing": false,
|
| 126 |
+
"vision_config": {
|
| 127 |
+
"hidden_size": 768,
|
| 128 |
+
"image_size": 512,
|
| 129 |
+
"max_image_size": {
|
| 130 |
+
"longest_edge": 512
|
| 131 |
+
},
|
| 132 |
+
"model_type": "smolvlm_vision",
|
| 133 |
+
"num_attention_heads": 12,
|
| 134 |
+
"patch_size": 16,
|
| 135 |
+
"size": {
|
| 136 |
+
"longest_edge": 2048
|
| 137 |
+
},
|
| 138 |
+
"tie_word_embeddings": false,
|
| 139 |
+
"use_base_siglip": true
|
| 140 |
+
},
|
| 141 |
+
"vocab_size": 49280
|
| 142 |
+
}
|