Please make an html file so that when I upload an image with a math problem, the model responds with only the correct answer. Like its response can only be the number and client side. I just want a proof of concept. Do not try to swap it with an ocr. smolvlm can run in my browser.

https://huggingface.co/HuggingFaceTB/SmolVLM-256M-Instruct/tree/main

onnx
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
.gitattributes

Safe
1.52 kB
initial commit
4 months ago
README.md

16.4 kB
Update README.md
about 2 months ago
added_tokens.json

Safe
4.74 kB
Upload processor
4 months ago
chat_template.json

Safe
429 Bytes
Create chat_template.json
4 months ago
config.json

Safe
7.35 kB
Update config.json
4 months ago
generation_config.json

Safe
136 Bytes
Update generation_config.json
4 months ago
merges.txt

Safe
466 kB
Upload processor
4 months ago
model.safetensors

513 MB
xet
Upload Idefics3ForConditionalGeneration
4 months ago
preprocessor_config.json

Safe
486 Bytes
Update preprocessor_config.json
4 months ago
processor_config.json

Safe
68 Bytes
Update processor_config.json
4 months ago
special_tokens_map.json

Safe
1.07 kB
Upload processor
4 months ago
tokenizer.json

Safe
3.55 MB
Upload processor
4 months ago
tokenizer_config.json

Safe
28.2 kB
Update tokenizer_config.json
4 months ago
vocab.json

Safe
801 kB
Upload processor
4 months ago

decoder_model_merged.onnx

541 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_bnb4.onnx

78.2 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_fp16.onnx

270 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_int8.onnx

137 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_q4.onnx

86.6 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_q4f16.onnx

77 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_quantized.onnx

137 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
decoder_model_merged_uint8.onnx

137 MB
xet
Upload optimized language model w/ WebGPU-compatible GQA (#11)
about 2 months ago
embed_tokens.onnx

114 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_bnb4.onnx

Safe
114 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_fp16.onnx

Safe
56.8 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_int8.onnx

Safe
28.4 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_q4.onnx

Safe
114 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_q4f16.onnx

Safe
56.8 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_quantized.onnx

Safe
28.4 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
embed_tokens_uint8.onnx

Safe
28.4 MB
xet
[WIP] Upload ONNX weights (#1)
4 months ago
vision_encoder.onnx

374 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_bnb4.onnx

Safe
58 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_fp16.onnx

Safe
187 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_int8.onnx

Safe
94.2 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_q4.onnx

Safe
63.8 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_q4f16.onnx

Safe
55 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_quantized.onnx

Safe
94.2 MB
xet
Upload fixed vision ONNX weights (#2)
4 months ago
vision_encoder_uint8.onnx

Safe
94.2 MB
xet
Upload fixed vision ONNX weights (#2)