alt.freeweights.gemma / Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
From: laion <huggingface.co/laion>Newsgroups: alt.freeweights.gemmaSubject:

Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128

Date: 2026-11-15Commit: 880dc33Signed: 2DC28CC7B26A283B ✓

Text generation model. Safetensors weights, 2.14 GB in all. Published by laion under CC-BY-4.0.

gemma2.14GBAlexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128safetensorspermissive
FactsParamsnot statedSize2.14 GBFormatssafetensorsTasktext generationLicenseCC-BY-4.0From sourcepermissive
$ fw get laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
# manifest sha256 1008411c1f8e… · 2.14 GB · 120 files
$ fw verify ./Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
From sourceHosted (signed)laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128Last check: 2026-11-15 05:24 UTC

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

Adapter of gemma-4-12B-it.

Works with

Overview

Size
2.14 GB
Weights
2.10 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
text generation
License
CC-BY-4.0 (permissive)
Files
120, each with a sha256
Publisher
laion
Added
2026-11-15
Section
alt.freeweights.gemma
Lineage

Original release from the publisher.

Base model: google/gemma-4-12B-it

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 05:24 UTCpassed

Model card

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

Project Alexandria — Gemma 4 12B IT: Knowledge Units, LoRA rank 128#

This is a LoRA adapter, released on 10 October 2026. Load it on the pinned Gemma 4 12B IT base model; it contains learned adapter matrices rather than a standalone copy of Gemma.

Why extract scientific knowledge?#

Research papers contain findings, experimental conditions, quantities and relationships that agents can use for retrieval, question answering and synthesis. Project Alexandria aims to make that factual knowledge reusable through representations that reduce dependence on the original prose. A Knowledge Unit describes entities, attributes and relationships; a scientific summary offers an organized account of a paper.

The motivation is introduced in Project Alexandria: Towards Freeing Scientific Knowledge from Copyright Burdens via LLMs. The paper proposes knowledge-preserving, style-agnostic representations and examines their reuse. An agent can retrieve relevant KUs, answer a question from their facts and follow a source identifier for verification. Distillation trains a smaller extractor to imitate a larger teacher, reducing the cost of creating these representations.

For example, an illustrative KU can describe an intervention, its dose, the measured effect, the population and the uncertainty as separate fields. This helps an agent distinguish a measured result from an interpretation. These adapters learn the extraction task; they do not provide a database of all scientific knowledge.

The technical goal is to preserve scientific information while reducing reproduction of source expression. This release does not certify that its outputs are copyright-free. Our literal-copy audits still find substantial overlap. Source access, source terms, attribution and output review remain relevant. QA accuracy measures usefulness for answering questions; it does not establish legal clearance or complete factual correctness.

Model and training provenance#

  • Base: google/gemma-4-12B-it, revision 707f0a3b8a3c7ad586ed01e27eafbad8a27dd0f7.
  • Teacher: Qwen/Qwen3.8-27B-FP8, revision 017b9c7af6b5689d5dd426a76e0bc077eb5ca20a.
  • Task: generator-only knowledge units; no quality-review or correction adapter was trained.
  • Training: 391 examples from 97 papers, one epoch, 49 optimizer updates.
  • LoRA: rank 128, alpha 256, dropout 0.05; language-layer q/k/v/o attention and gate/up/down MLP projections.
  • Optimizer: AdamW, learning rate 2e-5, weight decay 0.01, 5% warmup then cosine decay; BF16 base, gradient checkpointing, flex attention and assistant-token-weighted cut cross entropy.
  • Effective batch: eight; source/prompt tokens are masked from the loss; no source or target truncation.
  • See training configuration, native data manifest and weight/code provenance.

The teacher processed the 97-paper cohort sequentially with at most 1,000 source words per call, conditioning naming on the previous ten KUs. The teacher thinking mode was disabled, so these targets contain no reasoning supervision. The adapter was then evaluated on 20 different papers, with 200 questions frozen before context generation. It was applied to both 1,000-word and 500-word extraction without retraining. The 97 training papers are not an adapter test set.

Evaluation: retained knowledge#

A separate, fixed Qwen2.5-7B-Instruct answerer receives the generated representation and answers four-choice questions. The generator never receives evaluation questions or gold labels. Each paper contributes ten questions. Failed paper generations count as ten wrong answers; invalid responses remain in the denominator. Confidence intervals use 10,000 paired paper-bootstrap draws.

