/ Модель

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

Контекст
2 048 токенов
Лицензия
Apache 2.0
Архитектура
gpt2 · dense
Опубликована
10 окт 2026

Cerebras-GPT-256M

Генерация текстаТекст → текст
101скачиваний за 30 дней0лайковвеса обновлены10 окт 2026

Описание модели

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

Небольшая англоязычная авторегрессионная модель Cerebras для генерации текста и исследований масштабирования языковых моделей.

Cerebras-GPT-256M — авторегрессионная языковая модель компании Cerebras Systems с архитектурой на основе Transformer в стиле GPT-3 и плотной конфигурацией GPT-2. Модель содержит 256 млн параметров, обучена на английских текстах из набора The Pile с токенизатором BPE и рассчитана на последовательности до 2048 токенов.

Модель предназначена прежде всего для исследований масштабирования больших языковых моделей и служит базовой точкой для экспериментов с генерацией текста, дообучением и адаптацией NLP-моделей. Её можно использовать для продолжения текста и как основу для исследовательских прототипов. Небольшой размер упрощает эксперименты по сравнению с крупными моделями семейства Cerebras-GPT.

Обучение проводилось на стандартной версии The Pile без дедупликации; модель не прошла широкую дополнительную настройку безопасности. Возможны предвзятые, токсичные или фактически неверные ответы, а также воспроизведение фрагментов обучающих данных. Для практического развертывания необходимы отдельная оценка и меры снижения рисков. Лицензия — Apache 2.0.

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

  • продолжение англоязычного текста
  • эксперименты с генерацией текста на моделях GPT
  • дообучение базовой языковой модели для NLP-прототипов
  • сравнение качества моделей разного размера в исследовательских экспериментах

Ограничения

Обучена на стандартном The Pile без дедупликации; возможны предвзятые или токсичные ответы, фактические ошибки и запоминание обучающих данных. Для применения в производственной среде нужны дополнительные проверки и меры безопасности.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

Открыть на Hugging Face

Cerebras-GPT 256M

Check out our Blog Post and arXiv paper!

Model Description

The Cerebras-GPT family is released to facilitate research into LLM scaling laws using open architectures and data sets and demonstrate the simplicity of and scalability of training LLMs on the Cerebras software and hardware stack. All Cerebras-GPT models are available on Hugging Face.

The family includes 111M, 256M, 590M, 1.3B, 2.7B, 6.7B, and 13B models.

All models in the Cerebras-GPT family have been trained in accordance with Chinchilla scaling laws (20 tokens per model parameter) which is compute-optimal.

These models were trained on the Andromeda AI supercomputer comprised of 16 CS-2 wafer scale systems. Cerebras' weight streaming technology simplifies the training of LLMs by disaggregating compute from model storage. This allowed for efficient scaling of training across nodes using simple data parallelism.

Cerebras systems for pre-training and fine tuning are available in the cloud via the Cerebras Model Studio. Cerebras CS-2 compatible checkpoints are available in Cerebras Model Zoo.

Model Details

  • Developed by: Cerebras Systems
  • License: Apache 2.0
  • Model type: Transformer-based Language Model
  • Architecture: GPT-3 style architecture
  • Data set: The Pile
  • Tokenizer: Byte Pair Encoding
  • Vocabulary Size: 50257
  • Sequence Length: 2048
  • Optimizer: AdamW, (β1, β2) = (0.9, 0.95), adam_eps = 1e−8 (1e−9 for larger models)
  • Positional Encoding: Learned
  • Language: English
  • Learn more: Dense Scaling Laws Paper for training procedure, config files, and details on how to use.

Contact: To ask questions about Cerebras-GPT models, join the Cerebras Discord.

This is the standard parameterization version of Cerebras-GPT with 256M parameters

Related models: Cerebras-GPT Models

ModelParametersLayersd_modelHeadsd_headd_ffnLRBS (seq)BS (tokens)
Cerebras-GPT111M10768126430726.0E-04120246K
Cerebras-GPT256M141088176443526.0E-04264541K
Cerebras-GPT590M1815361212861442.0E-04264541K
Cerebras-GPT1.3B2420481612881922.0E-045281.08M
Cerebras-GPT2.7B3225603280102402.0E-045281.08M
Cerebras-GPT6.7B32409632128163841.2E-0410402.13M
Cerebras-GPT13B40512040128204801.2E-04720 → 10801.47M → 2.21M

Quickstart

This model can be easily loaded using the AutoModelForCausalLM functionality:

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("cerebras/Cerebras-GPT-256M")
model = AutoModelForCausalLM.from_pretrained("cerebras/Cerebras-GPT-256M")

text = "Generative AI is "

And can be used with Hugging Face Pipelines

from transformers import pipeline

pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
generated_text = pipe(text, max_length=50, do_sample=False, no_repeat_ngram_size=2)[0]
print(generated_text['generated_text'])

or with model.generate()

inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, num_beams=5, 
                        max_new_tokens=50, early_stopping=True,
                        no_repeat_ngram_size=2)
text_output = tokenizer.batch_decode(outputs, skip_special_tokens=True)
print(text_output[0])

Training data

Cerebras-GPT is trained using the Pile dataset from EleutherAI. See the Pile paper for a more detailed breakdown of data sources and methodology. The Pile was cleaned using the ftfy library to normalize the text, then filtered using scripts provided by Eleuther.

We tokenized the data using byte-pair encoding using the GPT-2 vocabulary. Our tokenized version of the Pile has 371B tokens. We include more details about the training dataset preprocessing in Appendix A.1 of our paper.

