alt.freeweights.text / K2-Horizon-7B
From: IFM <huggingface.co/IFM>Newsgroups: alt.freeweights.textSubject:

K2-Horizon-7B

Date: 2026-11-15Commit: 1ad5223Signed: 2DC28CC7B26A283B ✓

Text generation model with 9B parameters. Safetensors weights, 18.0 GB in all. Published by IFM under Apache-2.0.

9B params18.0GBK2-Horizon-7Bsafetensorspermissive
FactsParams9BSize18.0 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get IFM/K2-Horizon-7B
# manifest sha256 4d7626f5f27f… · 18.0 GB · 52 files
$ fw verify ./K2-Horizon-7B IFM/K2-Horizon-7B
From sourceHosted (signed)IFM/K2-Horizon-7BLast check: 2026-11-15 02:35 UTC

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

Works with

Overview

Size
18.0 GB
Weights
18.0 GB (safetensors)
Parameters
9B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
52, each with a sha256
Publisher
IFM
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 02:35 UTCpassed

Model card

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

K2-Horizon-7B#

Training Code - Evaluation Code - All Training Data

K2-Horizon-7B is the medium dense member of the K2-Horizon family: a 7B-core decoder-only model with a 512K context window.

Image: K2-Horizon-7B benchmark results

K2-Horizon-7B Highlights#

  • Strong dense baseline. A 7B-class dense model evaluated across agentic, coding, long-context, and reasoning benchmarks.
  • 512K context. Native 524,288-token context from the midtraining stages onward.
  • Diffusion Adapters. For faster inference (HF).
  • Intermediate checkpoints. Intermediate checkpoints are released so capability changes can be studied across training rather than at a single checkpoint.
  • Fully open. Training data and recipe, training code, and evaluation resources are public.

Benchmark Results#

The chart at the top of this card shows K2-Horizon-7B against selected reference models. The table below lists every comparison model used in the figure.

Full Results#

| | | Reference models · weak to strong

| Benchmark | K2-Horizon-7B | Reference 1 | Reference 2 | Reference 3

| Math

| HMMT Feb 2026

Competition mathematics

| 77.8 | Gemma 4-12B

63.1

| Qwen3.5-9B

65.7

| Granite 4.2-8B

66.5

| Coding

| SWE-bench Verified

Software engineering

| 72.4 | Gemma 4-12B

30.6

| Granite 4.2-8B

47.7

| Qwen3.5-9B

50.8

| Scientific Reasoning

| HLE

Expert-level reasoning

| 19.5 | Granite 4.2-8B

9.7

| Qwen3.5-9B

14.9

| Gemma 4-12B

15.7

| Coding

| SciCode

Scientific coding

| 33.6 | Qwen3.5-9B

27.5

| Mistral Small 4

28.0

| Granite 4.2-8B

30.4

| General

| LCR

Long-context reasoning

| 68.0 | Granite 4.2-8B

43.3

| Gemma 4-12B

61.7

| Qwen3.5-9B

65.3

| Coding

| Terminal-Bench 2.1

Agentic terminal use

| 44.6 | Granite 4.2-8B

18.4

| Gemma 4-12B

27.3

| Qwen3.5-9B

29.2

| Agents

| tau3-Banking

Agentic tool use

| 25.8 | Qwen3.5-9B

7.0

| Granite 4.2-8B

7.6

| Muse Glimmer-30B

24.0

| BrowseComp

Web browsing

| 59.0 | DeepSeek V4 Flash-0423

53.5

| GPT-5

54.9

| LongCat Flash Thinking-2601

56.6

Scores in %. Bold marks the best score in each row. BrowseComp: our model uses the Discard-all@95k context-length protocol proposed in the DeepSeek-V3.2 technical report; comparison models may use different harnesses.

Anti-doom-loop training#

Small reasoning models occasionally fall into degenerate repetition ("doom loops") on long generations and keep generating until they hit the output limit. After post-training, the 3.7B and 7B models receive a short anti-doom-loop stage: Final Token Preference Optimization (FTPO), a LoRA preference update on pairs mined from the model's own looping outputs, merged back into the weights. Runaway generations are almost entirely removed, standard benchmarks stay flat or improve slightly, and the largest gains are on agentic tasks, where a single runaway call can stall a whole episode.

