Sapling Logo

Llama 2 vs. OPT

LLM Comparison


Llama 2

Llama 2

Overview

Llama 2 is Meta AI's open source LLM available for both research and commercial use cases (assuming you're not one of the top consumer companies in the world).


The successor to LLaMA (henceforce "Llama 1"), Llama 2 was trained on 40% more data, has double the context length, and was tuned on a large dataset of human preferences (over 1 million such annotations) to ensure helpfulness and safety. It outperforms other open source models on both natural language understanding datasets as well as in head-to-head face-offs.


Initial release: 2023-07-18

OPT

OPT

Overview

Open Pre-trained Transformer Language Models (OPT) is part of the family of open source models designed to replicate GPT-3, with similar decoder-only architecture. It has since been superseded by models such as LLaMA, GPT-J, and Pythia.



Initial release: 2022-05-03

Further Reading

Looking for an LLM API/SDK that works out of the box? No prompts or ad hoc guardrails.

Sapling API
More Comparisons

Llama 2

OPT

Products & Features
Instruct Models
Coding Capability
Customization
Finetuning
Open Source
License Custom (Commercial OK) NA
Model Sizes 7B, 13B, 70B 1.3B, 2.7B, 6.7B, 13B, 30B, 66B, 175B