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

georgesZam
/
emo-1b14b-1t-4bit

Text Generation
MLX
Safetensors
English
emo
Mixture of Experts
mixture-of-experts
modularity
conversational
custom_code
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use georgesZam/emo-1b14b-1t-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use georgesZam/emo-1b14b-1t-4bit with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("georgesZam/emo-1b14b-1t-4bit")
    
    prompt = "Write a story about Einstein"
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )
    
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use georgesZam/emo-1b14b-1t-4bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "georgesZam/emo-1b14b-1t-4bit"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "georgesZam/emo-1b14b-1t-4bit"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "georgesZam/emo-1b14b-1t-4bit",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
emo-1b14b-1t-4bit
10.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
georgesZam's picture
georgesZam
Upload folder using huggingface_hub
f1f7516 verified 20 days ago
  • .gitattributes
    1.52 kB
    initial commit 20 days ago
  • README.md
    3.92 kB
    Upload README.md with huggingface_hub 20 days ago
  • chat_template.jinja
    196 Bytes
    Upload folder using huggingface_hub 20 days ago
  • config.json
    1.41 kB
    Upload folder using huggingface_hub 20 days ago
  • configuration_emo.py
    11.7 kB
    Upload folder using huggingface_hub 20 days ago
  • emo.py
    9.37 kB
    Upload emo.py with huggingface_hub 20 days ago
  • generation_config.json
    69 Bytes
    Upload folder using huggingface_hub 20 days ago
  • model-00001-of-00002.safetensors
    5.3 GB
    xet
    Upload folder using huggingface_hub 20 days ago
  • model-00002-of-00002.safetensors
    4.87 GB
    xet
    Upload folder using huggingface_hub 20 days ago
  • model.safetensors.index.json
    37.5 kB
    Upload folder using huggingface_hub 20 days ago
  • modeling_emo.py
    55.2 kB
    Upload folder using huggingface_hub 20 days ago
  • tokenizer.json
    7.14 MB
    Upload folder using huggingface_hub 20 days ago
  • tokenizer_config.json
    349 Bytes
    Upload folder using huggingface_hub 20 days ago