/ Модель

Характеристики

Контекст
16 384 токена
Параметры
8,6 млрд
Размер весов
95,4 ГБ
Лицензия
MIT
Архитектура
pinkelephant_moe · MoE
Базовая модель
pinkelephant-llm-48b
Библиотека
transformers
Опубликована
12 авг 2026

pinkelephant-llm-48b-s

Генерация текстаТекст → текст13 профессий

Разреженная языковая модель Pink Elephant для диалогов, генерации кода и решения математических задач с MoE-архитектурой на 47,7 млрд параметров.

1 299скачиваний за 30 дней0лайковвеса обновлены21 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Pink Elephant 48B-S — разреженная языковая модель с архитектурой Mixture-of-Experts, разработанная Pink Elephant. В ней 47,7 млрд параметров, из которых на каждом токене активны около 14,66 млрд; используются 8 экспертов с маршрутизацией top-2. Модель создана на основе Pink Elephant 14B: плотную модель преобразовали в MoE, затем дообучили на примерах по программированию и математике и объединили обученные адаптеры с основными весами. Репозиторий содержит веса в формате safetensors; заявленная длина контекста — 16 384 токена.

Модель предназначена для генерации текста, диалогов, написания и анализа кода, а также решения математических задач. В README приведены результаты HumanEval 70,12%, MATH-500 38,40%, GSM8K 68,5% и MMLU 60,0%; выборки GSM8K и MMLU для проверки были небольшими. Модель поддерживает английский язык. По данным карточки, лицензия — MIT. Для загрузки автор рекомендует Transformers и указывает trust_remote_code=True.

Сценарии применения

  • написание и дополнение программного кода
  • ответы на вопросы по программированию
  • решение математических задач и задач на рассуждение
  • диалоговые ответы на английском языке

Ограничения

В README указано, что результат на MATH-500 при жадной генерации (38,40%) заметно ниже результата базовой модели 14B (63,40%); показатели проверки GSM8K и MMLU получены на небольших выборках. Общие знания уступают специализированным передовым моделям, а результаты следует проверять перед использованием в регулируемых или критически важных сценариях.

Для каких профессий подходит13

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Pink Elephant 48B-S

The Refined Sparse Intelligence Engine

47.7-billion-parameter Mixture-of-Experts language model · 8 experts · top-2 routing · ~30% active parameters per token · 3.2× compute advantage · native bf16

License Parameters Architecture Active Precision


Executive Summary

Pink Elephant 48B-S is the flagship of the Pink Elephant lineage and the culmination of a disciplined, fully-public research program: a dense 14.8B core, upcycled into an 8-expert sparse Mixture-of-Experts network, refined across two complete training epochs, and merged into a single, ready-to-run engine.

The story is measured, not marketed. Across the second epoch of supervised fine-tuning on a 99,661-example code-and-mathematics curriculum, training loss fell 32% (0.0616 → 0.0419) while validation loss held steady near 0.50 — refinement, not overfitting. HumanEval 70.12% pass@1 confirms the sparse architecture preserved the parent's coding capability at roughly one-third of the per-token compute.

The pipeline now runs end-to-end through alignment and verification: base 48B-S → SFT (best adapter, step 90000) → DPO (min-loss adapter) → verified benchmarks on Blackwell. The fully-aligned model scores GSM8K 68.5% and MMLU (5-shot) 60.0% — the first public, reproducible numbers for the aligned flagship. Full per-question records ship in the verification/ folder of the DPO repo.

Every artifact in this release is public, reproducible, and MIT-licensed — weights, per-step adapters, trained router, tokenized dataset, loss curves, and instrumented benchmark records. Numbers are reported exactly as measured; a number we publish is a number you can audit.

SpecificationValue
Total parameters47,691,290,048 (47.7B)
Active parameters / token~14.66B (30.7%)
Sparse compute advantage3.2× fewer FLOPs vs. a dense 48B model
ArchitectureMoE · 8 experts · top-2 routing
Transformer layers / hidden / expert40 · 5,120 / 8,960
Attention heads40 (10 KV heads, head dim 128)
Context window16,384 tokens
Vocabulary100,352
PrecisionNative bfloat16
Training campaignTwo epochs · 3,114 steps · resumed cleanly 4×
Training loss (epoch 2 final)0.0419 (−32% vs. 0.0616)
LicenseMIT — free for commercial use

Benchmarks (greedy, measured on NVIDIA RTX PRO 6000 Blackwell)

Benchmark48B-S14B (parent)Note
HumanEval pass@170.12% (115/164)71.34% (117/164)Same performance band; ~1pp is run-to-run noise
MATH-50038.40% (192/500)63.40% (317/500)Greedy single-answer decoding; explicit roadmap item

HumanEval confirms the upcycle preserved coding ability at a fraction of the compute. The MATH-500 number is reported exactly as measured, with per-subject detail published for audit (strength-first: prealgebra 61.0%, algebra 59.7%, number theory 37.1%, counting & probability 28.9%, geometry 26.8%, precalculus 17.9%, intermediate algebra 13.4%). Machine-readable results: evals/humaneval_result.json, evals/math500_result.json, plus every per-problem record.

Aligned Verification Benchmarks (SFT + DPO stage)

The numbers below are for the fully-aligned model — base 48B-S with the best SFT adapter (step 90000) and the min-loss DPO adapter fused in, evaluated in bf16 on an NVIDIA RTX PRO 6000 Blackwell. Greedy decoding with robust answer is / letter extraction (a naive "last-token" metric under-reports and is not used).

BenchmarkAligned 48B-S (SFT+DPO)Protocol
GSM8K (math word problems)68.5% (61/89)Random sample of GSM8K test · answer is extraction
MMLU (knowledge, 5-shot)60.0% (24/40)40 balanced across 7 subjects · \boxed{letter} extraction