Matched 20-paper / 200-question follow-up#
ContextCorrect / 200QA accuracy95% intervalInvalid slots
No source context8944.50%40.50–49.00%5
Complete original papers18291.00%87.50–94.50%0
Qwen27 teacher, 1,000-word KUs17688.00%85.00–91.50%0
Qwen27 teacher, 500-word KUs17989.50%87.00–92.00%0
Untrained Gemma12, 1,000-word KUs12763.50%54.00–71.50%10
Untrained Gemma12, 500-word KUs15075.00%64.50–84.00%10
This adapter, 1,000-word KUs17085.00%80.50–89.00%0
This adapter, 500-word KUs17788.50%84.00–92.00%0

This adapter reaches 88.50% with 500-word chunks and 85.00% with 1,000-word chunks. The +3.5-point chunk difference has a paired 95% interval of −1.0 to +8.0 points. The small cohort does not establish a reliable advantage of 500-word extraction. All 18 context conditions were freshly judged in the follow-up, with unchanged cached contexts preserved. Questions were teacher-authored and source-validated automatically, rather than independently curated by humans.

The complete follow-up used four GH200 GPUs for 1,078 allocation seconds: 1.1978 reserved GPU-hours, including server startup, four Gemma extraction variants, all 3,600 QA slots and copying audits. This is an experimental allocation cost, not a production rate.

Copy-overlap audit#

Every evaluated output is audited against its complete, untruncated source. The primary rule allows at most five normalized consecutive whitespace words; six is borderline and seven or more is flagged. Narrative fields, evidence quotes and bibliographic metadata are tracked separately; a punctuation-split diagnostic is also retained. This numerical heuristic is a technical diagnostic, not a legal test.

ConditionAudited outputsNarrative ≤5Six onlyNarrative ≥7Longest copied runMean coverage in runs ≥6
This adapter, 1,000 words20002037 words11.18%
This adapter, 500 words20002035 words13.47%

No evaluated output from this adapter passes the strict five-word narrative rule under these recipes. No back-translation or semantic correction is applied in the primary scores. Raw QA performance and copying compliance are reported independently. The inference script performs the same audit automatically and retains failures and partial outputs.

Full English evaluation report and local machine-readable metrics, copy audit.

Two chunk sizes, one trained adapter#

The 500-word profile and 1,000-word profile use the same rank-128 weights, trained with 1,000-word teacher chunks. Set --chunk-words 500 or --chunk-words 1000 in the inference CLI below. These are two inference configurations, not two independently trained adapters.

The matching Gemma 4 E4B KU adapter has its own weights and both chunk-size evaluations.

Quick start: inference#

Download this repository and install the inference environment separately from the training environment. All commands below run from the downloaded repository directory. A CUDA installation compatible with your vLLM build is required.

hf download laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 --local-dir adapter-release
cd adapter-release
python -m venv .venv-infer
. .venv-infer/bin/activate
python -m pip install -r requirements-inference.txt
vllm serve google/gemma-4-12B-it --revision 707f0a3b8a3c7ad586ed01e27eafbad8a27dd0f7 \
  --served-model-name base --host 127.0.0.1 --port 8000 \
  --language-model-only --reasoning-parser gemma4 \
  --enable-lora --max-lora-rank 128 --max-loras 2 \
  --lora-modules alexandria=. --generation-config vllm \
  --gpu-memory-utilization 0.90 --max-num-seqs 16 \
  --max-model-len 32768 --max-num-batched-tokens 8192 \
  --enable-prefix-caching --enable-chunked-prefill

In another terminal, use the same environment:

python code/infer.py --text-file paper.txt --task ku \
  --model alexandria --output outputs --chunk-words 500
# Batch input: one JSON object per line with document_id, text, optional title.
python code/infer.py --input papers.jsonl --task ku \
  --model alexandria --concurrency 16 --output outputs-batch --chunk-words 1000

Each document receives an output directory with complete call traces, the result, failure flags and the full-source copying audit. Chunks within a paper remain sequential; concurrent papers are batched by vLLM. KU generation disables thinking and allows one 16,384-token format retry after an 8,192-token attempt. Summary generation allows three bounded 24,576-token format attempts. Removing --thinking enables direct summary generation. Portable examples retain the benchmark prompts and budgets; hardware, scheduler ordering and library differences can change sampled outputs. They do not claim byte-identical regeneration of the archived benchmark.

Reproduce training#

The included compressed JSONL preserves the native tokenizer input IDs, assistant-only labels and original row order used for the completed run. Its uncompressed SHA256 is in the manifest. These token arrays encode source text and targets; they are reconstructable, so they are not privacy-preserving or irreversible fingerprints. Source-paper rights still apply.

