Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

juanquivilla
/
sotto-cleanup-lfm25-350m-mlx-5bit

Text Generation
MLX
Safetensors
English
lfm2
speech-to-text
transcript-cleanup
text-correction
asr-post-processing
LFM
LiquidAI
mlx-5bit
conversational
5-bit
Model card Files Files and versions
xet
Community

Instructions to use juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit 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("juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit")
    
    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
  • Pi new

    How to use juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit with Pi:

    Start the MLX server
    # Install MLX LM:
    uv tool install mlx-lm
    # Start a local OpenAI-compatible server:
    mlx_lm.server --model "juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit"
    Configure the model in Pi
    # Install Pi:
    npm install -g @mariozechner/pi-coding-agent
    # Add to ~/.pi/agent/models.json:
    {
      "providers": {
        "mlx-lm": {
          "baseUrl": "http://localhost:8080/v1",
          "api": "openai-completions",
          "apiKey": "none",
          "models": [
            {
              "id": "juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit"
            }
          ]
        }
      }
    }
    Run Pi
    # Start Pi in your project directory:
    pi
  • MLX LM

    How to use juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
sotto-cleanup-lfm25-350m-mlx-5bit
249 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 24 commits
juanquivilla's picture
juanquivilla
v51: composite=88.68 β€” see model card for benchmark deltas vs v45
5f8adb5 verified 1 day ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    1.98 kB
    v51: composite=88.68 β€” see model card for benchmark deltas vs v45 1 day ago
  • chat_template.jinja
    1.3 kB
    v15: 5-bit MLX quant (237MB, ROUGE-L ~0.955) about 1 month ago
  • config.json
    1.69 kB
    v45: SFT+chained GRPO with ITN β€” 95.9% number accuracy, 97.0% filler-free, deletion behavior matches v36 3 days ago
  • generation_config.json
    141 Bytes
    v45: SFT+chained GRPO with ITN β€” 95.9% number accuracy, 97.0% filler-free, deletion behavior matches v36 3 days ago
  • model.safetensors
    244 MB
    xet
    v51: composite=88.68 β€” see model card for benchmark deltas vs v45 1 day ago
  • model.safetensors.index.json
    23.4 kB
    5-bit MLX: ROUGE-L 0.926, 233MB, 56% exact, 99% filler-free about 1 month ago
  • tokenizer.json
    4.73 MB
    5-bit MLX: ROUGE-L 0.926, 233MB, 56% exact, 99% filler-free about 1 month ago
  • tokenizer_config.json
    582 Bytes
    v36: full-FT GRPO with substantive-deletion-aware reward β€” filler-free 96.9%, sub-del-15-long 0.64% 4 days ago