alt.freeweights.text / CodeRankLLM
From: nomic-ai <huggingface.co/nomic-ai>Newsgroups: alt.freeweights.textSubject:

CodeRankLLM

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

Model with 7.6B parameters. Safetensors weights, 15.2 GB in all. Published by nomic-ai under MIT.

7.6B params15.2GBCodeRankLLMsafetensorspermissive
FactsParams7.6BSize15.2 GBFormatssafetensorsTasknot taggedLicenseMITFrom sourcepermissive
$ fw get nomic-ai/CodeRankLLM
# manifest sha256 2c1f8c8bbf0f… · 15.2 GB · 15 files
$ fw verify ./CodeRankLLM nomic-ai/CodeRankLLM
From sourceHosted (signed)nomic-ai/CodeRankLLMLast check: 2026-11-15 04:16 UTC

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

Fine-tune of Qwen2.5-Coder-7B-Instruct.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
15.2 GB
Weights
15.2 GB (safetensors)
Parameters
7.6B
Formats
safetensors
Task
not tagged
License
MIT (permissive)
Files
15, each with a sha256
Publisher
nomic-ai
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: Qwen/Qwen2.5-Coder-7B-Instruct

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 04:16 UTCpassed

Model card

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

CodeRankLLM is a 7B LLM fine-tuned for listwise code-reranking. When combined with performant code retrievers like CodeRankEmbed, it significantly enhances the quality of retrieved results for various code retrieval tasks.

We release the scripts to evaluate our model's performance here.

Training#

Our code reranker is based on LLM-based listwise reranking, which has gained prominence for the ability to score multiple passages simultaneously. Training data for listwise reranking was generated by selecting 50,000 <query, positive, negatives> tuples from our high-quality dataset CoRNStack, filtered to ensure higher similarity scores and better ranks for the positives. Since CoRNStack doesn't contain the ranked ordering data required for training listwise rerankers, we leverage Qwen-2.5-32B-Instruct LLM provided ranked orderings for each example to serve as ranking supervision. We initialize our reranker with Qwen2.5-Coder-7B-Instruct and fine-tune using a language modeling objective that minimizes the prediction error of the next token in the sequence.

Citation#

If you find the model, dataset, or training code useful, please cite our work:

@misc{suresh2025cornstackhighqualitycontrastivedata,
      title={CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking}, 
      author={Tarun Suresh and Revanth Gangi Reddy and Yifei Xu and Zach Nussbaum and Andriy Mulyar and Brandon Duderstadt and Heng Ji},
      year={2025},
      eprint={2412.01007},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.01007}, 
}

Files

15 files · 15.2 GBWeights 15.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md1.93 KB0a6684d3c564f1deb96d931cdb00a6fca40c3c4b34bc23f63ee327f0266769e5
added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
config.json714 B0029c6a0505839cc85cde04d2dbb8c5c125d833ace7d1a9e8880be5a800b0bab
generation_config.json242 B84ac2065d654f0cdefcbdbeac7e8c0cfb41f965d8523698759cec680be2c2f79
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00004.safetensors4.87 GB1d029756bc8accf165a615da759e55468b0e5e7ae35e7d80f4afe0b9ce105a10
model-00002-of-00004.safetensors4.93 GB717268132a5a30e34ab7ffdd5c48d8a3ac9b22ab6ffa4adc4c21e70561508e98
model-00003-of-00004.safetensors4.33 GB647ec69c24045cd3887f3efc41f02b5b7c4862079edc7853c837bf05cbba0ef9
model-00004-of-00004.safetensors1.09 GB98cf369901515e9c74e1829942b5b7765c6ced858179209b243618641636c1f5
model.safetensors.index.json27.8 KBee71952051124c48961ed74b7741a205d690eb0d61bad956a830af905f91e8e4
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json7.03 MBd4d510f994b81b6395a82e5a341211481ddfec9ecb1eef999db6fbebca6faa52
tokenizer_config.json7.31 KB7e88129d9769a0b14b1587a7d5e829fe93ac0e1511636471fdfc0811951418e6
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a33c32c572 pinned now2026-11-15 04:16 UTC15 files · 15.2 GB

Use it

$ fw get nomic-ai/CodeRankLLM
# manifest sha256 2c1f8c8bbf0f… · 15.2 GB · 15 files
$ fw verify ./CodeRankLLM nomic-ai/CodeRankLLM
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/nomic-ai/CodeRankLLM.json --dir ./CodeRankLLM $ python3 fw.py verify ./CodeRankLLM ./nomic-ai__CodeRankLLM.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download nomic-ai/CodeRankLLM --revision a33c32c57217d88e56eff26dbb09e4ddab2b6b7c --local-dir ./CodeRankLLM

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
0a6684d3c564f1deb96d931cdb00a6fca40c3c4b34bc23f63ee327f0266769e5
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: nomic-ai <huggingface.co/nomic-ai>Newsgroups: alt.freeweights.textSubject: CodeRankLLMDate: 2026-11-15Commit: a33c32cSigned: 2DC28CC7B26A283B ✓
Upstream
nomic-ai/CodeRankLLM
Pinned commit
a33c32c57217d88e56eff26dbb09e4ddab2b6b7c
Manifest
CodeRankLLM.json · .minisig
Manifest sha256
2c1f8c8bbf0f434093abb061f48b672d77224c0e9db19388ff3d1f7564a7c16f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/nomic-ai/CodeRankLLM.json $ curl -O https://freeweights.allternit.com/manifests/nomic-ai/CodeRankLLM.json.minisig $ minisign -Vm CodeRankLLM.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

Qwen/Qwen2.5-Coder-7B-Instruct · this model is a finetune of it

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

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download nomic-ai/CodeRankLLM
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. CodeRankLLM.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