python -m venv .venv-train
. .venv-train/bin/activate
python -m pip install -r requirements-training.txt
python code/train.py --output reproduced --dry-run
python code/train.py --output reproduced

The original KU run used one GH200 with microbatch one and gradient accumulation eight. Original summary runs used eight GH200 GPUs across two nodes, one example per rank. The portable trainer supports any GPU world size dividing eight. For two nodes with four GPUs each, launch torchrun --nnodes=2 --nproc_per_node=4 --node_rank=NODE_RANK --master_addr=MASTER_HOST --master_port=29500 code/train.py --output reproduced on each node. Adapter training needs substantial GPU memory for the 65,536-token summary limit; the original KU examples are much shorter.

code/prepare_training.py can render new OpenAI-style source-only conversations with actual reasoning_content through the pinned native tokenizer. It derives assistant boundaries from template offsets, preserves emitted reasoning and rejects over-length examples instead of truncating them. The released native arrays already provide the exact training targets. code/merge_adapter.py optionally merges these matrices into a downloaded BF16 base for deployment; quantization is a separate step.

License, attribution and citation#

  • Release-owned adapter matrices, new scripts in code/, documentation and new metadata: CC BY 4.0. Attribute LAION / Project Alexandria contributors, link this model repository and identify your modifications.
  • Bundled original Alexandria utilities and prompts in vendor/ and prompts/: retain their Apache 2.0 license and attribution; see third-party notices and Apache text. New release wrappers are CC BY 4.0.
  • The Google base model and its tokenizer retain their own Apache 2.0 terms. The base model weights are obtained separately and are not redistributed here.
  • Source documents and pre-existing datasets retain their own rights. This release licenses the contributions we can license; it does not relicense source-paper expression or guarantee downstream output clearance.

Please cite the Alexandria paper, base model and this adapter repository. Citation metadata and source-code provenance are included.

Release validation#

The packaged trainer validates all native examples and supervision masks. CPU checks compare one source conversation from each training-data family with its original input IDs and labels, inspect every adapter tensor shape, and verify the synthetic HTTP inference-client and copying-audit path. The completed GPU evaluations establish the performance of the original weights. No new full training run was launched to test packaging. Validation records.

Knowledge Units after guarded back-translation#

Read five complete papers and compare model/chunk views · Saved factual examples · PDF evaluation.

An additional matched study reused the same frozen 20 papers / 200 MCQs and freshly judged all 18 raw/reference contexts plus ten guarded KU contexts. The adapter weights and original extractions are unchanged. Copied context-summary/descriptive-attribute passages receive up to two TranslateGemma 4B English → German → English round-trips; graph names, IDs, targets and metadata are preserved. Repairs are accepted before QA using critical-value signatures, bidirectional NLI ≥0.9 and a five-word copy limit inside each candidate window.

Source chunkFresh raw QAGuarded BT QAPaired change95% interval
500 words89.00% (178/200)88.50% (177/200)-0.50 pp-1.50 to +0.00 pp
1,000 words84.50% (169/200)84.00% (168/200)-0.50 pp-2.00 to +1.00 pp

These fresh stochastic QA scores are distinct from the earlier 20-paper results above. Failed generations retain their full wrong/invalid slots. No output is regenerated or selected using QA. Both comparisons have paired intervals including zero. Guarded document-level number/unit/formula checks record zero retained critical-value flags, but substantial literal overlap remains; the whole-output five-word rule is not completely met. The paper/graph/source references and missing author/style/lookahead annotations remain inspectable in the reader.

All new QA, fidelity and timing metrics, copy audit, separate bibliographic copy diagnostic and tested repair/evaluation code are included. The repair bundle needs its own runtime models/local source arrays as described by the linked experiment; training and ordinary adapter inference use the existing code above.

Full experiment documentation.

Wording repair: measured results and deployment advice#

Both KU chunk profiles are available#

Use 500 source words or 1000 source words with the same trained rank128 adapter. Training used 1000-word teacher chunks; these are two evaluated inference configurations, not two separately trained adapters.

The targeted editor is Gemma-4-E4B-it, BF16 with thinking disabled; “E4B” is the model identifier, not a measured 4-bit quantization setting. The tested repair chain contains TranslateGemma, Qwen local/full-field editing, and two Gemma local-edit stages. Direct Gemma-only repair is a proposed ablation whose complete throughput and QA have not been measured.

12B KU source profileRaw QAFinal conservative-chain QAMean copied-word coverage >=6, raw → finalNarrative-only five-word passes
500 words88.0%88.0%10.889% → 0.413%11/20
1000 words84.5%84.5%9.810% → 0.551%12/20

