Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Extending the context window of transformers v1.0.0

Use this resource to extend the context window of a transformer model

New

  • 426 downloads
  • 103 likes
  • 122 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install transformer-long-context-extension

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent picks an extension method (RoPE, YaRN, ALiBi, position interpolation) for your model and target length, then writes the matching attention or configuration code. You get a configuration and the checks to run after extension.

Mostly picked by

Updated November 2, 2026

Card for the “Extending the context window of transformers” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: use cases, installation and quick start
  • references/rope.md: rotary embeddings and how to extend them
  • references/extension_methods.md and references/fine_tuning.md: extension methods and fine-tuning

Good fit for

  • You want an open model to read documents longer than 32,000 tokens
  • A pretrained model must handle inputs longer than it was trained for

Not for

    Tags

    • long context
    • rope
    • yarn
    • transformers

    About

    You say

    “Extend this Llama model's context window from 8,000 to 64,000 tokens with YaRN.”

    Card for the “Extending the context window of transformers” skill

    Skill published by davila7 under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to extend the context window of a transformer model
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/extension_methods.md14.7 KB
    • references/fine_tuning.md16.6 KB
    • references/rope.md12.2 KB
    • SKILL.md15.8 KB

    Origin and licence

    Listed unmodified

    Author
    davila7
    Source
    github.com/davila7/claude-code-templates/tree/f57964ebda91cdfb31755661ecea9395f30020f1/cli-tool/components/skills/ai-research/emerging-techniques-long-context
    Licence
    MIT

    Notice

    « emerging-techniques-long-context » (davila7, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.