--- library_name: mlx inference: false extra_gated_description: >- To learn more about how we process your personal data, please read our Privacy Policy. tags: - laguna-xs-2.1 - mlx license: openmdw-1.1 pipeline_tag: text-generation base_model: - poolside/Laguna-XS-2.1 --- > [!WARNING] > # FOR TESTING ONLY > **This is an experimental NVFP4 MLX build of Laguna XS 2.1, published for testing purposes only.** > It has not been validated for quality or correctness and is not an official release. > Do not use it in production. For supported checkpoints, see the > [Laguna XS 2.1](https://huggingface.co/poolside/Laguna-XS-2.1) model card and its variants.

poolside-banner

# Laguna XS 2.1-NVFP4-mlx Laguna XS 2.1-NVFP4-mlx is an NVFP4 (4-bit) [MLX](https://github.com/ml-explore/mlx) build of Laguna XS 2.1, a 33B total parameter Mixture-of-Experts model with 3B activated parameters per token designed for agentic coding and long-horizon work on a local machine. It uses Sliding Window Attention with per-head gating in 30 out of 40 layers for fast inference and low KV cache requirements. ## Usage ```python from pathlib import Path from mlx_lm import load, generate MODEL_PATH = "poolside/Laguna-XS-2.1-NVFP4-mlx" model, tokenizer, config = load( MODEL_PATH, tokenizer_config={"trust_remote_code": True}, return_config=True, ) prompt = "write go code to print the pascal triangle" response = generate(model, tokenizer, prompt=prompt, verbose=True, max_tokens=256) ``` ## License This model is licensed under the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-XS-2.1-NVFP4-mlx/blob/main/LICENSE.md). ## Intended and Responsible Use Laguna XS 2.1-NVFP4-mlx is designed for software engineering and agentic coding use cases, and you are responsible for confirming that it is appropriate for your intended application. Laguna XS 2.1-NVFP4-mlx is subject to the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-XS-2.1-NVFP4-mlx/blob/main/LICENSE.md), and should be used consistently with Poolside's [Acceptable Use Policy](https://poolside.ai/legal/acceptable-use-policy). We advise against circumventing Laguna XS 2.1-NVFP4-mlx safety guardrails without implementing substantially equivalent mitigations appropriate for your use case. Please report security vulnerabilities or safety concerns to [security@poolside.ai](mailto:security@poolside.ai).