Twenty frozen papers, 200 questions per condition; 44 comparison conditions and 8,800 QA slots in the complete search. Every question/paper slot is retained. Bibliographic metadata is reported separately; the historical all-factual-field audit passes only 2/20 and 4/20. No tested pipeline achieves zero five-word-rule violations. The repeated holdout search still needs independent validation.

For the Qwen-rank128 merged-FP8 summary deployment, one guarded TranslateGemma round changes QA from 94.23% to 93.30% on 97 papers / 970 MCQs and lowers copied-word coverage from 15.23% to 9.69%, but all 97 narratives still violate the strict rule. Back-translation alone is a cheap option for partial overlap reduction; it is not validated as sufficient for complete compliance. Optimized generation plus that translation/NLI stage is estimated at 72,488 / 114,454 GH200 GPU-hours for 38M / 60M summaries, assuming 85% useful capacity.

The corresponding direct-Gemma cost scenarios are 108,683 / 171,605 GPU-hours for summary generation plus repair, and 232,315 / 366,813 for 500-word KU generation plus repair. These totals borrow 3.1296 GPU-seconds per paper from Gemma’s residual KU edits after earlier repair stages. Summary application and direct repair from raw KUs are unconfirmed optimistic proxies, not measured complete repair costs, guaranteed budgets or zero-overlap estimates. Generation-only estimates are 69,820 / 110,241 for summaries and 193,451 / 305,449 for 500-word KUs, with the same capacity factor.

Repair workflow and exact editor settings, full results, all scores, overlap evidence, 38M/60M compute assumptions, and frozen protocol are included. Scan the complete source, edit only flagged fields, preserve graph references and numbers/formulas, use bidirectional meaning filters against the immutable original, bound retries, and retain unresolved failures. QA is never an acceptance filter.

GitHub experiment and adapter inventory.

Files