Benchmark3.7B before3.7B after7B before7B after
AIME 202587.089.2 (+2.2)91.990.3 (-1.6)
AIME 202689.590.8 (+1.4)90.190.2 (+0.1)
HMMT Feb 202583.187.5 (+4.4)84.287.7 (+3.5)
HMMT Feb 202669.375.2 (+5.9)73.377.8 (+4.5)
GPQA Diamond65.468.9 (+3.5)77.175.6 (-1.5)
HLE (text)13.814.0 (+0.3)18.619.5 (+0.8)
IFEval (loose)85.283.6 (-1.7)88.786.9 (-1.8)
IFBench (loose)47.347.7 (+0.3)52.050.7 (-1.3)
LiveCodeBench v660.964.5 (+3.6)71.572.7 (+1.2)
OJBench20.521.6 (+1.1)29.029.4 (+0.4)
SciCode21.625.831.633.6 (+2.0)
SWE-bench Verified67.665.6 (-2.0)69.272.4 (+3.2)
Terminal-Bench 2.125.139.7 (+14.6)39.744.6 (+4.9)
BFCL v451.064.6 (+13.7)62.367.0 (+4.6)

Output length. On single-turn benchmarks mean output length falls while the median is essentially unchanged, because what FTPO removes is the runaway tail. For example, IFEval mean tokens drop from 8.7k to 2.3k (3.7B) and 5.2k to 3.2k (7B), and LiveCodeBench drops from 26.8k to 16.8k and 19.9k to 15.6k. The share of samples that hit the output limit falls from up to 4% (HLE) to under 0.3% on most benchmarks.

Settings: accuracy in %, "before" is the post-trained checkpoint the anti-doom stage starts from and "after" is the released checkpoint, both evaluated with identical settings. Output budgets are 500k tokens for AIME, HMMT Feb 2025, IFEval, IFBench, LiveCodeBench and OJBench, and 256k for HMMT Feb 2026, GPQA Diamond and HLE. GPQA Diamond uses top_p=1 and 5 repeats; SciCode uses 3 repeats. SWE-bench Verified (mini-swe-agent) and Terminal-Bench 2.1 (terminus-2, 3 repeats) run at 256k context; BFCL v4 runs at temperature 0.01.

Quickstart#

Serving#

vLLM, recipe at recipes.vllm.ai/IFM:

vllm serve IFM/K2-Horizon-7B \
  --trust-remote-code \
  --dtype bfloat16 \
  --tensor-parallel-size 1 \
  --reasoning-parser k2_horizon \
  --enable-auto-tool-choice \
  --tool-call-parser k2_horizon

Use an exact branch name from the inventory with vLLM's --revision option. For example, --revision pretrain_1100000 selects the final checkpoint of Pretraining, at step 1,100,000.

SGLang, this is the recipe validated in the SGLang K2 Horizon cookbook:

sglang serve \
  --model-path IFM/K2-Horizon-7B \
  --revision 85d46bbaf6ecd844a8ef61991f6e492d4faf4179 \
  --tp 1 \
  --dtype bfloat16 \
  --attention-backend fa3 \
  --reasoning-parser k2_horizon \
  --host 0.0.0.0 \
  --port 30000
API Usage#

Tip. Recommended settings: reasoning_effort="high", temperature=1.0, top_p=0.95, and at least 32,768 output tokens. Reasoning depth is selected per request through chat_template_kwargs. Thinking is returned in reasoning_content and the answer in content.

from openai import OpenAI

client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")
response = client.chat.completions.create(
    model="IFM/K2-Horizon-7B",
    messages=[{"role": "user", "content": "Explain the result step by step."}],
    temperature=1.0,
    top_p=0.95,
    max_tokens=32768,
    extra_body={"chat_template_kwargs": {"reasoning_effort": "high", "tool_call_format": "xml"}},
)
message = response.choices[0].message
print("Reasoning:", getattr(message, "reasoning_content", None))
print("Answer:", message.content)

Our model supports multiple tool-call formats, which can be changed with chat_template_kwargs. The supported values are json, xml, and xml_typed. The default is xml. Keep --tool-call-parser k2_horizon enabled to parse the selected format.

Transformers#

Validated with Transformers 5.15.0, PyTorch 2.13.0, Safetensors 0.8.0.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "IFM/K2-Horizon-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id, device_map="auto", dtype="bfloat16", low_cpu_mem_usage=True, trust_remote_code=True
)

