LongAlign 13B 64K by THUDM

 »  All LLMs  »  THUDM  »  LongAlign 13B 64K   URL Share it on

LongAlign 13B 64K is an open-source language model by THUDM. Features: 13b LLM, VRAM: 26GB, Context: 64K, License: apache-2.0, LLM Explorer Score: 0.11.

  Arxiv:2401.18058   Autotrain compatible   Dataset:thudm/longalign-10k   En   Endpoints compatible   Llama   Long context   Pytorch   Region:us   Zh

LongAlign 13B 64K Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

LongAlign 13B 64K Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
research
Applications:
text generation
Primary Use Cases:
instruction-following capability evaluation on queries of 10k-100k length
Additional Notes 
LongAlign is the first full recipe for LLM alignment on long context. The model is open-sourced and can be used in various text generation tasks.
Supported Languages 
en (High Proficiency), zh (High Proficiency)
Training Details 
Data Sources:
THUDM/LongAlign-10k
Data Volume:
10,000 long instruction data of 8k-64k length
Methodology:
packing with loss weighting and sorted batching
Context Length:
64000
Input Output 
Input Format:
[INST] <user_query> [/INST]
Accepted Modalities:
text
Output Format:
text
LLM NameLongAlign 13B 64K
Repository 🤗https://huggingface.co/THUDM/LongAlign-13B-64k 
Model Size13b
Required VRAM26 GB
Updated2025-07-27
MaintainerTHUDM
Model Typellama
Model Files  26.0 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 Typebfloat16

Quantized Models of the LongAlign 13B 64K

Model
Likes
Downloads
VRAM
LongAlign 13B 64K GGUF38574 GB
LongAlign 13B 64K AWQ2237 GB
LongAlign 13B 64K GPTQ177 GB

Best Alternatives to LongAlign 13B 64K

Best Alternatives
Context / RAM
Downloads
Likes
Yarn Llama 2 13B 128K128K / 26 GB1657113
Luminaura RP 13B128K / 26 GB151
Agent Llama2 13B 80K80K / 26.4 GB50
Chat Llama2 13B 80K80K / 52.8 GB110
LongAlign 13B 64K64K / 26 GB5313
LongAlign 13B 64K Base64K / 26 GB413
LongAlign 13B 64K Base64K / 26 GB63
Openbuddy Llama2 13B V15p1 64K64K / 26.1 GB74
Yarn Llama 2 13B 64K64K / 26 GB186518
Openbuddy Llama2 13b64k V1564K / 26.1 GB102
Note: green Score (e.g. "73.2") means that the model is better than THUDM/LongAlign-13B-64k.

Rank the LongAlign 13B 64K 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? 53972 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a