120 files · 2.14 GBWeights 2.10 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 120 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
CITATION.cff1.08 KB77c83f3864628d1f7e25b4ac5cd9ec5f69b00177de80e3395c58dda8a244f306
LICENSE17.0 KBd557539df68e771cc1eedcc91d13f70fca930e508d11eedcafa4b15db49e3744
LICENSES/Apache-2.0.txt11.4 KBc71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
NOTICE877 B3d2124c44a42c5be62604a6856618459993784c156b73e1ae0b802cd1efd75f8
README.md20.1 KB9d95cd1c7462b6005b59ba1d8876c3d1ab962740051be48c9c52e157da51112a
SHA256SUMS.json18.1 KB479a2387a4f8545a7aea02dea48e35a132708ae0b1cf1f3a967d521f330aef2b
adapter_config.json1.35 KB95a7b88c137d796aaa65d471c14919acb5300db5f6de2f3b2ff913a2fc3c6673
adapter_model.safetensors2.10 GBfb05bd8e8586149302921697d7b6bf4e1ba16be2d2adfa4ab26ba71fbbeb9c20
backtranslation_pipeline/LICENSE-APACHE-2.011.4 KBc71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
backtranslation_pipeline/LICENSE-CC-BY-4.017.0 KBd557539df68e771cc1eedcc91d13f70fca930e508d11eedcafa4b15db49e3744
backtranslation_pipeline/NOTICE255 Bd384f98955899bf9404af527103cb91447cb1e217bb4abc5c66ef00ed7c66584
backtranslation_pipeline/code/bibliographic_diagnostic.py4.41 KB35acf140d1be2c7963ff54133ad09b459987c91d794da7f97aed9f324198c524
backtranslation_pipeline/code/build_pdf.py13.4 KB43f17157e8b2399b95f105a14219e10bc67ec876bb0fbfd0685455c751de59bb
backtranslation_pipeline/code/build_site.py26.0 KB3a72dc2d833ff5419cbcb412669e666e219ed3e3e72ba770d8c9a759a92cb07b
backtranslation_pipeline/code/common.py4.61 KB7d14bcb3fcaf612c726de56fc8854bc92fd7c73f58307a43a0b6bee98506cc37
backtranslation_pipeline/code/critical_values.py6.01 KBd1fb93550c2726a8a0adac6255ea280b68e6b0321c329a3d62eb63fed2d846e5
backtranslation_pipeline/code/engines.py3.02 KBe295eae2b3ebfa573047473864c5410cb6b47c5765afaec764e5effcbe7b77f0
backtranslation_pipeline/code/finalize.py10.8 KB4e929735e8f3b936eb77b61b727f6ffc65beb25a510245231f9126a436de130b
backtranslation_pipeline/code/ku_pipeline.py21.1 KB3581ebf05d13ff731700c95212993f57c5548ed6bb2779bda6c5ddeb98797683
backtranslation_pipeline/code/nli.py3.18 KB578347484ca4f5a918ec63f5c6c009a60fce3245528c32f58209c3a886f93348
backtranslation_pipeline/code/passages.py4.81 KBf8302f09984c51a52ef754aef446ffed64337e9f4a9bc5a1d3a6e1aed3a532a7
backtranslation_pipeline/code/qa_score.py2.00 KB393903be100edf26d9e9dcfc0b90fe1c2b15d0b256d9525e67264903560b31cd
backtranslation_pipeline/requirements.txt63 B0bbfcef72d8596675ec1666a43ce7159da485a1ad60afd4debc26f2369f147d1
backtranslation_pipeline/vendor/audit/copy_overlap_eval.py7.60 KBebed83735ebb3ab957d0f66bbbf77ad87a68cf47858e91bc8c1fc6385a1db906
backtranslation_pipeline/vendor/audit/ngram_overlap.py11.1 KB01320a9e1c423dc4cc17215ce6927db907278a900e44a5b7c153ef6795eeab38
backtranslation_pipeline/vendor/reference_validator.py9.57 KBecba6b12d5f8fe253d74956989884ff94e2243f8748e83267df59f3a0a116c48
backtranslation_pipeline/vendor/render_training.py3.52 KBff446a3e774f532612a739dd66f43a363fc095d8e95c0b2d01eb9809ef85a7fa
backtranslation_pipeline/vendor/src/project_alexandria/__init__.py218 Bf2b8977dcfa2d4b90a5f02c1b6d9bdb32fa89388d6aeb172c6534969a458a4b5
backtranslation_pipeline/vendor/src/project_alexandria/backends.py6.16 KB73ccdf2b1e79c29bd1dd9479801c683080c893c563b151eace5f2e86d8a156c7
backtranslation_pipeline/vendor/src/project_alexandria/canonicalize.py9.24 KB6095849bf56c990d45448a11720a4c05fe4ec6ad480aedd9ac27949c48247f01
backtranslation_pipeline/vendor/src/project_alexandria/chunking.py3.23 KB4119f213d397f8f10633b4a4cb10fe8240c09868953164c7b8e94b961ea63905
backtranslation_pipeline/vendor/src/project_alexandria/cli.py11.0 KB49676bf75b6d33a97318175e27c79bc9f48ab0ba5a5dbc5df4b727c5cfdea7be
backtranslation_pipeline/vendor/src/project_alexandria/experiments/__init__.py64 B8f0e2e8a2971d639ecfa08d8ca98de56b1c6af7856369666462deedf456fc642
backtranslation_pipeline/vendor/src/project_alexandria/experiments/datasets.py3.69 KB57efdd1c1a1e598f72b123d7883a58de926fde26d50b64865832960f760c7d9c
backtranslation_pipeline/vendor/src/project_alexandria/experiments/mcq.py3.67 KB6f8f06dda7c8018b71f336de9758304ceedb6203dddffbda560b6ce7936107e9
backtranslation_pipeline/vendor/src/project_alexandria/experiments/overlap.py915 B0d211e1f433a9f55c828b2b7358974eb9dd620d9f26f4bf20ac77b144055148b
backtranslation_pipeline/vendor/src/project_alexandria/experiments/quality.py967 B9cf5f50aba7a9b78b58ddbe5358608e8a2b979e1a6e7abd77ce2a2bb48acec19
backtranslation_pipeline/vendor/src/project_alexandria/experiments/reproduce.py15.1 KB9760198eb1ba1040a48b567ddada4a0025779833926da8b5199c4f843e6f33ca
backtranslation_pipeline/vendor/src/project_alexandria/experiments/similarity.py1.17 KBc70920f4e124453090044f0cb500b41a9ddd5b0fc74c88ce63ffdbdaa2718ecb
backtranslation_pipeline/vendor/src/project_alexandria/fingerprints.py935 Bbe20f839909206d2a12daac5e8e43dff347790cef53ec68c7e9915f7d4a10a29
backtranslation_pipeline/vendor/src/project_alexandria/io.py2.72 KBda97499ec97a48357da249d82ef2de7b129a27c3864f27147b210ffbd26e9b7d
backtranslation_pipeline/vendor/src/project_alexandria/parsing.py4.33 KB7f81fc44c5c98c449f344c9ac602c1d616e69c276301abe2710accfaa0d66fd4
backtranslation_pipeline/vendor/src/project_alexandria/pipeline.py10.6 KB2813c7e10ec6871ca800ee6a46da4ffeff5e9e11cfcbfbba72cc4d6fed06570b
backtranslation_pipeline/vendor/src/project_alexandria/prompts.py9.77 KB743800e51c268e492c97492f8d18dfac5f273be2a63682438001494c9bf205ca
backtranslation_pipeline/vendor/src/project_alexandria/schema.py4.63 KB19e5aed694e0d2049e9ef105a6971c016e3846546a06f7be9c2b0da446095cbb
chat_template.jinja18.7 KBae53464bf3be25802b3a5b37def7fd89667067d7577049b3b2d74c4d8de4c6d4
code/common.py1.36 KBdb63bc81f7fd35bea06ed9aadf481e839b1596bc79f21a188e0c8f7e4a2d39d2
code/infer.py8.73 KB071ddd98a2ba75010215980bc97a5e52174bfd78787e5e2c86a65681e78fd9d9
code/merge_adapter.py977 Ba55a1883fdeea61ad529c958ce6fb77229b3607bacce42a09cd09105d4bee5ee
code/prepare_training.py3.49 KB84518608e050000697f22a83c77ac8def8d987c4b1022eb9f515ae51c40e2fce
code/train.py7.57 KB845ee13c79139d6841022261bf5f95c0b9289776478183a940f45c966f6a0e51
evaluation/copy_overlap.csv26.9 KB844767c03a2f143dc865fbcb0f31acc731f96b795adc09686c5ce23f86ac8883
evaluation/copy_overlap.json29.8 KB47e5b724e8a2ab66c7147b6603b897716705ac4dbae71c36e90ace6394e521ea
evaluation/copy_overlap_details.jsonl.gz1.50 MBf17aef0bb52dbf397638ec2b6de9c342264240158c94e7545453a277885e53dc
evaluation/ku_backtranslation_20261010/bibliographic_copy_diagnostic.json224 KB2f910485a26427940a47168dc92dd596c720b5b571dc5244e81b6573c8250448
evaluation/ku_backtranslation_20261010/copy_overlap.json45.8 KB76f38c2045a8b340356d16dc9a0fcee9c3bf2b11fc3106b5de8b40d53cdb40a9
evaluation/ku_backtranslation_20261010/metrics.json16.7 KB56536abe57a8a807f500070aa4eba515031315b72bd26b06440b44fd1ab71a85
evaluation/ku_backtranslation_20261010/model_pins.json1.01 KBe5c6b8b6bf7302609c096faadb7dab6d21b6e43f1be25d5e35fd787f4213ed3c
evaluation/ku_backtranslation_20261010/protocol.json2.38 KB9921d1fc008ba337a7dbaf3d8219bc6d0be03d2033fb092ee643ecc14acafed8
evaluation/ku_backtranslation_20261010/runtime_versions.json92 B629f31878a278ab5d428922dde50f9c691f80278702c20d520d63d1e3224911e
evaluation/metrics.json14.1 KBc73df07005527b1314b9ba750d3196afa74b2f1f15fec581aff716f18044bda9
evaluation/qa_predictions.jsonl.gz21.6 KB3f09e04317354b5e4f0e028e83aa3957a44b7ffa5f1d3d1b724eec7457b7f772
examples/README.md2.53 KB474898907a8295e8382ffb37e9067c8d0c1c971898509992e8df021a2ca21f23
examples/ku1000/fresh-arxiv-1599059.json37.1 KB59969b7dc1204707196436bfc79e3a3bffac24748353286ad817374b9170c1b6
examples/ku1000/fresh-arxiv-1599072.json43.6 KB6822cbe0ff79e920ccce6b1a01ee43f316be02cc33f798907e61d3e94b821644
examples/ku1000/fresh-arxiv-1599094.json60.0 KBf701c96bc8cfbd9d16727f88b4c8f4fc1e00781e08c5f626aec5620e93f3ccc7
examples/ku1000/fresh-bethgelab-298328.json64.7 KBb045025832cf2690bbfe8b19008b7eb0a17585f389b08edf6b541c9ffa917c03
examples/ku1000/fresh-bethgelab-298331.json76.2 KBfc1f768cba9413c47361cf27f4fc73bb15edb0126412c47aeada512ebad8bd9e
examples/ku500/fresh-arxiv-1599059.json56.8 KB7c776955b1dc56c0ae10cd0a7440111a5a9142809e4804536170e9111b5033b1
examples/ku500/fresh-arxiv-1599072.json67.1 KBc18e8701f06cb13ce4a342e2f650c409eef55dbf623567f3be015487a56fc729
examples/ku500/fresh-arxiv-1599094.json102 KB858544301e37142dc4eff828480de2998d5f02f8f789796304c97a76ccde79b8
examples/ku500/fresh-bethgelab-298328.json109 KB34f7c1f56a0dc95802ab90eb200bb08d01e247796cff26e735bd064a0ce41a54
examples/ku500/fresh-bethgelab-298331.json145 KBb0e79c36cddf33b9119ae41049b4dd5de450055c196affe4b8c2c135d7fe174e
inference_config.json45 B3b0e48cb8aca44f76a24933f290b964c157440232df267022fab8d18a34e2941
profiles/ku1000.json782 Bf134e9f052fc346b44f390973b5b57cf46739fb2a210867be94a50a3f996885c
profiles/ku500.json780 Bc85b6e7ff372d3cf92f53ba1dcc9cd3eb18cec184209a74c39e54c02acf37a0b
prompts/summary_system_prompt.txt8.92 KB9626c10e1c348be59aa443ba7977664acda72b6ba2a157be56a4d34fe5164ad9
prompts/summary_user_prompt.txt342 B876af231a32f627e07aaeee07ae3a594b239a10531f19ec1a64fdd10fafda45c
provenance.json4.58 KBbc3bbe57fd1a2b648ced073e4029f6b1d231103c806279e65c4e4674f04f6647
release_validation.json3.52 KBf5631e08c0db4bdba8b52d4b52b4d393e0bbe1fc79459d1d245247a2d6532f09
repair/RECOMMENDATIONS.md6.90 KBb116216b366c9ed2ebdec8631bf9797c02d2634a207e8d8d0429ee893ea7e3a2
repair/RESULTS.md11.4 KB2a4705acbccfbbfbb785358eca0a5e887bc82c27211353bd728a05380b7d4569
repair/SCALING.md4.20 KBc19f3dced6f4c6b72188297c08316c19de464ab5a126dc1b69968a9439e322c9
repair/copy_overlap.csv213 KBc8f150766ed1086cec2ede125699b5858c22285787d68a47bccc7f5983d5b773
repair/copy_overlap.json515 KBae26170eefc5001b8e84671e33bd7739dc9f1745dc73188d8f0eb690886a480d
repair/critical_checks.json159 Bbbc56f3f18e0c6df6f388d4e252a9f02eb59b469f5d7408453162bdd273909a2
repair/metrics.json42.1 KB3b285bc45e96805491dfb4f10f12648f9729f2d7cade8a768ccc3d7f8060699f
repair/model_pins.json820 Bdf8bc569ed85a3fd123b1869530e54899bd8368622ede904c726ebf6701851bc
repair/protocol.json5.45 KB8a3ed8ba49f6410c218ac5313c602e86168ae50e052944ee9d0771f6dbe039fe
repair/qa_predictions.jsonl.gz50.2 KB3b93ba9411bf74ecc855843f831115cca4c658c591e71d342242a5df918f494c
repair/scaling.json5.12 KBf3904993e5403fcbd00d181de82173dc2065899a50db016c7e92fc6bd115e64f
requirements-inference.txt34 B97ee4b65a5109ed147c788a032f6ef120b444d44578e4bf4feb562bd968de2e0
requirements-training.txt125 Bf53edafba1ae60fcdc60c505eda3808dcb2c10639a5fdf98a2de97726d183b88
tokenizer.json32.2 MBcc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
tokenizer_config.json3.73 KB9669970d5b0bcfcb47a09256f9e66837c313926ff15e9ba4c60e8bbe3c6bdf84
training/manifest.json1.01 KBa17da2154ac582839c7d6433feb36913803c5b3a63096050cd4435691e539074
training/tokenized_training.jsonl.gz1.97 MB1387d5d5b41f29e0bb963a7ac5f64cb3d827ee8221a9673414bc964ff67cf22c
training_config.json527 B8db6891c25fceeb20e294471a408127203d381cb5b779c6cbcb91e8e70d33181
vendor/copy_overlap_eval.py7.60 KBebed83735ebb3ab957d0f66bbbf77ad87a68cf47858e91bc8c1fc6385a1db906
vendor/ngram_overlap.py11.1 KB01320a9e1c423dc4cc17215ce6927db907278a900e44a5b7c153ef6795eeab38
vendor/reference_validator.py9.57 KBecba6b12d5f8fe253d74956989884ff94e2243f8748e83267df59f3a0a116c48
vendor/src/project_alexandria/__init__.py218 Bf2b8977dcfa2d4b90a5f02c1b6d9bdb32fa89388d6aeb172c6534969a458a4b5
vendor/src/project_alexandria/backends.py6.16 KB73ccdf2b1e79c29bd1dd9479801c683080c893c563b151eace5f2e86d8a156c7
vendor/src/project_alexandria/canonicalize.py9.24 KB6095849bf56c990d45448a11720a4c05fe4ec6ad480aedd9ac27949c48247f01
vendor/src/project_alexandria/chunking.py3.23 KB4119f213d397f8f10633b4a4cb10fe8240c09868953164c7b8e94b961ea63905
vendor/src/project_alexandria/cli.py11.0 KB49676bf75b6d33a97318175e27c79bc9f48ab0ba5a5dbc5df4b727c5cfdea7be
vendor/src/project_alexandria/experiments/__init__.py64 B8f0e2e8a2971d639ecfa08d8ca98de56b1c6af7856369666462deedf456fc642
vendor/src/project_alexandria/experiments/datasets.py3.69 KB57efdd1c1a1e598f72b123d7883a58de926fde26d50b64865832960f760c7d9c
vendor/src/project_alexandria/experiments/mcq.py3.67 KB6f8f06dda7c8018b71f336de9758304ceedb6203dddffbda560b6ce7936107e9
vendor/src/project_alexandria/experiments/overlap.py915 B0d211e1f433a9f55c828b2b7358974eb9dd620d9f26f4bf20ac77b144055148b
vendor/src/project_alexandria/experiments/quality.py967 B9cf5f50aba7a9b78b58ddbe5358608e8a2b979e1a6e7abd77ce2a2bb48acec19
vendor/src/project_alexandria/experiments/reproduce.py15.1 KB9760198eb1ba1040a48b567ddada4a0025779833926da8b5199c4f843e6f33ca
vendor/src/project_alexandria/experiments/similarity.py1.17 KBc70920f4e124453090044f0cb500b41a9ddd5b0fc74c88ce63ffdbdaa2718ecb
vendor/src/project_alexandria/fingerprints.py935 Bbe20f839909206d2a12daac5e8e43dff347790cef53ec68c7e9915f7d4a10a29
vendor/src/project_alexandria/io.py2.72 KBda97499ec97a48357da249d82ef2de7b129a27c3864f27147b210ffbd26e9b7d
vendor/src/project_alexandria/parsing.py4.33 KB7f81fc44c5c98c449f344c9ac602c1d616e69c276301abe2710accfaa0d66fd4
vendor/src/project_alexandria/pipeline.py10.6 KB2813c7e10ec6871ca800ee6a46da4ffeff5e9e11cfcbfbba72cc4d6fed06570b
vendor/src/project_alexandria/prompts.py9.77 KB743800e51c268e492c97492f8d18dfac5f273be2a63682438001494c9bf205ca
vendor/src/project_alexandria/schema.py4.63 KB19e5aed694e0d2049e9ef105a6971c016e3846546a06f7be9c2b0da446095cbb
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
880dc33ed0 pinned now2026-11-15 05:24 UTC120 files · 2.14 GB