Verification stage: the pipeline is base → moe → train → sft → dpo → verification → release. These aligned results are the output of the verification stage. Full per-question records, the eval harness, and the adapter-conversion tooling live in the verification/ folder of [pinkelephant-llm-48b-s-dpo] (https://huggingface.co/pinkelephantlimited/pinkelephant-llm-48b-s-dpo), so every number is independently reproducible.


The Story in One Picture

Act I — The Dense Core: Pink Elephant 14B

A dense 14.8B-parameter decoder-only model, instruction-tuned on ~100,000 curated code and mathematics examples. It proved the thesis:

  • HumanEval pass@1: 71.34%
  • MATH-500: 63.40%

Act II — The Upcycle: Dense 14B → Sparse 48B

Rather than train 48B from scratch, Pink Elephant upcycled the 14B foundation into an 8-expert MoE network — feedforward weights split and replicated into eight complementary experts per layer, exactly preserving the parent's behavior at initialization. A sparse brain with dense-scale capacity at ~30% activation per token.

Act III — The Refinement: 48B-S

A second complete epoch (steps 1,557 → 3,114) on the same 99,661-example curriculum with a freshly restarted cosine schedule peaking at 1e-4, checkpointed every 100 steps and resumed cleanly four separate times. The final LoRA adapters and trained router were fused directly into the base weights — what you download is the finished engine: no adapters, no PEFT plumbing, just load and generate.


The Architecture: A Council of Experts

The conventional feedforward network is replaced by a cabinet of eight expert networks per layer, orchestrated by a learned router. Every token activates only 2 of 8 experts — sparse computing at its most elegant: maximum capability, minimum energy.


Verified End-to-End on NVIDIA Blackwell

The published artifact was downloaded, loaded, and exercised end-to-end on an NVIDIA RTX PRO 6000 Blackwell (102 GB VRAM) at native bf16 — no quantization, no CPU offload:

TestResult
Artifact download95.38 GB across 20 safetensors shards
Model loadClean — all 47,691,290,048 parameters resident
VRAM residency96.1 GB of 102 GB (94.2% occupancy)
Cold load time254.5 s
Generation throughput14.7 tokens/s (greedy)
Functional suite5 of 6 prompt categories correct

Getting Started

Load the model directly — no adapters required:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "pinkelephantlimited/pinkelephant-llm-48b-s"

tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="cuda",   # a 102 GB-class GPU is recommended for native bf16
    trust_remote_code=True,
)

chat = [{"role": "user", "content": "Write a Python function that checks if a number is prime."}]
prompt = tok.apply_chat_template(chat, tokenize=True, add_generation_prompt=True, return_tensors="pt")
with torch.inference_mode():
    out = model.generate(
        prompt.to(model.device),
        max_new_tokens=256,
        do_sample=True,
        temperature=0.7,
        top_p=0.9,
    )
print(tok.decode(out[0][prompt.shape[1]:], skip_special_tokens=True))

Lower-footprint inference on consumer GPUs — standard 4-bit loading with bitsandbytes:

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    load_in_4bit=True,
    device_map="auto",
    trust_remote_code=True,
)

Note: this model uses a custom architecture shipped in the repository (modeling_pink_elephant.py). Loading requires trust_remote_code=True.


Documentation

DocumentContents
Release ReportComplete release narrative — architecture, lineage, training, quality evidence
Verification Test ReportInstrumented end-to-end test + benchmarks on real Blackwell hardware; incl. Ch. 14 "Aligned Model Verification" (GSM8K 68.5%, MMLU 5-shot 60.0%)
User ManualWhat / which / where / how for every public artifact across the family

The Pink Elephant Family

RepositoryRole in the Story
pinkelephant-llm-48b-s (this repo)The refined flagship — two epochs, merged, ready to run
pinkelephant-llm-48bThe first-epoch flagship
pinkelephant-llm-48b-moe-baseThe upcycled sparse base — where the experts were born
pinkelephant-llm-48b-adaptersLoRA adapters + trained router, published every 100 steps
pink-elephant-llm-14bThe dense 14B core — where it all began
pinkelephant-llm-48b-sft-tokenizedThe tokenized instruction dataset behind every epoch

Roadmap

  • ✅ Alignment (done): preference optimization (DPO) + SFT fine-tuning completed; verified GSM8K 68.5% and MMLU 5-shot 60.0% on the aligned model (see verification benchmarks)
  • Serving: high-throughput sparse serving and GGUF quantization for edge deployment
  • Breadth: expand general-knowledge coverage beyond the math/STEM core
  • Reasoning: continue closing the MATH-500 gap with longer-horizon, chain-of-thought training

Limitations

  • Fine-tuned primarily on code and mathematical reasoning; the aligned model reaches GSM8K 68.5% and MMLU 5-shot 60.0%, but general-knowledge breadth still inherits from the 14B core and trails specialized frontier models
  • MATH-500 under greedy decoding (38.40%) trails the 14B parent (63.40%); addressing this is an explicit roadmap item
  • Long-horizon, multi-step agentic workflows may benefit from explicit tool-use training
  • Verification samples (~89 GSM8K / 40 MMLU) are representative, not exhaustive; treat as aligned-stage estimates subject to sampling variance
  • Outputs should be reviewed before use in regulated or safety-critical decisions

License & Commercial Use

Released under the MIT License — free for commercial and research use, modification, and redistribution, with or without attribution.


Pink Elephant Limited — publishing large, sovereign language models.

Built by Pink Elephant Limited · 2026

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

vLLM

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
PinkElephantForCausalLM
Ревизия весов
a4f64f0

0 моделей