Downloads · 30 days
235
14% of all-time downloads
poolside/Laguna-M.1-base
Laguna-M.1-base is a text generation model from poolside. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as apache-2.0.
<p align="center" <img alt="poolside-banner" src="https://poolside.ai/assets/laguna/laguna-m1-banner.svg" width="800px" </p
Downloads · 30 days
235
14% of all-time downloads
All-time downloads
1.7K
Public
Parameters
226B
452 GB on disk
Likes
14
Public
Click a slice to open those files.
.safetensors452 GB · 100%
From the Hugging Face model README
Laguna M.1-base is the pre-trained base checkpoint for Laguna M.1, a 225B total parameter Mixture-of-Experts model with 23B activated parameters per token. This is the base model prior to post-training and reinforcement learning — it is a text-completion model with no instruction-following, reasoning, or tool-calling behavior. For agentic coding and chat use, use the post-trained Laguna M.1.
[!NOTE] For details on how we trained Laguna, check out our release blog post and technical report.
Laguna M.1-base is a text-completion model. It has no chat template, reasoning, or tool-calling support — serve it without the reasoning/tool-call parsers and prompt it with raw text.
Laguna support is available in vLLM (v0.21.0 and later, vllm-project/vllm#41129).
pip install 'vllm>=0.21.0'
vllm serve \
--model poolside/Laguna-M.1-base \
--served-model-name laguna-base
Query the completions endpoint from any OpenAI-compatible client:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
completion = client.completions.create(
model="laguna-base",
prompt="def fibonacci(n):\n",
max_tokens=128,
temperature=0.7,
)
print(completion.choices[0].text)
Laguna M.1-base is supported in SGLang via sgl-project/sglang#28400. As a completion model, serve it without the reasoning/tool-call parsers. A full serving recipe will be added here.
Laguna is supported in Transformers v5.7.0 and later (huggingface/transformers#45673).
[!NOTE] Laguna M.1-base is a 225B-parameter model; loading the BF16 checkpoint in Transformers requires substantial multi-GPU memory (
device_map="auto"shards across available devices). For single-node serving, vLLM is recommended.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "poolside/Laguna-M.1-base"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
inputs = tokenizer("def fibonacci(n):\n", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=128, do_sample=True, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model is licensed under the Apache 2.0 License.
Laguna M.1 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 M.1 is subject to the Apache 2.0 License, and should be used consistently with Poolside's Acceptable Use Policy. We advise against circumventing Laguna M.1 safety guardrails without implementing substantially equivalent mitigations appropriate for your use case.
Please report security vulnerabilities or safety concerns to security@poolside.ai.