{"adoption": {"forks": 132, "observed_at": "2026-08-28T04:05:34.672238+00:00", "stars": 1777}, "canonical_url": "https://ross.abutalabs.com/products/jquesnelle-yarn", "card": {"archived": false, "artifact_type": "library", "description": "YaRN: Efficient Context Window Extension of Large Language Models", "domain": ["large-language-models", "deep-learning", "machine-learning"], "enriched": true, "function": ["llm-training", "machine-learning", "deep-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["jquesnelle/yarn"], "name": "jquesnelle/yarn", "platform": ["python"], "pushed_at": "2024-04-17T18:29:36+00:00", "repo": "jquesnelle/yarn", "stars": 1777, "tags": ["context-window-extension", "yarn", "llama", "mistral", "positional-encoding", "fine-tuning", "research-paper", "long-context", "gpu", "linux"], "topics": [], "urls": [], "use_cases": ["extend the context window of a llama model to 128k tokens", "fine-tune mistral 7b for long context", "reproduce the yarn paper results", "train a model with rope scaling for long sequences", "download long-context llama 2 checkpoints", "apply yarn context extension to my own llm"], "what_it_is": "Reference implementation of YaRN, an efficient method for extending the context window of large language models, published as an ICLR 2024 paper. It includes training code, data, and fine-tuned Llama 2, Mistral, and SOLAR model variants with 32K-128K context windows on Hugging Face.", "when_to_avoid": ["you need a maintained production training framework rather than a research repo", "you use models other than Llama/Mistral/SOLAR without porting the method", "you need closed-context or non-transformer architectures"], "when_to_choose": ["you need to extend a transformer LLM's context window efficiently", "you want ready-made long-context Llama 2 or Mistral checkpoints", "you want to reproduce or build on the YaRN research"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/jquesnelle-yarn", "repo": "jquesnelle/yarn", "role": "main", "score": 29}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:34.672238+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:25:13.172998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "08b886bc66ad559a5ef7eb5f0446c617999eb6a64deef7a6a6242564706dc482", "fetched_at": "2026-08-28T04:05:34.672238+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jquesnelle/yarn"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 83, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1164, "days_push": 868, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 29, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}