inputs = tokenizer("Explain why long-context evaluation is difficult.", return_tensors="pt").to(model.device)
inputs.pop("token_type_ids", None)
outputs = model.generate(**inputs, max_new_tokens=32768, temperature=1.0, top_p=0.95, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Training Overview#

The table below lists the training stages in order and the purpose of each stage.

Training steps are counted within each stage or phase. Token budgets cover only the additional training in that stage or phase. For example, the 50B tokens listed for SFT Phase 2 are additional to the 219B tokens in Phase 1, bringing the cumulative budget to 269B tokens by the end of Phase 2. Here, B and T denote billion and trillion tokens, respectively.

Each stage or phase continues from the final checkpoint of the preceding stage or phase.

Some stages, such as SFT, have multiple phases with slight changes to the data mix while retaining the same overall purpose. During RL, training branches into multiple expert models, which are then merged, as described below.

Training stageTraining stepsTraining tokensSequence lengthPurpose
Pretraining110000022.9T8KPretraining.
Midtraining — Stage 1550001.1T32KContext extension.
Midtraining — Stage 225000498B128KContext extension.
Midtraining — Stage 35500110B512KContext extension.
Midtraining — Stage 410000199B512KContinued context extension from Stage 3, with the data mix shifted toward agentic and reasoning SFT data.
RL — Math expert239929.1B64KMath RL from Midtraining Stage 4.
RL — Code expert, stage 16016.2B64KCode RL from the Math expert.
RL — Code expert, stage 2149912.3B64KContinued code RL with a broader data mix; this is the expert used in the merge.
RL — Search expert598.4B—Search-agent RL from Midtraining Stage 4; only the exported checkpoint is retained.
RL — Tool-use expert391.4B—Tool-use RL from Midtraining Stage 4; only the exported checkpoint is retained.
RL — Merge———ISO merge on self-attention and shared experts, RAM on the remaining weights; inputs: Midtraining Stage 4 base + Math, Code stage 2, Search, Tool-use experts.
SFT — Phase 110000199B512KSFT for better domain coverage, starting from the merged RL checkpoint.
SFT — Phase 2250050B512KSFT on a high-quality subset of the data used in Phase 1, with learning rate decay.
Anti-doom-loop (FTPO)851.5M6KFinal Token Preference Optimization (FTPO).

Release Artifacts#

The tables below list the release artifacts for K2-Horizon-7B, their availability, and the expected release dates for remaining items.

Last updated: 2026-10-01

Status:

  • Available — fully released for the scope listed;
  • Partial — some items are available, with remaining items listed in the notes;
  • In Progress — being prepared for release but not yet available.
Artifact Index#
ArtifactLinkStatusRemaining items / expected availability
Model cardHugging FaceAvailableN/A
Training logsW&BAvailableN/A
Blog postBlog postAvailableN/A
CheckpointsCheckpoint inventoryAvailableN/A
Technical reportNot yet availableIn ProgressEnd of September 2026
Code repositoryGitHubAvailableN/A
DataHugging FaceAvailableN/A
Checkpoint Inventory#

Model repository: IFM/K2-Horizon-7B

Branch names below refer to this repository. Patterns containing * group branches by training stage or phase. The * is a placeholder for a training-step number, not a literal branch name. Intermediate checkpoint groups exclude the final checkpoint listed separately; a pattern does not imply that a checkpoint is available at every step.

For example, sft_1_10000 is the checkpoint saved at training step 10,000 within SFT Phase 1, and is the final checkpoint of that phase. The numeric suffix is the step within the named stage or phase, not the cumulative step across all training. Thus, sft_2_2500 refers to step 2,500 within SFT Phase 2.

For a partially released group, the available checkpoints and the remaining checkpoints are listed in the notes.

CheckpointBranch / repositoryStatusRemaining items / expected availability
Pretrain Intermediate Checkpointspretrain_*AvailableN/A
Pretrain Final Checkpointpretrain_1100000AvailableN/A
Midtrain Stage 1 Intermediate Checkpointsmid_1_*AvailableN/A
Midtrain Stage 1 Final Checkpointmid_1_55000AvailableN/A
Midtrain Stage 2 Intermediate Checkpointsmid_2_*AvailableN/A
Midtrain Stage 2 Final Checkpointmid_2_25000AvailableN/A
Midtrain Stage 3 Intermediate Checkpointsmid_3_*AvailableN/A
Midtrain Stage 3 Final Checkpointmid_3_5500AvailableN/A
Midtrain Stage 4 Intermediate Checkpointsmid_4_*AvailableN/A
Midtrain Stage 4 Final Checkpointmid_4_10000AvailableN/A
RL Math Expert Checkpointrl_mathAvailableN/A
RL Code1 Expert Checkpointrl_code1AvailableN/A
RL Code2 Expert Checkpointrl_code2AvailableN/A
RL Search Expert Checkpointrl_searchAvailableN/A
RL Tool Use Expert Checkpointrl_tool-useAvailableN/A
RL Merged Final Checkpointrl_mergedAvailableN/A
SFT Phase 1 Intermediate Checkpointssft_1_*AvailableN/A
SFT Phase 1 Final Checkpointsft_1_10000AvailableN/A
SFT Phase 2 Intermediate Checkpointssft_2_*AvailableN/A
SFT Phase 2 Final Checkpointsft_2_2500AvailableN/A
Anti Doom Loop Checkpointanti_doom_loop_verifiedAvailableN/A

Important. Note:

  • Released K2-Horizon Hugging Face checkpoints (e.g. Huggingface) can be used for inference, evaluation, and downstream fine-tuning (including SFT).

Training behavior in the bundled Hugging Face implementation may differ from native xLLM, including the auxiliary load-balancing loss. To continue the original pretraining with xLLM's training behavior, use the native xLLM checkpoint and xLLM runtime.

Best Practices#

  1. Reasoning effort: always high. All reported results use high reasoning effort. Pass {"chat_template_kwargs": {"reasoning_effort": "high"}} on every request; medium and low trade accuracy for speed and are not recommended for evaluation. medium and low effort settings are not recommended except for research on reasoning efforts.
  2. Sampling parameters. temperature=1.0, top_p=0.95.
  3. Output length. Allow at least 32,768 output tokens so reasoning is never cut off. Truncated reasoning is a failed response, not a shorter one.
  4. Serving. Use the validated SGLang recipe above: BF16, TP=1, FlashAttention-3. Full recipes for every K2-Horizon size, with measured H200 latency and throughput, are in the SGLang cookbook.
  5. Parsers. Enable the k2_horizon reasoning parser for chat, and add the k2_horizon tool-call parser for agent use. Leave both off for plain completion-style generation.
  6. Revisions. Pin a revision tag when reproducibility matters. main is the default checkpoint; base_final and the mid_*_final tags identify training stages.

Citation#

@misc{k2horizon2026,
  title  = {Introducing K2 Horizon: Frontier Performance, Radically Open},
  author = {{IFM Team}},
  year   = {2026},
  url    = {https://ifm.ai/blog/k2/},
}

Files

52 files · 18.0 GBWeights 18.0 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 52 files with their sha256
FileSizesha256
.gitattributes1.72 KBc27c99a8dbeb1bd35b04e52566795175c4134f7b52c785f2703567a45b923fc2
README.md28.0 KB04d6abad3e5b56d9e5b3f3b2ce7c869fc21521d9d97e8f424f909e12186a0d36
assets/k2-horizon-7b-benchmarks.png1.17 MB122fcd063255b9a803580e8e9eae997e9ee247948771cd19d2e28e567d17b494
assets/k2-horizon-7b-training-loss-vs-tokens.png482 KBd8163616abc92c80bc0ac891dd2fd922bbf4b824a4f1816dfe87f5094b619fee
chat_template.jinja52.2 KB5008a8535f850190e119cbb64dcf74c9483c8b483e8e3558795d71e1c3e31e10
config.json2.07 KBbf4df2c9253d62a89170038ee73cba1e75173cc50e2b4142458b4f5a95ee268c
configuration_k2_horizon.py3.53 KB5c2f993c1053d9462ebea6dea416c897fddfbb4a5edd904e486936b20d4badc5
generation_config.json124 B44e37cc8fd7b684792b4539dbba77ac4cb0ca5064e204f22d8afde22382a66fd
merge_info.json1.53 KBbfb548e8b3b571057bf03a93cd13e5c50e4950a2fa18d6a778ae434d5d7e7840
migration_manifest.json2.75 KBb59872511c6df8cb83db3b728651c4af243b2ef51f7aac507c5090ad52a026b8
model-00001-of-00036.safetensors386 MB5d96f91119e5737f8cba3c3427a6b185b74f93ec0caadeda21e50b98d6794a22
model-00002-of-00036.safetensors386 MB2458f181524525154f66b11ec85bf0a947aaf2e9e3915e93b99308db9960d3e9
model-00003-of-00036.safetensors386 MB7a2a586b1091f2cd0f0d28a9b765eb266bbe1fc6dea2cbc57b99ad5fb1b6e685
model-00004-of-00036.safetensors386 MB07cac2315a0b9fc08fbcfa6727dde53bfb441bffc2826104cab21f070debc385
model-00005-of-00036.safetensors386 MBb66d72db76e70d92d63ccb1989d5a0a78e1fdb9d390dae21b0e55aa5a35120fb
model-00006-of-00036.safetensors386 MB2d21fcfc025cda62d8836197ad752b4d4da83346013c5ce30d086bb46d7c3a28
model-00007-of-00036.safetensors386 MB02e5fcde4658c3489e31c2358e3e5220a303cd77c64596c1709c733a72a84ca0
model-00008-of-00036.safetensors386 MBfb0868937abdff298a0f925b4a5437322ab9ef10fb4c59a1e3414244ca98d846
model-00009-of-00036.safetensors386 MBf6b66597140f298394776780711d7d3947dd55b5474c668ba94c7af0baedf248
model-00010-of-00036.safetensors386 MBe54be8a2b6215a51405e22626d9bac172d3135823cbd43e896cf7741fd187340
model-00011-of-00036.safetensors386 MB034bd54c65ad065a19858ca763789a149b9b44881b177eb71b4accb96d902dc1
model-00012-of-00036.safetensors386 MBb6098092a6e4c226f04ae8ba63a15eaf3b650974fef94a2f8e98dfb37d434b5a
model-00013-of-00036.safetensors386 MB89a58e59d0daffaf8de3b4a12d3adf0c16cdc0dff26519391287d52e4353e5f2
model-00014-of-00036.safetensors386 MB6cf24118e43cc526565fd630974b3e8fe31754064543fdf4cc361fd7b1b2a827
model-00015-of-00036.safetensors386 MBeeb3bf7fed5fb01fd7eac5633748d2a0a125836a7092443b0ef0ad0d50f88394
model-00016-of-00036.safetensors386 MBde4b015d3686ff50a185f058a9d78d244488b8e576c033d7e5ab4bc831c22bd6
model-00017-of-00036.safetensors386 MBde5f84b9a62bf08e51fd9e16df7ce2cdb2d094c21c94838ae9002665da79f229
model-00018-of-00036.safetensors386 MB7c91a1521d0346d9be5b3507eedc97eaff5afcc21e891c7efb3474c296383de8
model-00019-of-00036.safetensors386 MBe0257297641f1b9f2a3e269e1d43ea3dc129c348c19d1994fb886cc9e478fd72
model-00020-of-00036.safetensors386 MB02e2dd4f8929b6565a21d008b29b2289648db702e28de5ff2d9bbe8d239d501d
model-00021-of-00036.safetensors386 MB3c6f2207393c4a05d89109c53be0a9b64506c0b87be51e64145c02c5975f212a
model-00022-of-00036.safetensors386 MB935498eeb465cc58d40bc71c25fb6f81b53f9889b34beb015e3517270108148f
model-00023-of-00036.safetensors386 MBd9899d4df6bda2e77cee44b3ff95ded1e7c81acbfa33d70e1c32b2172c1ad71a
model-00024-of-00036.safetensors386 MB69ee3636f6e5807d65f2f440b78035dabc07fe8c110eefa5e49942a51c89b14f
model-00025-of-00036.safetensors386 MBe8110786d819481d6cd89e166975740d2546e378fcf6fb5e853ccbd42c376045
model-00026-of-00036.safetensors386 MBd73dc0ab9f907df5bb2bcaca6f9a5c5ebade1878c6c0a4d0180349b528db6b90
model-00027-of-00036.safetensors386 MB8779935482a712f29bffb4827fc660b99ac129001587bdd3f2939ca9829930e1
model-00028-of-00036.safetensors386 MB9bb674aaf94a1e1aad09eeccb185372e5349779456e4edae92320856e65f72cf
model-00029-of-00036.safetensors386 MB6e6343d46428b1de2bb668d8eb477f5ed9d97d18d31fd40412d573e8b2c73b4a
model-00030-of-00036.safetensors386 MB1f1b4e2e12ea30e1400777ae7841ea99e70ee9cfe8a9c6d3f0cc702a66489734
model-00031-of-00036.safetensors386 MB03d49b3cc0f5030e912192806bc1d2515c78ea7ba9287456d9f2cc97384579b6
model-00032-of-00036.safetensors386 MB9930ae409f30afc50c379c8f5e7a248c32351940450190f0834767f37d561776
model-00033-of-00036.safetensors386 MB0ec1cb6ada0fc19ba7663adbcbd50ace530ce7dc75dd6cb9a5fc04180faa113a
model-00034-of-00036.safetensors386 MBae567af81426c0fbafdf699b7512e26816730fd5c4678eef80e8e72675c0c5dd
model-00035-of-00036.safetensors386 MB0cca5a64eb73a966b0d182f2a7be89a123587324a99424475dd6aee089250003
model-00036-of-00036.safetensors4.49 GBa92d22dc3d4fadea572cfcfb12736d460b7b2509beb93ef574e02b20c8d23019
model.safetensors.index.json27.0 KB099497bf066632d64a2535733c790909b342109059f8af87dbed09a920b3f87a
modeling_k2_horizon.py49.6 KB4519edbdc235567bc18af415bee1e492f1a06d9f7ea0050cda94e7a46ec13217
special_tokens_map.json343 B28e7c4bf57aae43c4b5e59b2f19f612992575c6d1f60aaf346dea64ee8c6f745
tokenizer.json20.6 MB838d767b7c9925ff257feb20eaa4299a8e3cc35bb3d805589c373f51d2cc3cb6
tokenizer_config.json120 KBaf00f3448e0e734f3538e2de5d0a47a4ccfd571449ac925c1948611909ca6d45
validation.json423 Ba085769dfe0676a19f2d8b81ea990f42000f73d65fa554d12816b17fc823c835
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
1ad5223c80 pinned now2026-11-15 02:35 UTC52 files · 18.0 GB

Use it

$ fw get IFM/K2-Horizon-7B
# manifest sha256 4d7626f5f27f… · 18.0 GB · 52 files
$ fw verify ./K2-Horizon-7B IFM/K2-Horizon-7B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/IFM/K2-Horizon-7B.json --dir ./K2-Horizon-7B $ python3 fw.py verify ./K2-Horizon-7B ./IFM__K2-Horizon-7B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download IFM/K2-Horizon-7B --revision 1ad5223c80f635ede5fb926f6304dc7228246a4b --local-dir ./K2-Horizon-7B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("IFM/K2-Horizon-7B", revision="1ad5223c80f635ede5fb926f6304dc7228246a4b") model = AutoModelForCausalLM.from_pretrained("IFM/K2-Horizon-7B", revision="1ad5223c80f635ede5fb926f6304dc7228246a4b", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve IFM/K2-Horizon-7B --revision 1ad5223c80f635ede5fb926f6304dc7228246a4b

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
README.md
Text sha256
04d6abad3e5b56d9e5b3f3b2ce7c869fc21521d9d97e8f424f909e12186a0d36
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: IFM <huggingface.co/IFM>Newsgroups: alt.freeweights.textSubject: K2-Horizon-7BDate: 2026-11-15Commit: 1ad5223Signed: 2DC28CC7B26A283B ✓
Upstream
IFM/K2-Horizon-7B
Pinned commit
1ad5223c80f635ede5fb926f6304dc7228246a4b
Manifest
K2-Horizon-7B.json · .minisig
Manifest sha256
4d7626f5f27fa6143ae1c9d874c47090ec7b084913a059be8255e0e49c7f2aeb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:35 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/IFM/K2-Horizon-7B.json $ curl -O https://freeweights.allternit.com/manifests/IFM/K2-Horizon-7B.json.minisig $ minisign -Vm K2-Horizon-7B.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

3 models in the catalog name this one as their parent.

Quantizations
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download IFM/K2-Horizon-7B
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. K2-Horizon-7B.json. Provenance. Takedown history: none.

Variants

3 quantized or adapter builds of K2-Horizon-7B. Each has its own license check and page.

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