Downloads · 30 days
13
10% of all-time downloads
Chesscorner/Qwen3-VL-4B-bnb-nf4
Qwen3-VL-4B-bnb-nf4 is a image-text-to-text model from Chesscorner. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers.
Qwen3-VL-4B Model quantised by bitsandbytes NF4 Quantisation Method
Downloads · 30 days
13
10% of all-time downloads
All-time downloads
127
Public
Parameters
4.6B
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.9 GB · 100%
How the weights are stored.
U84.2B · 91%
From the Hugging Face model README
Qwen3-VL-4B Model quantised by bitsandbytes NF4 Quantisation Method
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
model_4bit.eval()
model_4bit.model.compile( mode="reduce-overhead", fullgraph=False, )
processor = AutoProcessor.from_pretrained( "Qwen/Qwen3-VL-4B-Instruct", min_pixels=256 * 32 * 32, max_pixels=1280 * 32 * 32, )
messages = [ { "role": "user", "content": [ {"type": "image", "image": "/content/IMG_2680.png"}, { "type": "text", "text": "Please extract the handwritten chess moves from this chess notation sheet.", }, ], } ]
inputs = processor.apply_chat_template( messages, tokenize=True, add_generation_prompt=True, return_dict=True, return_tensors="pt", enable_thinking=False, ).to(model_4bit.device)
with torch.no_grad(): generated_ids = model_4bit.generate( **inputs, max_new_tokens=200, do_sample=False, cache_implementation="static", )
generated_ids_trimmed = [ out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids) ]
output_text = processor.batch_decode( generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False, )
print(output_text[0])
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]