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

dphn
/
Dolphin-Mistral-24B-Venice-Edition-FP8

Text Generation
Transformers
Safetensors
mistral3
image-text-to-text
conversational
compressed-tensors
Model card Files Files and versions
xet
Community

Instructions to use dphn/Dolphin-Mistral-24B-Venice-Edition-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dphn/Dolphin-Mistral-24B-Venice-Edition-FP8 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="dphn/Dolphin-Mistral-24B-Venice-Edition-FP8")
    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("dphn/Dolphin-Mistral-24B-Venice-Edition-FP8")
    model = AutoModelForMultimodalLM.from_pretrained("dphn/Dolphin-Mistral-24B-Venice-Edition-FP8")
    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?"}
            ]
        },
    ]
    inputs = processor.apply_chat_template(
    	messages,
    	add_generation_prompt=True,
    	tokenize=True,
    	return_dict=True,
    	return_tensors="pt",
    ).to(model.device)
    
    outputs = model.generate(**inputs, max_new_tokens=40)
    print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use dphn/Dolphin-Mistral-24B-Venice-Edition-FP8 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/dphn/Dolphin-Mistral-24B-Venice-Edition-FP8
  • SGLang

    How to use dphn/Dolphin-Mistral-24B-Venice-Edition-FP8 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 "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8" \
        --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": "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8" \
            --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": "dphn/Dolphin-Mistral-24B-Venice-Edition-FP8",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use dphn/Dolphin-Mistral-24B-Venice-Edition-FP8 with Docker Model Runner:

    docker model run hf.co/dphn/Dolphin-Mistral-24B-Venice-Edition-FP8
Dolphin-Mistral-24B-Venice-Edition-FP8
25.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
dphnAI's picture
dphnAI
Update config.json
26bbbeb verified 27 days ago
  • .gitattributes
    1.57 kB
    Initial upload 11 months ago
  • README.md
    5.24 kB
    Update README.md about 2 months ago
  • chat_template.jinja
    14.9 kB
    Updated 2 months ago
  • config.json
    14.3 kB
    Update config.json 27 days ago
  • generation_config.json
    171 Bytes
    Updated 2 months ago
  • model-00001-of-00006.safetensors
    5 GB
    xet
    Updated 2 months ago
  • model-00002-of-00006.safetensors
    4.84 GB
    xet
    Updated 2 months ago
  • model-00003-of-00006.safetensors
    4.84 GB
    xet
    Updated 2 months ago
  • model-00004-of-00006.safetensors
    4.84 GB
    xet
    Updated 2 months ago
  • model-00005-of-00006.safetensors
    4.95 GB
    xet
    Updated 2 months ago
  • model-00006-of-00006.safetensors
    1.34 GB
    xet
    Updated 2 months ago
  • model.safetensors.index.json
    86.6 kB
    Updated 2 months ago
  • preprocessor_config.json
    662 Bytes
    Updated 2 months ago
  • processor_config.json
    189 Bytes
    Updated 2 months ago
  • recipe.yaml
    1.02 kB
    Updated 2 months ago
  • special_tokens_map.json
    21.4 kB
    Updated 2 months ago
  • tokenizer.json
    17.1 MB
    xet
    Updated 2 months ago
  • tokenizer_config.json
    213 kB
    Updated to version 1.2 - vision + 131k context + improved tool calling about 2 months ago