r/huggingface • • 22h ago

I uploaded both Lyra-326M checkpoints so you can try it before and after instruction tuning

4 Upvotes

i spent about a week pretraining a 326M transformer from scratch on my 3060 Ti. i put both checkpoints on Hugging Face so you can see what instruction tuning changed. the base model keeps going from whatever text you give it. the instruct version starts from those weights and was trained on about 78k examples, with loss only on the assistant tokens.

it learned to take its turn in a chat, and it still makes stuff up. it's English-only with a 1,024-token context. this was mostly a learning project for me and i might keep going with it. both downloads include the PyTorch model and tokenizer. generate.py runs the base version and chat.py runs instruct locally.

the data builder and trainer are open source (Apache 2.0) if you want to retrain it. both checkpoints are open weights under CC BY-NC 4.0 for noncommercial use.

base weights · instruct weights · training code on GitHub · architecture walkthrough


r/huggingface • • 5h ago

NeuroGit-GFN (Apache-2.0): Closed-Form Knowledge & Behavior Editing for Open-Weight LLMs (1B-14B) with Millisecond Selective Rollback in Standard PEFT .safetensors

Post image
3 Upvotes

Sharing an independent open-source research release + preprint: NeuroGit-GFN (gfn 1.0.6, Apache-2.0).

Problem: Dense and merged-adapter editors (ROME, MEMIT, AlphaEdit, AnyEdit, merged LoRA) output router-free weights, but entangle edits when you later need to retire one temporary rule (18.8-82.4% loss of working retained items under gradient-unlearning LoRA across six 1B-14B 20-rule panels). Semantic-routed adapters (SERAC, SoLA) revoke rules via router keys, but require per-request routing middleware.

Approach & key results:

  • 0 optimizer steps, stock PEFT / vLLM serving: Scans Transformer mlp.down_proj blocks in 1 pass and solves a constrained KKT quadratic program in closed form into a standard PEFTadapter_model.safetensors (44.5 ms hot-load in stock vLLM --enable-lora, 0 custom server code) paired with an offline float64 ledger (gfn_ledger.npz).
  • Counterfactual gfn blame & millisecond gfn revert**:** Re-solves only retained KKT weights on CPU in 0.92-22.18 ms across 10 checkpoints (1B-14B: Qwen2.5, Qwen3 thinking=ON+OFF in one adapter, Hermes-3, Mistral, OLMo-2, Gemma-3, DeepSeek-R1), with exact-ring rollback identities checked in Lean 4.36.
  • Scope & disclosed misses: Targets short, deterministic CLI/SDK/config and tool-call spans (not multi-paragraph prose), and for security defaults acts only as a compensating control alongside sandboxes and IAM (gh attestation verify scored 0/1 and chained tarfile.open scored 1/2, both shown openly in the interactive replay).

Links:

P.S. Small personal ask: since this is my first independent preprint submission on arXiv (cs.LG), if any qualified cs.* author here reads the 6-page Zenodo PDF above and feels comfortable endorsing it for cs.LG*, I'd really appreciate a quick DM!*


r/huggingface • • 3h ago

Open dataset on the Hub: 96,955 outputs from 87 LLMs, scored for AI-sounding writing. Cheap models rank near the top (Inkling 2 Mini is 3rd cleanest of 87, Nemotron 3.5 Lightning 4th), and the four $10/$50 flagships land 70th to 80th

2 Upvotes

Ranks below: #1 = least slop, so "3rd of 87" means 3rd cleanest. These are mechanical ranks only (padding, templating, rhythm, known AI tells, all counted by code with no LLM judge). No crowd votes are mixed in.

I run a writing benchmark called The Slop Index, and the outputs are on the Hub: 96,955 generations from 87 models across 112 short-form scenarios (emails, Slack messages, social posts, short essays), same prompts for every model.

Dataset: https://huggingface.co/datasets/hgaddipati/slop-index

What I did not expect is how little price buys you. Prices are per 1M tokens, in / out:

ModelMechanical rank (of 87)Price
Inkling 2 Mini3rd$0.06 / $0.24
Nemotron 3.5 Lightning4th$0.08 / $0.20
Mercury 2.512th$0.04 / $0.15
Solar Mini 4.513th$0.01 / $0.04
Qwen3.7 Flash25th$0.03 / $0.13
GPT-6 Astra Pro70th$10 / $50
GPT-6 Astra77th$10 / $50
Fable 5.178th$10 / $50
Fable 580th$10 / $50

Those last four are every model in the set priced at $10 / $50. Inkling 2 Mini is also 1st of 87 on Slack-style messages.