Use it

$ fw get laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
# manifest sha256 1008411c1f8e… · 2.14 GB · 120 files
$ fw verify ./Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json --dir ./Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 $ python3 fw.py verify ./Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 ./laion__Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128 --revision 880dc33ed0639314027519074aba003de1b49498 --local-dir ./Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128

License

Name
Creative Commons Attribution 4.0
Id
CC-BY-4.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
Text sha256
d557539df68e771cc1eedcc91d13f70fca930e508d11eedcafa4b15db49e3744
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: laion <huggingface.co/laion>Newsgroups: alt.freeweights.gemmaSubject: Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128Date: 2026-11-15Commit: 880dc33Signed: 2DC28CC7B26A283B ✓
Upstream
laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
Pinned commit
880dc33ed0639314027519074aba003de1b49498
Manifest
Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json · .minisig
Manifest sha256
1008411c1f8e804fe75221a6b90f90f842a5023b5c114cc6c9d9afaac256f58f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:24 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json $ curl -O https://freeweights.allternit.com/manifests/laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json.minisig $ minisign -Vm Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.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

Parent

google/gemma-4-12B-it · this model is a adapter of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download laion/Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Alexandria-Gemma-4-12B-it-Qwen27-Knowledge-Units-LoRA-r128.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Ornith9-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r128
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-12B-it-Qwen27-Summaries-LoRA-r64
From: laion <huggingface.co/laion>Subject: Alexandria-Gemma-4-E4B-it-Qwen27-Knowledge-Units-LoRA-r128
From: unsloth <huggingface.co/unsloth>Subject: codegemma-2b