Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

j4n4
/
Bimo-7B-CyberAgent-MLX-4bit

Text Generation
MLX
Safetensors
English
qwen2
cybersecurity
security-auditing
agent
tool-calling
function-calling
code-generation
yarn
quantized
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use j4n4/Bimo-7B-CyberAgent-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use j4n4/Bimo-7B-CyberAgent-MLX-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("j4n4/Bimo-7B-CyberAgent-MLX-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 Settings
  • LM Studio
  • MLX LM

    How to use j4n4/Bimo-7B-CyberAgent-MLX-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 "j4n4/Bimo-7B-CyberAgent-MLX-4bit"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "j4n4/Bimo-7B-CyberAgent-MLX-4bit"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8080/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "j4n4/Bimo-7B-CyberAgent-MLX-4bit",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
  • Atomic Chat
Bimo-7B-CyberAgent-MLX-4bit
4.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
j4n4's picture
j4n4
Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent
166af17 verified 1 day ago
  • .gitattributes
    1.57 kB
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • README.md
    3.84 kB
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • chat_template.jinja
    560 Bytes
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • config.json
    1.88 kB
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • generation_config.json
    242 Bytes
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • model.safetensors
    4.28 GB
    xet
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • model.safetensors.index.json
    51.8 kB
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • tokenizer.json
    11.4 MB
    xet
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago
  • tokenizer_config.json
    692 Bytes
    Upload 4bit MLX weights and model card for iBimo-o/Bimo-7B-CyberAgent 1 day ago