alt.freeweights.text / Florence-2-base
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject:

Florence-2-base

Date: 2026-11-15Commit: d59e079Signed: 2DC28CC7B26A283B ✓

Image text to text model. Onnx weights, 5.37 GB in all. Published by onnx-community under MIT.

text5.37GBFlorence-2-baseonnxpermissive
FactsParamsnot statedSize5.37 GBFormatsonnxTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get onnx-community/Florence-2-base
# manifest sha256 8a4b1da790d6… · 5.37 GB · 60 files
$ fw verify ./Florence-2-base onnx-community/Florence-2-base
From sourceHosted (signed)onnx-community/Florence-2-baseLast check: 2026-11-15 05:01 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Florence-2-base.

Overview

Size
5.37 GB
Weights
25.7 MB (smallest of 48 ONNX variants)
Parameters
not stated
Formats
onnx
Task
image text to text
License
MIT (permissive)
Files
60, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: microsoft/Florence-2-base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:01 UTCpassed

Model card

From the publisher at commit d59e079. Shown as plain text with links; images open at the publisher.

https://huggingface.co/microsoft/Florence-2-base with ONNX weights to be compatible with Transformers.js.

Usage (Transformers.js)#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Perform image captioning with onnx-community/Florence-2-base.

import {
    Florence2ForConditionalGeneration,
    AutoProcessor,
    load_image,
} from '@huggingface/transformers';

// Load model, processor, and tokenizer
const model_id = 'onnx-community/Florence-2-base';
const model = await Florence2ForConditionalGeneration.from_pretrained(model_id, { dtype: 'fp32' });
const processor = await AutoProcessor.from_pretrained(model_id);

// Load image and prepare vision inputs
const url = 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg';
const image = await load_image(url);

// Specify task and prepare text inputs
const task = '<MORE_DETAILED_CAPTION>';
const prompts = processor.construct_prompts(task);

// Pre-process the image and text inputs
const inputs = await processor(image, prompts);

// Generate text
const generated_ids = await model.generate({
    ...inputs,
    max_new_tokens: 100,
});

// Decode generated text
const generated_text = processor.batch_decode(generated_ids, { skip_special_tokens: false })[0];

// Post-process the generated text
const result = processor.post_process_generation(generated_text, task, image.size);
console.log(result);
// { '<MORE_DETAILED_CAPTION>': 'The image shows a vintage Volkswagen Beetle car parked on a cobblestone street in front of a yellow building with two wooden doors. The car is a light green color with silver rims and appears to be in good condition. The building has a sloping roof and is painted in a combination of yellow and beige colors. The sky is blue and there are trees in the background. The overall mood of the image is peaceful and serene.' }

We also released an online demo, which you can try yourself: https://huggingface.co/spaces/Xenova/florence2-webgpu


Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Files

