self-long/SelfLong-Llama3.1-8B-Instruct-1M

TEXT GENERATIONPricing:Input $0.2 / Cached $0.028 / Output $0.32Concurrent Unit Cost:1Model Size:8BQuant:FP8Context Size:32kTool Calling:SupportedPublished:Mar 17, 2025License:mitArchitecture:Transformer0.0K Open Weights Featherless Exclusive Cold

SelfLong-Llama3.1-8B-Instruct-1M is an 8 billion parameter instruction-tuned large language model developed by Wang et al., initialized from the Llama-3.1 architecture. It is specifically designed to handle extremely long contexts, supporting up to 1 million tokens. This model excels in long-context understanding and processing, demonstrating strong performance on the RULER-1M benchmark across various support lengths. Its primary use case is applications requiring deep comprehension and generation over very extensive textual inputs.

Loading preview...

Overview of SelfLong-Llama3.1-8B-Instruct-1M

SelfLong-Llama3.1-8B-Instruct-1M is an 8 billion parameter instruction-tuned model, part of the SelfLong series, developed by Wang et al. and detailed in their paper "Bootstrap Your Own Context Length." This model is built upon the Llama-3.1 architecture and is specifically engineered for processing exceptionally long contexts, extending up to 1 million tokens.

Key Capabilities & Performance

  • Extreme Long Context Handling: Designed to manage and understand contexts up to 1 million tokens, significantly surpassing typical LLM context windows.
  • Strong RULER-1M Performance: Achieves competitive results on the RULER-1M benchmark, which evaluates long-context understanding across various support lengths. For instance, it scores 82.0 at 128k support length and 69.6 at 1M support length, outperforming other models like gradientai/Llama-3-8B-Instruct-Gradient-1048k at longer contexts.
  • Llama-3.1 Foundation: Benefits from the robust base architecture of Llama-3.1, providing a strong foundation for its instruction-following capabilities.

Ideal Use Cases

  • Document Analysis: Excellent for tasks requiring analysis, summarization, or question-answering over very large documents, books, or codebases.
  • Long-form Content Generation: Suitable for generating extensive narratives, reports, or detailed technical documentation where maintaining coherence over long stretches is crucial.
  • Complex Reasoning: Can be applied to problems that necessitate integrating information from vast amounts of text to derive conclusions or solutions.