#108 · Primary category: Foundation Models
long_llama
LongLLaMA is a large language model capable of handling long contexts. It is based on OpenLLaMA and fine-tuned with the Focused Transformer (FoT) method.
Project last updated:11/07/23
GitHub Stars
1.5K
Forks
84
Contributors
3
License
Apache-2.0
Why we included this project
LongLLaMA is built on OpenLLaMA and trained with the Focused Transformer method, which stretches usable context length well beyond the usual few-thousand-token window. The repo ships a base 3B model, an instruct-tuned 3B, and code-focused 7B checkpoints on Hugging Face, plus the training code for continued pretraining and instruction fine-tuning, so it works both as a ready-to-load model and as a reference for reproducing context-scaling techniques. That combination matters if you work with long documents, want to summarize or reason over large text, or have code that references big codebases, since the provided Colab notebooks and inference paths give you a practical starting point without much setup.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities