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

Ronuhz
/
Jan-v1-4B-4bit

Text Generation
MLX
Safetensors
English
qwen3
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use Ronuhz/Jan-v1-4B-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use Ronuhz/Jan-v1-4B-4bit with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    # if on a CUDA device, also pip install mlx[cuda]
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("Ronuhz/Jan-v1-4B-4bit")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use Ronuhz/Jan-v1-4B-4bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "Ronuhz/Jan-v1-4B-4bit" --prompt "Once upon a time"
Jan-v1-4B-4bit
2.28 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Ronuhz's picture
Ronuhz
Add files using upload-large-folder tool
a44fc29 verified 9 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 9 months ago
  • README.md
    785 Bytes
    Add files using upload-large-folder tool 9 months ago
  • added_tokens.json
    707 Bytes
    Add files using upload-large-folder tool 9 months ago
  • config.json
    939 Bytes
    Add files using upload-large-folder tool 9 months ago
  • merges.txt
    1.67 MB
    Add files using upload-large-folder tool 9 months ago
  • model.safetensors
    2.26 GB
    xet
    Add files using upload-large-folder tool 9 months ago
  • model.safetensors.index.json
    63.9 kB
    Add files using upload-large-folder tool 9 months ago
  • special_tokens_map.json
    613 Bytes
    Add files using upload-large-folder tool 9 months ago
  • tokenizer.json
    11.4 MB
    xet
    Add files using upload-large-folder tool 9 months ago
  • tokenizer_config.json
    5.4 kB
    Add files using upload-large-folder tool 9 months ago
  • vocab.json
    2.78 MB
    Add files using upload-large-folder tool 9 months ago