LongAlign 7B 64K Base by THUDM

 ยป  All LLMs  ยป  THUDM  ยป  LongAlign 7B 64K Base   URL Share it on

  Arxiv:2401.18058   Autotrain compatible   En   Endpoints compatible   Llama   Long context   Pytorch   Region:us   Zh

LongAlign 7B 64K Base Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
LongAlign 7B 64K Base (THUDM/LongAlign-7B-64k-base)
๐ŸŒŸ Advertise your project ๐Ÿš€

LongAlign 7B 64K Base Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
research, commercial applications
Applications:
chat models, long context processing
Primary Use Cases:
general chat, long-form content understanding
Limitations:
context length exceeding 64k tokens may not be supported
Additional Notes 
The model is particularly fine-tuned for handling long contexts efficiently.
Supported Languages 
en (proficient), zh (proficient)
Training Details 
Data Sources:
LongAlign-10k dataset
Data Volume:
10,000 long instruction data
Methodology:
packing with loss weighting and sorted batching
Context Length:
64000
Model Architecture:
Llama-2-based
Input Output 
Input Format:
[INST]...[/INST] format for instructions.
Accepted Modalities:
text
Output Format:
text with responses
LLM NameLongAlign 7B 64K Base
Repository ๐Ÿค—https://huggingface.co/THUDM/LongAlign-7B-64k-base 
Model Size7b
Required VRAM13.5 GB
Updated2025-07-27
MaintainerTHUDM
Model Typellama
Model Files  13.5 GB
Supported Languagesen zh
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length65536
Model Max Length65536
Transformers Version4.33.0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32256
Torch Data Typefloat16

Best Alternatives to LongAlign 7B 64K Base

Best Alternatives
Context / RAM
Downloads
Likes
A6 L1024K / 16.1 GB2010
A3.41024K / 16.1 GB130
A5.41024K / 16.1 GB120
A2.41024K / 16.1 GB120
M1024K / 16.1 GB1270
1571024K / 16.1 GB1010
1241024K / 16.1 GB930
1621024K / 16.1 GB600
2 Very Sci Fi1024K / 16.1 GB3170
1181024K / 16.1 GB150
Note: green Score (e.g. "73.2") means that the model is better than THUDM/LongAlign-7B-64k-base.

Rank the LongAlign 7B 64K Base Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 51547 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124