60 files · 5.37 GBWeights 25.7 MB (smallest of 48 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 60 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md2.91 KB7288a264befa84b4123f259fec85c0a5b03c676f6897c1dd9aed2bb22d7d4f48
added_tokens.json22.4 KBba67457c577895525996e7a42d7da60a05856506ea4fd25ff9a023a64662f74b
config.json5.45 KB74efbe2299e13cfcc9e083861eae4a943d76f784ddd595d85e779d189cf0a574
generation_config.json297 B25dc666f44506e0a63f5de2d191e5809b251527b282ff4951fad9840556407b3
merges.txt456 KB1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
onnx/decoder_model.onnx388 MB783ca1b3f3a47fe5771d1150a3a569cae00433fd78a927d662f50809d0010b72
onnx/decoder_model_bnb4.onnx58.0 MB1bcd2a16ecc8d92002cc36eb847489c36ebb8657980565827822d8f97dc8cd9f
onnx/decoder_model_fp16.onnx194 MBe9d20cf9de122aeefae51efed5ce13423f3178d755b09c8bbcea36439a83c6e9
onnx/decoder_model_int8.onnx97.8 MB6054c18012c1dd313c0428ce159379840a1e188ab2f9da0d590bf0640bbeaa1c
onnx/decoder_model_merged.onnx388 MB6d6e1266d7f94f5d4ec9cc07d9c1f7b3e47049c9b0de7bbe82a91e62dfd152af
onnx/decoder_model_merged_bnb4.onnx58.4 MB12b5994f49fef664736eedbab52849c5866dacbc70981c6a4d9ba316f8dc514d
onnx/decoder_model_merged_fp16.onnx195 MB57ccba205002ae8113c2d4aa0501f5ab8100bb74a793c97995ab4f6433f979be
onnx/decoder_model_merged_int8.onnx98.2 MB7ffecf4dd98784308878fd52a7f95ed64f5ed025b4785f6f105450be8fe2be04
onnx/decoder_model_merged_q4.onnx64.4 MB3ac3071aa9d8211673a1726ea33433a9525085a3f14d000c1df2d5569f3384cf
onnx/decoder_model_merged_q4f16.onnx56.5 MB5bf715e231004c4abe6a9c45b1b03fc0ac97685ff2fb200a1fb1c627e42b8617
onnx/decoder_model_merged_quantized.onnx98.2 MB7ffecf4dd98784308878fd52a7f95ed64f5ed025b4785f6f105450be8fe2be04
onnx/decoder_model_merged_uint8.onnx98.2 MBc8c29f0bd7af256fd52a29237fc31bbcc525d570415d3a7d601e21b09aa1e4d0
onnx/decoder_model_q4.onnx64.0 MBdc92db0585d28b633cd4010ec22b682bc474ebce79ddfa2f868d4d935ff8b2e7
onnx/decoder_model_q4f16.onnx56.2 MB51cee5be1fcbf1dd20c71fd50c0a891bd736a4f9bcdb4efdfbf3177c76070493
onnx/decoder_model_quantized.onnx97.8 MB6054c18012c1dd313c0428ce159379840a1e188ab2f9da0d590bf0640bbeaa1c
onnx/decoder_model_uint8.onnx97.8 MB4fcf6b308b1b829e3e99194012621e66a5a28d3a643a08ef4819d8390954fd2e
onnx/decoder_with_past_model.onnx360 MB9531ae0647d6f58fac8db8f13aedbe084d167ec79e3ea9e33006fd16fb02c432
onnx/decoder_with_past_model_bnb4.onnx54.0 MB80c848403751e4739109471cf31c8a59c33dbde7808e6fcb687615349ecaad3c
onnx/decoder_with_past_model_fp16.onnx180 MB0edd49cbb24d547392d28ecacd690625b29d38523dce5e6c48a0835d4be5f58c
onnx/decoder_with_past_model_int8.onnx90.6 MB23aade3a3a540d15f034ec637fbb75c9745fe0cbecac467b694000b225e3fcc0
onnx/decoder_with_past_model_q4.onnx59.5 MB35e85b082399d1cbddf5948a28ae41a22618c7e0f1a7c64709b2a6eb5d47e70b
onnx/decoder_with_past_model_q4f16.onnx52.1 MBcb1689fbc868f23562509469408b20cb4920c11ee785975630f37ffb0ac8854d
onnx/decoder_with_past_model_quantized.onnx90.6 MB23aade3a3a540d15f034ec637fbb75c9745fe0cbecac467b694000b225e3fcc0
onnx/decoder_with_past_model_uint8.onnx90.6 MB3ce91f4ba9a89b3e46ffb59e5491a1ad2b92081b87c6320eff5d145d35bd7427
onnx/embed_tokens.onnx158 MBfec0fd20276af861afb6a23a11544bf1378c05e2a41001b610cc281e244c4b20
onnx/embed_tokens_bnb4.onnx158 MBd925e911990a13d039de35e558500c77146c5e4f9d6e9ad6d23224507cbc802c
onnx/embed_tokens_fp16.onnx78.8 MBeed0b956736e10822e2ac5d7e6cad8856b583c7163a4b075fb9a892b69d72c16
onnx/embed_tokens_int8.onnx39.4 MB8818c58a214e53bf7e22c48bb4674c2fa3112b9539c3ce4075a2eac797b1ef74
onnx/embed_tokens_q4.onnx158 MBd925e911990a13d039de35e558500c77146c5e4f9d6e9ad6d23224507cbc802c
onnx/embed_tokens_q4f16.onnx78.8 MB2b06ca1369da52624a99df94f4d5ed230b193a6661bb18a80b57aaf1c772e7e0
onnx/embed_tokens_quantized.onnx39.4 MB8818c58a214e53bf7e22c48bb4674c2fa3112b9539c3ce4075a2eac797b1ef74
onnx/embed_tokens_uint8.onnx39.4 MB7e2c5422b6b89e46a274408a349b38f162fdd59a69097cc2f6e62be62f41ad6f
onnx/encoder_model.onnx173 MBb155b5a0e56a4244c62060751bb1b70dfe481015d0dbfa6d19b1912d9e58da0d
onnx/encoder_model_bnb4.onnx27.4 MBfc34331042a17b369e4698f3d2f50d1528c0fc162ffd1fa433a8b5669cfa3b22
onnx/encoder_model_fp16.onnx86.7 MBef4ea18ac2a7e3c06268b57fcda9e36266032dd841b3d78171709e1de05f9e6f
onnx/encoder_model_int8.onnx43.7 MBa0459867dc116e8e49f53073e368e45c21169d0b0dd7dc350abed06926e0d835
onnx/encoder_model_q4.onnx30.1 MB59b7a082bc70d1dab610aef6c1c0e5b421fcadb218798af2081eac0c9b49c285
onnx/encoder_model_q4f16.onnx25.7 MB0395ff181f21a48296e54709aac35709751c19acb9fd64a8a1b0bd37820f860f
onnx/encoder_model_quantized.onnx43.7 MBa0459867dc116e8e49f53073e368e45c21169d0b0dd7dc350abed06926e0d835
onnx/encoder_model_uint8.onnx43.7 MBebfba7f27081770cad3c94ec7b9eab1d7d829fa2ff00198eae6c4bf10b601368
onnx/vision_encoder.onnx367 MB2c7464fce495ea43b415b48afe7dbe84a9ebbe0cfe3c31fdd81c6dd66b39ff75
onnx/vision_encoder_bnb4.onnx76.0 MBed213ace206c9c0a68468648ea032ca81a093074b1ec7bb9f9e2bd5877163244
onnx/vision_encoder_fp16.onnx184 MBd501af2988bc947b085a35df9dd2d623eb2d62ea1e31a8e60ec65b97a624e54e
onnx/vision_encoder_int8.onnx93.8 MBec0649c0307316190b6b91ffb4582c82bb3ed19202b66395990fe340c27c07e5
onnx/vision_encoder_q4.onnx81.3 MB31a3e25f92f456428acccf3d5d200e366cc249c3e3d251ee992bec269e430582
onnx/vision_encoder_q4f16.onnx62.5 MB28c594571fdc23f33c54508a7da4c9fe02b35bee9b60bd8eda5f627ec4af985c
onnx/vision_encoder_quantized.onnx93.8 MB56351a93ecfb61a0384dc63c130cc5bdeea8de1a85f172e109821c7cc956be5a
onnx/vision_encoder_uint8.onnx93.8 MB56351a93ecfb61a0384dc63c130cc5bdeea8de1a85f172e109821c7cc956be5a
preprocessor_config.json2.67 KBc892857e34a7082284983a7717717d39c9bf7e574f1f41d80d4c918c97502efa
processor_config.json130 B6eb1a2e487fa8b7521691a3382b5afd92a78e8ea34b385f8824fa07563e92245
special_tokens_map.json147 KB72ff172dc769bc1551b1b4211628ce3271643bc60379e4da45d85a9be9332c39
tokenizer.json2.30 MBd69dcdb2323e124ac4f800cb9863ddccea0d7bb11e16125e8df3bd60f2f8aeac
tokenizer_config.json198 KBd8e64607233cb53b619fb46664f6cad08176c26e0e8735b2d30d888364f19600
vocab.json798 KBed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d59e079711 pinned now2026-11-15 05:01 UTC60 files · 5.37 GB

Use it

$ fw get onnx-community/Florence-2-base
# manifest sha256 8a4b1da790d6… · 5.37 GB · 60 files
$ fw verify ./Florence-2-base onnx-community/Florence-2-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/Florence-2-base.json --dir ./Florence-2-base $ python3 fw.py verify ./Florence-2-base ./onnx-community__Florence-2-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/Florence-2-base --revision d59e079711c57174f29265539fb4cc9f0f335916 --local-dir ./Florence-2-base

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
7288a264befa84b4123f259fec85c0a5b03c676f6897c1dd9aed2bb22d7d4f48
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject: Florence-2-baseDate: 2026-11-15Commit: d59e079Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/Florence-2-base
Pinned commit
d59e079711c57174f29265539fb4cc9f0f335916
Manifest
Florence-2-base.json · .minisig
Manifest sha256
8a4b1da790d60d0ba2c9bbb59e2070298b42d4c612bfcd83b4325ce77ad95c4d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:01 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/Florence-2-base.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/Florence-2-base.json.minisig $ minisign -Vm Florence-2-base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

microsoft/Florence-2-base · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/Florence-2-base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Florence-2-base.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B