CortexNet

CortexNet is a unified neural architecture implementation for language modeling and reasoning.

This Hugging Face model repository is used as the public project card and release artifact index.

Install

pip install cortexnet

Quickstart

import torch
from cortexnet import CortexNet, CortexNetConfig

cfg = CortexNetConfig(vocab_size=32000, hidden_size=256, num_layers=4, num_heads=8, lite=True)
model = CortexNet(cfg).eval()
input_ids = torch.randint(0, cfg.vocab_size, (1, 16))
with torch.no_grad():
    out = model(input_ids)
print(out["logits"].shape)

Links

Included Files

  • README.md: this model card
  • PROJECT_README.md: project root README
  • DOCS_INDEX.md: bilingual docs index
  • reports/: release smoke benchmark reports and JSON artifacts
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ 1 Ask for provider support

Space using chaojixiaokeai/CortexNet 1