SPHINX (Llama 2 13B)
by Shanghai AI Lab (InternLM) · Nov 13, 2023
SPHINX (Llama 2 13B) is an open-weight chat llm from Shanghai AI Lab (InternLM), released Nov 13, 2023. It has 20B parameters and accepts text, image input.
- Provider
- Shanghai AI Lab (InternLM)
- Released
- Nov 13, 2023
- Type
- Chat LLM
- Parameters
- 20B
- Context window
- —
- Max output
- —
- Input
- text, image
- Output
- text
- Weights
- Open weights
- License
- Open (restricted)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 3.0e+22 FLOP
About SPHINX (Llama 2 13B)
We present SPHINX, a versatile multi-modal large language model (MLLM) with a joint mixing of model weights, tuning tasks, and visual embeddings. First, for stronger vision-language alignment, we unfreeze the large language model (LLM) during pre-training, and introduce a weight mix strategy between LLMs trained by real-world and synthetic data. By directly integrating the weights from two domains, the mixed LLM can efficiently incorporate diverse semantics with favorable robustness.
How to run SPHINX (Llama 2 13B)
SPHINX (Llama 2 13B) is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 20B parameters it needs roughly 12 GB of memory at 4-bit quantization.
SPHINX (Llama 2 13B) vs alternatives
- SPHINX (Llama 2 13B) vs Qwen-14B
- SPHINX (Llama 2 13B) vs Llama 2-13B
- SPHINX (Llama 2 13B) vs tiny-random-LlamaForCausalLM
- SPHINX (Llama 2 13B) vs pythia-70m-seed1
- SPHINX (Llama 2 13B) vs Flan UL2
- SPHINX (Llama 2 13B) vs pythia-70m-seed2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen-14Bopen | Alibaba (Qwen) | Sep 2023 | 14B | — | — | — | 101.8 |
| Llama 2-13Bopen | Meta | Jul 2023 | 13B | — | — | — | 96.5 |
| tiny-random-LlamaForCausalLMopen | Hugging Face | Apr 2023 | — | — | — | — | — |
| pythia-70m-seed1open | EleutherAI | Nov 2023 | — | — | — | — | — |
| Flan UL2open | Google DeepMind | Mar 2023 | 20B | — | — | — | — |
| pythia-70m-seed2open | EleutherAI | Nov 2023 | — | — | — | — | — |
| BioGPT-Largeopen | Microsoft | Feb 2023 | — | — | — | — | — |
| BioGPT-Large-PubMedQAopen | Microsoft | Feb 2023 | — | — | — | — | — |
More models from Shanghai AI Lab (InternLM)
All Shanghai AI Lab (InternLM) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Intern-S1-Proopen | Feb 2026 | 917B | — | — | — |
| internlm3-8b-instructopen | Jan 2025 | 8.8B | — | — | — |
| Intern-Decision-4Bopen | Sep 2026 | 4.5B | — | — | — |
| Intern-S1open | Jul 2025 | 241B | — | — | — |
| Intern-Decision-0.8Bopen | Sep 2026 | 853M | — | — | — |
| Intern-S1-miniopen | Aug 2025 | 8.5B | — | — | — |
| Intern-S2-Previewopen | May 2026 | 36B | — | — | — |
| internlm2-chat-7bopen | Jan 2024 | 7.7B | — | — | — |
Frequently asked questions
Who made SPHINX (Llama 2 13B)?
SPHINX (Llama 2 13B) was developed by Shanghai AI Lab (InternLM) (China,Hong Kong,China). It was released on Nov 13, 2023.
Is SPHINX (Llama 2 13B) open source?
Yes. SPHINX (Llama 2 13B)'s weights are publicly available, so you can download and run it yourself.
How many parameters does SPHINX (Llama 2 13B) have?
SPHINX (Llama 2 13B) has 20B parameters.
Sources: epoch · paper. Last updated 2026-11-22.