About the top spot: mechanical rank 1 is Prose, which is our own model (Slashy's). It runs through the same prompts and scoring as every other model, and it is tied for first with Motif 3, Inkling 2 Mini, Nemotron 3.5 Lightning, Mistral Large 4 and Inkling Small (the rank intervals overlap). It gets there mostly by being brief.

One honest limitation: this is short-form only. No fiction yet, and the mechanical axes miss repeated sentence constructions, so a model can score clean and still feel samey.

Leaderboard: https://theslopindex.com/leaderboard

Methodology: https://theslopindex.com/methodology

Blind arena (play a few rounds if you are curious): https://theslopindex.com/arena

For context, I'm one of the people behind https://slashy.com, an email client that writes drafts that sound like you. This benchmark started as how we pick models.


r/huggingface • • 4h ago

I trained a new model on my 1080

Thumbnail
huggingface.co
2 Upvotes

r/huggingface • • 10h ago

Daily Paper:3AGameFactory-GameBench: A Benchmark for Evaluating LLMs' Real-World Game Development Capabilities

2 Upvotes

A game demo can show a character swinging across a canyon. How do you check whether the player can trigger the swing, reach the other side, and save the checkpoint? 3AGameFactory-GameBench uses tests like this to evaluate how AI agents build games.

The benchmark covers games across 12 genres and four engines (Unity, Godot, Three.js, and Unreal Engine 5) and includes 1,741 asset generation tasks spanning 3D objects, 3D scenes, motion, audio, and CG video. End-to-end evaluations often score the final build as a whole. GameBench scores three stages independently: playable prototyping, standalone asset generation, and playtesting and refinement. This helps pinpoint whether a failure came from the gameplay, the asset, or its integration into the game.

  1. Build a playable prototype. The agent implements the gameplay with basic shapes and placeholders. We test mechanics using normal player inputs and collect gameplay footage, state traces, and event logs. Checks with insufficient evidence are marked UNKNOWN, and we report coverage alongside scores.
  2. Generate assets. We evaluate 1,741 standalone tasks across 3D objects, scenes, motion, audio, and CG video before the assets are integrated.
  3. Playtest and refine. On 13 large Unity and Unreal tasks, agents start from the same prototype and receive the same generated 3D objects for each task. They get up to 10 rounds to integrate assets, fix bugs, and improve gameplay feedback.

A few results from the paper

  • Claude Code with Opus 5.5 scored 95.24/100 for code quality, 69.85 for mechanics completeness, and 46.43 for reference image consistency.
  • Both sound effect models scored around 63/100 for production quality and below 17/100 for matching the requested sound.
  • In refinement, the leading setup scored 76.53/100 for 3D object integration and 59.26 for texturing. Getting an object into the game and getting it to render correctly turned out to be distinct challenges.

The demo shows five of the tasks. In Wind Tower Grapple, you can watch the same keyboard and mouse inputs replayed in the prototype and refined build, all the way to the final checkpoint.

https://huggingface.co/papers/2612.01413

If you’ve used coding agents to build games, what runtime check would you add to the benchmark? We’d especially like to hear about issues that only showed up once you started playing.


r/huggingface • • 1h ago

ai2 Molmo 3

Thumbnail
allenai.org
1 Upvotes

r/huggingface • • 2h ago

K3.1 in 446GB

Thumbnail
huggingface.co
1 Upvotes

Hi guys, I’m a 16 year old builder and I built this K3.1 build that beats the other builds in code, math, tools, and agent sessions. Already at 635 downloads in 2 days! I would love feedback and to talk.


r/huggingface • • 7h ago

Try GLM-5.3, GLM-5.3-Flash, and DeepSeek V4.1 Flash for free on AIWave (Dec 3–9)

Post image
1 Upvotes

I run AIWave, an OpenAI-compatible API gateway. From Dec 3 through Dec 9, 2026 (UTC+8), we're offering free API access to these three model IDs:

- `glm-5.3-free`

- `glm-5.3-flash-free`

- `deepseek-v4.1-flash-1017-free`

If you want to compare them, run the same prompt through all three and change only the `model` field. Copy the DeepSeek ID exactly; it includes `-1017`.

To try them, [sign in or create an AIWave account](https://aiwave.live/sign-in), then use your AIWave API key and set `base_url` to `https://aiwave.live/v1` in your OpenAI-compatible client.

On Dec 10 (UTC+8), we'll remove the `-free` IDs rather than start billing for them. If you want to keep using the models, switch to a regular paid model ID. This offer is from AIWave, not Hugging Face.

If you'd like to try it, [sign in or create an AIWave account] (https://aiwave.live/).


r/huggingface • • 8h ago

Wolf Defender v2.2: prompt-injection classifier (80M/141M/308M), plus a Space comparing 14 models on 356k cases

Thumbnail
gallery
1 Upvotes

We just shipped v2.2 of our prompt-injection classifier, together with an evaluation Space. The Space plots parameter count vs F1 / recall / FPR for 14 models on 101 benchmarks.

What's new in v2.2:

  • All three sizes retrained: Base 308M, Small 141M, and Edge 80M, re-distilled from the new Small
  • Training on 397k examples, with far more long documents, HTML, configs and legal/business text
  • Config-file injections: recall 15% → 84%. Real web pages: false alarms 4.80% → 0.32% (Small, v2.1 → v2.2)

Headline: the 80M Edge model gets 95.2 F1. NVIDIA Nemotron 3.5 Content Safety (4.3B) gets 74.9.

Feedback welcome, and so are failure cases!


r/huggingface • • 13h ago

RawrXD - Own the entire stack

1 Upvotes

Your hardware. Your models. Your AI IDE.
Meet RawrXD — an independently developed, native C++20 AI development environment featuring autonomous coding agents, its own inference engine, Vulkan GPU acceleration and offline model compression.
No Electron. No mandatory cloud inference.
Explore REAP-pruned GLM-4.7-Flash, delivering 2.56× faster empty-context prefill in published llama.cpp Vulkan benchmarks.
Explore the source:
https://github.com/ItsMehRAWRXD/RawrXD
Download the experimental REAP model:
https://huggingface.co/ItsMehRawrXD/ReapDeepseekFlash47Flash
RawrXD — Own the entire stack.