alt.freeweights.text / circuit-sparsity
From: openai <huggingface.co/openai>Newsgroups: alt.freeweights.textSubject:

circuit-sparsity

Date: 2026-11-15Commit: ebf2603Signed: 2DC28CC7B26A283B ✓

Text generation model with 419M parameters. Safetensors weights, 1.68 GB in all. Published by openai under Apache-2.0.

419M params1.68GBcircuit-sparsitysafetensorspermissive
FactsParams419MSize1.68 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get openai/circuit-sparsity
# manifest sha256 d023b4089b5a… · 1.68 GB · 16 files
$ fw verify ./circuit-sparsity openai/circuit-sparsity
From sourceHosted (signed)openai/circuit-sparsityLast check: 2026-11-15 03:32 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
1.68 GB
Weights
1.68 GB (safetensors)
Parameters
419M
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
16, each with a sha256
Publisher
openai
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:32 UTCpassed

Model card

From the publisher at commit ebf2603. Shown as plain text with links; images open at the publisher.

Sparse Model from Gao et al. 2025#

Weights for a sparse model from Gao et al. 2025, used for the qualitative results from the paper (related to bracket counting and variable binding). All weights for the other models used in the paper, as well as lightweight inference code, are present in https://github.com/openai/circuit_sparsity. In the context of that repo, this model is csp_yolo2.

This is a runnable standalone huggingface implementation for one of the models. It includes code to load the locally converted HF model + tokenizer and run a tiny generation.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

if __name__ == "__main__":
    PROMPT = "def square_sum(xs):\n    return sum(x * x for x in xs)\n\nsquare_sum([1, 2, 3])\n"
    tok = AutoTokenizer.from_pretrained("openai/circuit-sparsity", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained(
        "openai/circuit-sparsity",
        trust_remote_code=True,
        torch_dtype="auto",
    )
    model.to("cuda" if torch.cuda.is_available() else "cpu")
    inputs = tok(PROMPT, return_tensors="pt", add_special_tokens=False)["input_ids"].to(
        model.device
    )

    with torch.no_grad():
        out = model.generate(
            inputs,
            max_new_tokens=64,
            do_sample=True,
            temperature=0.8,
            top_p=0.95,
            return_dict_in_generate=False,
        )

    print("=== Prompt ===")
    print(PROMPT)
    print("\n=== Generation ===")
    print(tok.decode(out[0], skip_special_tokens=True))

License#

This project is licensed under the Apache License 2.0.

Files

16 files · 1.68 GBWeights 1.68 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE.MD9.12 KB93548a1b1c0a8d42e7409dfb6e344062aec9c82f6bfe1f3a0b91e4537a01bf31
NOTICE.MD551 B38c76eb8701e52953f63154a77b407667a6ee34c3a2a8785c8f8b2cd5494d09d
README.md1.75 KB53e9d0d59eccdb7e67e04fa47a396210a1440742faab44222e0185cf4f2dbce6
__init__.py304 B843249b7fd3b071d97881804ec1baee783212856033388a1f6de63e04ea72351
config.json1.12 KB95a532e5ec7721aa44d82c4594be6da92cec5bff7b5ae7a97f88812e07f7c7db
config.py8.95 KB4373cda9a80366e772ffa8f4a015658a2eabcc83259ed31b869477b34bf9c839
generation_config.json93 B95d42da6dc3e83d78dd9b2970d247232b01583a18511dbbd666ce16adf7b8c46
gpt.py34.5 KBb6044e396e59bee0c096347fa4aa02ffc6250993a183d685b094145bec197f03
hook_utils.py5.40 KBc8ece3efd054377c04cb9624de4a9822d54a58a7a75c2a9131d831f25a9b2d12
model.safetensors1.68 GBc7a63c67d78a1e8da5fc3ead1338fe0f18994d48deedeb4374a6b3ad1d350724
modeling_circuitgpt.py4.80 KBbd26452b51f0b21216aec70167b5427cfde7fe9ed81267d1f40c5578e8a09a20
special_tokens_map.json34 Bab19446aff7a9128af42a8be7b82374be00ad3775b43656102ac342578674222
tokenizer.json186 KBfedfc07615c5a2e888f8b20189c5d4e1c29480d2c46fe627f9e28dedba565a1e
tokenizer.model24.4 KBb42d53ab8a66da8fc53288442b1239e373697d630ad61fa66dc35350274617c7
tokenizer_config.json135 Bbf39138c146fd24e7c9e2f2c634f80a3fbef2e72a3d4337d84dbdb92769b014b
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ebf2603cfe pinned now2026-11-15 03:32 UTC16 files · 1.68 GB

Use it

$ fw get openai/circuit-sparsity
# manifest sha256 d023b4089b5a… · 1.68 GB · 16 files
$ fw verify ./circuit-sparsity openai/circuit-sparsity
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openai/circuit-sparsity.json --dir ./circuit-sparsity $ python3 fw.py verify ./circuit-sparsity ./openai__circuit-sparsity.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openai/circuit-sparsity --revision ebf2603cfe24e5c09e31169d9e34a9fd3d15230c --local-dir ./circuit-sparsity
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("openai/circuit-sparsity", revision="ebf2603cfe24e5c09e31169d9e34a9fd3d15230c") model = AutoModelForCausalLM.from_pretrained("openai/circuit-sparsity", revision="ebf2603cfe24e5c09e31169d9e34a9fd3d15230c", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve openai/circuit-sparsity --revision ebf2603cfe24e5c09e31169d9e34a9fd3d15230c

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE.MD
Text sha256
93548a1b1c0a8d42e7409dfb6e344062aec9c82f6bfe1f3a0b91e4537a01bf31
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: openai <huggingface.co/openai>Newsgroups: alt.freeweights.textSubject: circuit-sparsityDate: 2026-11-15Commit: ebf2603Signed: 2DC28CC7B26A283B ✓
Upstream
openai/circuit-sparsity
Pinned commit
ebf2603cfe24e5c09e31169d9e34a9fd3d15230c
Manifest
circuit-sparsity.json · .minisig
Manifest sha256
d023b4089b5aafbee795328127e3c0cbd775c7c9dee9e26a4d0d604eff5cca83
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:32 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openai/circuit-sparsity.json $ curl -O https://freeweights.allternit.com/manifests/openai/circuit-sparsity.json.minisig $ minisign -Vm circuit-sparsity.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openai/circuit-sparsity
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. circuit-sparsity.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B