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

unsloth
/
Qwen3-4B

Safetensors
qwen3
unsloth
Model card Files Files and versions
xet
Community
2

Instructions to use unsloth/Qwen3-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • Unsloth Studio new

    How to use unsloth/Qwen3-4B with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for unsloth/Qwen3-4B to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for unsloth/Qwen3-4B to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for unsloth/Qwen3-4B to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="unsloth/Qwen3-4B",
        max_seq_length=2048,
    )
Qwen3-4B
8.06 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
danielhanchen's picture
danielhanchen
Add files using upload-large-folder tool
6403365 verified about 1 year ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool about 1 year ago
  • README.md
    15.8 kB
    Add files using upload-large-folder tool about 1 year ago
  • added_tokens.json
    707 Bytes
    Add files using upload-large-folder tool about 1 year ago
  • chat_template.jinja
    4.76 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    752 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • generation_config.json
    237 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • merges.txt
    1.67 MB
    Add files using upload-large-folder tool about 1 year ago
  • model-00001-of-00002.safetensors
    4.97 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • model-00002-of-00002.safetensors
    3.08 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • model.safetensors.index.json
    32.8 kB
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    614 Bytes
    Add files using upload-large-folder tool about 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • tokenizer_config.json
    10.5 kB
    Add files using upload-large-folder tool about 1 year ago
  • vocab.json
    2.78 MB
    Add files using upload-large-folder tool about 1 year ago