/ Модель

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

Контекст
1 024 токена
Параметры
76,8 млн
Лицензия
Apache 2.0
Архитектура
pldrllm · dense
Библиотека
transformers
Опубликована
26 фев 2026

PLDR-LLM-v51-SOC-110M-1

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

Англоязычная авторегрессионная модель PLDR-LLM для генерации продолжений текста и исследований архитектуры power law graph attention.

308скачиваний за 30 дней1лайквеса обновлены26 мар 2026

Бенчмарки

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

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

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

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

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

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

PLDR-LLM-v51-SOC-110M-1 — англоязычная авторегрессионная языковая модель семейства PLDR-LLM, разработанная на основе архитектуры power law graph attention. Она принимает текстовый запрос и генерирует продолжение, предсказывая следующие токены; поддерживает KV-cache и G-cache. В README размер указан как 110 млн параметров, тогда как метаданные Hugging Face указывают 76,8 млн. Контекст составляет 1024 токена. Модель предварительно обучена на англоязычном веб-датасете RefinedWeb.

Модель подходит для экспериментов с генерацией текста и исследования архитектуры PLDR-LLM, включая оценку языковых моделей и изучение механизмов внимания. Репозиторий содержит веса safetensors и поддержку библиотеки Transformers с пользовательским кодом модели.

Модель распространяется по лицензии Apache-2.0. Среди ограничений — короткий контекст, возможные галлюцинации и токсичные либо оскорбительные генерации; README предупреждает, что данные RefinedWeb содержат смещения и токсичный контент. Для статического кэша есть ограничение при custom_G_type=None.

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

  • генерация продолжения англоязычного текста
  • эксперименты с авторегрессионной генерацией
  • исследование архитектуры PLDR-LLM и графового внимания
  • оценка языковой модели в zero-shot-бенчмарках

Ограничения

Контекст ограничен 1024 токенами; модель может галлюцинировать и генерировать токсичный, оскорбительный или предвзятый контент из-за характеристик RefinedWeb. Статический кэш не поддерживается при custom_G_type=None.

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

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

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

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

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

Открыть на Hugging Face

PLDR-LLM-v51-SOC-110M-1

Model Description

PLDR-LLM-v51-SOC-110M-1 is a large language model from power law decoder representations with KV-cache and G-cache support, which is a new foundational language model architecture that utilizes power law graph attention to generate deductive and inductive outputs. This model has a parameter size of 110M. It refers to PLDRv51-SOC-110M-1 whose architecture and training details are provided in Table 1 of the research paper titled PLDR-LLMs Reason At Self-Organized Criticality.

Training data

PLDR-LLM-v51-SOC-110M-1 was pretrained on the RefinedWeb, a publicly available English web dataset with extensive filtering and deduplication.

Training procedure

This model was trained for ~8B tokens on RefinedWeb over 250k steps per rank. It was trained autoregressively with cross-entropy loss. It was trained with warm-up step count of 2000 and maximum learning rate of 1.2x10−3 at near-criticality.

Intended Use and Limitations

This model is intended to be used for research purposes. Given text as input prompt, it carries out next token prediction to generate continuation text. The context length for this model is 1024 tokens.

How to Use

Via Huggingface Transformers Library

PLDR-LLM has custom model support for Huggingface Transformers library. PLDR-LLM with custom code is evaluated on Transformers 4.56.1 available at the time.

Using pipeline:

from transformers import pipeline

text_generator = pipeline(
                          task="text-generation",
                          model="fromthesky/PLDR-LLM-v51-SOC-110M-1",
                          device="cuda", # or "cpu"
                          trust_remote_code=True
                         )

prompt="The quick brown fox jumps over the lazy dog."

output=text_generator(prompt, top_p=0.6, top_k=0, temperature=1, do_sample=True,               
                      tokenizer_encode_kwargs={"add_special_tokens":False}, 
                      use_cache=True, max_new_tokens=100)
print(output[0]["generated_text"])

Using AutoModel:

from transformers import AutoModelForCausalLM, AutoTokenizer
device="cuda" # or "cpu"
model=AutoModelForCausalLM.from_pretrained(pretrained_model_name_or_path="fromthesky/PLDR-LLM-v51-SOC-110M-1",
                                           device_map=device,
                                           trust_remote_code=True
                                          )
tokenizer=AutoTokenizer.from_pretrained(pretrained_model_name_or_path="fromthesky/PLDR-LLM-v51-SOC-110M-1",
                                        add_eos_token=False,
                                        legacy=False,
                                        trust_remote_code=True
                                       )

prompt="The quick brown fox jumps over the lazy dog."
        
