Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Quatfit
/
Quatfit-Mini

Image-Text-to-Text
Transformers
Safetensors
English
multilingual
quatfit1
feature-extraction
quatfit
multimodal
vision-language
audio-language
llm
reasoning
agentic-ai
long-context
instruction-tuned
conversational
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Quatfit/Quatfit-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Quatfit/Quatfit-Mini with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="Quatfit/Quatfit-Mini", trust_remote_code=True)
    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 AutoModel
    model = AutoModel.from_pretrained("Quatfit/Quatfit-Mini", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Quatfit/Quatfit-Mini with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Quatfit/Quatfit-Mini"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Quatfit/Quatfit-Mini",
    		"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/Quatfit/Quatfit-Mini
  • SGLang

    How to use Quatfit/Quatfit-Mini 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 "Quatfit/Quatfit-Mini" \
        --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": "Quatfit/Quatfit-Mini",
    		"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 "Quatfit/Quatfit-Mini" \
            --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": "Quatfit/Quatfit-Mini",
    		"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"
    						}
    					}
    				]
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Quatfit/Quatfit-Mini with Docker Model Runner:

    docker model run hf.co/Quatfit/Quatfit-Mini

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    1.69 kB
    Upload 2 files 7 days ago
  • LICENSE
    6.6 kB
    Update LICENSE 8 days ago
  • Quatfit-Mini_Technical_Report.pdf
    194 kB
    xet
    Upload Quatfit-Mini_Technical_Report.pdf about 8 hours ago
  • README.md
    7.37 kB
    Update README.md about 8 hours ago
  • chat_template.jinja
    12.1 kB
    Upload 8 files 7 days ago
  • config.json
    5.56 kB
    Upload 8 files 7 days ago
  • generation_config.json
    221 Bytes
    Upload 8 files 7 days ago
  • model.safetensors
    31.8 GB
    xet
    Upload model.safetensors about 8 hours ago
  • modeling_quatfit1.py
    3.53 kB
    Upload 8 files 7 days ago
  • processor_config.json
    1.69 kB
    Upload 8 files 7 days ago
  • tokenizer_config.json
    2.84 kB
    Upload 8 files 7 days ago