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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DHEIVER
/
Mangaba-AI-Nordeste-4B

Text Generation
MLX
Portuguese
dora
lora
adapter
mangaba
nordeste
brazil
portuguese
conversational
Model card Files Files and versions
xet
Community

Instructions to use DHEIVER/Mangaba-AI-Nordeste-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use DHEIVER/Mangaba-AI-Nordeste-4B 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("DHEIVER/Mangaba-AI-Nordeste-4B")
    
    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 DHEIVER/Mangaba-AI-Nordeste-4B with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "DHEIVER/Mangaba-AI-Nordeste-4B"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "DHEIVER/Mangaba-AI-Nordeste-4B"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "DHEIVER/Mangaba-AI-Nordeste-4B",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
Mangaba-AI-Nordeste-4B / data
52.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
DHEIVER's picture
DHEIVER
Upload data/valid.jsonl with huggingface_hub
6101348 verified 25 days ago
  • train.jsonl
    50.9 kB
    Upload data/train.jsonl with huggingface_hub 25 days ago
  • valid.jsonl
    1.77 kB
    Upload data/valid.jsonl with huggingface_hub 25 days ago