Recent works find significant duplicate data present in the Pile. Eleuther’s Pythia applies a deduplication process to reduce replicated data, decreasing the Pile dataset size. Pythia was trained on both the standard dataset and deduplicated dataset to characterize the impact. Our models are trained on the standard Pile without deduplication, which may present an opportunity for further improvement with the deduplicated data set.

Training procedure

We use the GPT-3 style model architecture. All of our layers use full attention as opposed to the GPT-3 style sparse banded attention. The model shapes were selected to either follow aspect ratio 80 or are the same shape as GPT-3 models. Learning rate warmed up for 375M tokens (1500 steps for 111M and 256M models) and 10x cosine decayed. No dropout was used and weight decay was set to 0.1. All models are trained with MSL of 2048.

All models were trained to Chinchilla point: 20 tokens per model parameter. Number of steps was chosen based on optimal batch size (varied by model) and fixed sequence length (2048). See Training Table, below, for details.

Model ParamsSequence LengthBatch SizeNumber of StepsTokensTokens per ParameterFlops
111M204812090372.22E+09202.6E+18
256M204826494685.12E+09201.3E+19
590M2048264218361.18E+10206.1E+19
1.3B2048528243342.63E+10202.8E+20
2.7B2048528490415.30E+10201.1E+21
6.7B20481040625221.33E+11206.3E+21
13B20487201743352.57E+11202.3E+22

Evaluations

We trained models from smallest to largest and fit a power law as we went along. The power law was helpful for extrapolating the validation loss of the next largest model we trained and provided confidence about whether the training run was going well.

We performed upstream (pre-training) evaluations of text prediction cross-entropy using the Pile validation and test splits. We performed downstream evaluations of text generation accuracy on standardized tasks using the Eleuther lm-evaluation-harness. Results are compared against many publicly available large language models in Section 3 of the paper.

0-shot Evaluation

ModelParamsTraining FLOPsPILE test xentHella-SwagPIQAWino-GrandeLambadaARC-eARC-cOpenBookQADownstream Average
Cerebras-GPT111M2.6E+182.5660.2680.5940.4880.1940.3800.1660.1180.315
Cerebras-GPT256M1.3E+192.2990.2740.6130.5110.2930.4100.1700.1580.347
Cerebras-GPT590M6.1E+192.1840.2910.6270.4980.3660.4640.1900.1580.370
Cerebras-GPT1.3B2.8E+201.9960.3250.6640.5210.4620.5080.2240.1660.410
Cerebras-GPT2.7B1.1E+211.8340.3860.7010.5590.5670.5710.2460.2060.462
Cerebras-GPT6.7B6.3E+211.7040.4470.7390.6020.6360.6430.2820.2380.512
Cerebras-GPT13B2.3E+221.5750.5130.7660.6460.6960.7140.3670.2860.570

5-shot Evaluation

ModelParamsHella-SwagPIQAWino-GrandeLambadaARC-eARC-cOpenBookQA
Cerebras-GPT111M0.2670.5880.4750.1580.3560.1660.136
Cerebras-GPT256M0.2780.6060.5220.2250.4220.1830.164
Cerebras-GPT590M0.2910.6340.4790.2810.4750.2060.152
Cerebras-GPT1.3B0.3260.6680.5360.3950.5290.2410.174
Cerebras-GPT2.7B0.3820.6970.5430.4870.5900.2670.224
Cerebras-GPT6.7B0.4440.7360.5900.5910.6670.3140.270
Cerebras-GPT13B0.5140.7680.6740.6550.7430.3980.318

Uses and Limitations

Intended Use

The primary intended use is to further research into large language models. These models can be used as a foundation model for NLP, applications, ethics, and alignment research. Our primary intended users are researchers who are working to improve LLMs and practitioners seeking reference implementations, training setups, hyperparameters, or pre-trained models. We release these models with a fully permissive Apache license for the community to use freely.

You may fine-tune and adapt Cerebras-GPT models for deployment via either Cerebras Model Studio or third-party libraries. Further safety-related testing and mitigations should be applied beore using the Cerebras-GPT model family in production downstream applications.

Due to financial and compute budgets, Cerebras-GPT models were only trained and evaluated following the approaches described in the paper.

Out of Scope Use

Cerebras-GPT models are trained on the Pile, with English language only, and are not suitable for machine translation tasks.

Cerebras-GPT models have not been tuned for human-facing dialog applications like chatbots and will not respond to prompts in a similar way to models that have received instruction tuning or reinforcement learning from human feedback (RLHF) like Flan-T5 or ChatGPT. Cerebras-GPT models can be tuned using those methods.

Risk, Bias, Ethical Considerations

  • Data: The Pile dataset has been thoroughly analyzed from various ethical standpoints such as toxicity analysis, gender bias, pejorative content, racially sensitive content etc. Please refer to Pile dataset references.
  • Human life: The outputs from this model may or may not align with human values. The risk needs to be thoroughly investigated before deploying this model in a production environment where it can directly impact human life.
  • Risks and harms: There can be distributional bias in the Pile dataset that can manifest in various forms in the downstream model deployment. There are other risks associated with large language models such as amplifying stereotypes, memorizing training data, or revealing private or secure information.
  • Mitigations: Only mitigations in standard Pile dataset pre-processing were employed when pre-training Cerebras-GPT.

Acknowledgements

We are thankful to all Cerebras engineers, past and present, that made this work possible.

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

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

GPU в ailist

Универсальный рантайм

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

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
fe514e9

0 моделей