inputs = tokenizer([prompt], return_tensors="pt").to(device=device)
generated_ids = model.generate(**inputs,
                               max_new_tokens=100, 
                               top_p=0.6,
                               top_k=0, 
                               temperature=1, 
                               do_sample=True,
                               use_cache=True
                              )
print(tokenizer.decode(generated_ids[0], skip_special_tokens=True))

PLDR-LLM specific configurations:

  • custom_G_type: None for learned G values during pretraining, 'identity' for LLM with SDPA equivalent, 'random' for G values from a random normal distribution, 'external' for custom G values that can be assigned after model initialization. This setting is more important for training purposes, for inference it is set in the model config.json file.

  • cache_first_G: For batched inference, if set to True, cache G values from the first sample prompt in batch for all samples. If set to False, cache G values separately for each sample prompts in batch. For contrastive generation with custom_G_value=None, this needs to be set to True.

  • reference_rope: If set to True, RoPE implementation implemented in the original paper is used. This is the case for model pretrained in this repo. If set to False, RoPE implementation from the Huggingface Transformers library is used.

  • output_pldr_attentions=True returns the deductive outputs and learnable parameters of power law graph attention module as tuple containing: the output of the residual metric learner (metric tensor, A), output (ALM) after application of iSwiGLU on metric tensor, learned exponents of potential tensor, learned weights for energy-curvature tensor, learned bias for energy-curvature tensor, energy-curvature tensor (GLM), and attention weights.

See config.json for other model configuration details.

Notes:

  • This implementation of PLDR-LLM custom code was evaluated on Transformers 4.56.1 and pytorch 2.6.0.
  • We also have a fork of transformers library with PLDR-LLM model support for future development. The PLDR-LLM model files are added to the library so custom model files are not necessary.
      git clone https://github.com/burcgokden/transformers
      cd transformers
      git checkout add_PLDR_LLM
      pip install -e ".[dev]"
  • Static cache is not supported for models with custom_G_type=None.
  • PLDR-LLM uses EOS token "[END]" during pretraining to indicate end of a sequence. For text generation, we do not need to add the EOS token to the prompt. To achieve this, add_eos_token=False can be set in tokenizer_config.json file or while initializing the tokenizer model. For text generation pipeline call method, tokenizer_encode_kwargs={"add_special_tokens":False} can be used.
  • When add_bos_token=False and add_eos_token=False are set for the tokenizer model, prompt "" is an invalid input for single batch inference as it doesn't contain any tokens. When padding is enabled, batched inference with prompt "" as one of the samples causes its input_ids to be pad tokens and attention_mask to be all zeros. This edge case is handled differently for _attn_implementation='eager' and 'sdpa', resulting in different generation outputs for this prompt. Setting add_bos_token=True, add_eos_token=True or explicitly providing prompt as "[PAD]", "[START]", or "[END]" gives same output for either implementation. This issue does not affect KV-cache and G-cache.

Via Original Implementation

  • The original model implementation files can be found in the folder named paper_saved_model_files/. The model checkpoint and tokenizer can be loaded into the PLDR-LLM framework to generate text as described in the code repository for training this model: PLDR-LLM-Self-Organized-Criticality.

LM Evaluation Harness Support

  • The model can be evaluated using the Huggingface interface for EleutherAI LM Evaluation Harness just like any other Huggingface model.
  • The model can also be used with a fork of LM-Evaluation-Harness Suite with PLDR-LLM with KV-cache and G-cache support: lm-evaluation-harness-with-PLDR-LLM-kvg-cache for models that are in paper_saved_model_files/.

Limitations and Biases

Large Language Models may generate text that is profane, lewd, socially unacceptable or offensive based on the contents of the dataset it was pretrained. RefinedWeb is a dataset that is as toxic and biased as the Pile. Please see the papers for RefinedWeb and the Pile for more information. Moreover, large language models are also susceptible to hallucinations and may generate text that contains incorrect, irrelevant or misleading information. Since it is very hard to expect the contents of generated text ahead of time, the output of the large language models need to be heavily moderated and curated to avoid undesired content to appear without warning.

Eval results

  • The order parameter for this model at criticality is 2.1867x10−2 (NRMSE for GLM) / 8.3069x10−3 (NRMSE for A).
  • The evaluation results on benchmarks with zero-shot setting can be found in Table 7 of the research paper.

Citation:

Please cite this work as:

@misc{gokden2026pldrllmsoc,
      title={PLDR-LLMs Reason At Self-Organized Criticality}, 
      author={Burc Gokden},
      year={2026},
      eprint={2603.23539},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2603.23539}, 
}

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

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

GPU в ailist

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

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

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

Класс архитектуры
PldrllmForCausalLM
Ревизия весов
7a34e2c

0 моделей