haoranli-ml/Llama-3-8B-HardClip-64k-Instruct

TEXT GENERATIONPricing:Input $0.37 / Cached $0.074 / Output $0.38Concurrent Unit Cost:1Model Size:8BQuant:FP8Context Size:8kTool Calling:SupportedPublished:Jan 8, 2026Architecture:Transformer Featherless Exclusive Cold

haoranli-ml/Llama-3-8B-HardClip-64k-Instruct is an 8 billion parameter Llama-3 based instruction-tuned model developed by Haoran Li, Sucheng Ren, Alan Yuille, and Feng Wang. It integrates CoPE (Clipped RoPE), a plug-and-play enhancement that softly clips unstable low-frequency components in RoPE. This modification aims to improve performance both within the training context and during long-context extrapolation, making it suitable for applications requiring robust long-context understanding.

Loading preview...

haoranli-ml/Llama-3-8B-HardClip-64k-Instruct Overview

This model is an 8 billion parameter Llama-3 based instruction-tuned model that incorporates CoPE (Clipped RoPE), a novel enhancement to the standard RoPE positional encoding. CoPE is designed as a plug-and-play solution to improve the stability and performance of large language models, particularly in long-context scenarios.

Key Capabilities and Innovations

CoPE addresses several limitations of traditional RoPE by employing a soft clipping strategy for unstable low-frequency components. This approach offers multiple benefits:

  • Eliminates Out-of-Distribution (OOD) Outliers: It targets and removes severe OOD outliers whose periods exceed the pre-training context window, which are a primary cause of extrapolation issues.
  • Refines Long-range Semantic Signals: CoPE alleviates the long-term decay of semantic attention that can be introduced by RoPE, thereby improving the model's ability to capture long-range dependencies.
  • Prevents Spectral Leakage: The soft clipping prevents spectral leakage caused by hard frequency truncation, which can lead to oscillatory ringing in attention scores and spurious correlations across relative token distances.

For a deeper understanding of the training methodology and evaluation results, users are encouraged to refer to the official CoPE GitHub repository and the associated research paper.

When to Use This Model

This model is particularly well-suited for applications where robust performance in long-context scenarios is critical. Its CoPE integration makes it a strong candidate for tasks requiring stable and accurate processing of extended input sequences, mitigating common issues associated with context window extrapolation in other models.