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

hunterbown
/
Shannonstral-7B-1bit

Text Generation
MLX
Safetensors
1-bit
extreme-quantization
research
mistral
information-theory
shannonprotocol
informationtheory
entropy
Model card Files Files and versions
xet
Community

Instructions to use hunterbown/Shannonstral-7B-1bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use hunterbown/Shannonstral-7B-1bit 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("hunterbown/Shannonstral-7B-1bit")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • MLX LM

    How to use hunterbown/Shannonstral-7B-1bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "hunterbown/Shannonstral-7B-1bit" --prompt "Once upon a time"
Shannonstral-7B-1bit
4.11 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
hunterbown's picture
hunterbown
Update README.md
87ce1c0 verified 9 months ago
  • core
    Upload folder using huggingface_hub 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • 4bit-model.safetensors
    4.08 GB
    xet
    Upload 4bit-model.safetensors with huggingface_hub 9 months ago
  • README.md
    4.46 kB
    Update README.md 9 months ago
  • app.py
    3.27 kB
    Upload folder using huggingface_hub 9 months ago
  • requirements.txt
    77 Bytes
    Upload folder using huggingface_hub 9 months ago
  • weights_packed.pkl.gz
    28.6 MB
    xet
    Upload folder using huggingface_hub 9 months ago