Downloads · 30 days
15
15% of all-time downloads
metanthropic/arvi-20b
arvi-20b is a text generation model from metanthropic. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="https://cdn-uploads.huggingface.co/production/uploads/688a02ecf3747cbc84633556/whzyMie7Sstyvl0oubCnx.jpeg" alt="Arvi Banner" width="100%"/ </div
Downloads · 30 days
15
15% of all-time downloads
All-time downloads
98
Public
Parameters
20.9B
41.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors41.9 GB · 100%
From the Hugging Face model README
Arvi-20B represents a paradigm shift in efficient intelligence. Built on a specialized Mixture-of-Experts (MoE) architecture, it delivers the knowledge density of a 20-billion parameter system while maintaining the inference speed of a much smaller model.
Designed specifically for complex reasoning protocols, Arvi-20B excels at chain-of-thought generation, agentic tool usage, and high-fidelity instruction following. It serves as the flagship model for Metanthropic's open-weight initiative.
| Feature | Specification |
|---|---|
| Developer | Metanthropic Research |
| Model Architecture | Sparse Mixture-of-Experts (MoE) |
| Total Parameters | 20.9 Billion |
| Active Parameters | 3.6 Billion (per token) |
| Context Window | 128,000 Tokens |
| Precision | BFloat16 (Native) |
| License | Apache 2.0 |
Arvi-20B utilizes a specialized MoE architecture. To run the model, you must install the required backend kernels and libraries.
# Install required backend support for Arvi's architecture
pip install gpt-oss transformers peft accelerate torch
import torch
import gpt_oss # Registers the Arvi MoE architecture
from transformers import AutoModelForCausalLM, AutoTokenizer
# 1. Configuration
model_id = "metanthropic/arvi-20b"
print(f"🚀 Loading {model_id}...")
# 2. Load Model
# We recommend BFloat16 for the best balance of speed and precision
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
trust_remote_code=True, # Required for Arvi architecture
device_map="auto"
)
# 3. Load Tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
# 4. Generate
prompt = "Explain the grandfather paradox and potential resolutions."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
do_sample=True
)
print(tokenizer.batch_decode(outputs, skip_special_tokens=True)[0])
Arvi-20B is released under the Apache 2.0 license, allowing for broad commercial use, modification, and redistribution.
If you utilize this model in your research or products, please cite Metanthropic Research:
@misc{arvi2025,
title={Arvi-20B: High-Efficiency Reasoning Model},
author={Metanthropic, Ekjot Singh},
year={2025},
publisher={Hugging Face}
}