news.volyx.in

OpenLLaMA: An Open Reproduction of LLaMA (github.com)

484 points by sadiq · 1215 days ago · 180 comments on HN

Article summary

The OpenLLaMA project has released a permissively licensed open source reproduction of Meta AI's LLaMA large language model, trained on different data mixtures. The models are available in various sizes, including 3B, 7B, and 13B parameters. The project aims to provide a drop-in replacement for the original LLaMA models, with comparable performance. The models can be used with the Hugging Face transformers library or the EasyLM framework.

Main themes

  • Open source LLaMA reproduction
  • Large language models
  • Memory bandwidth limitations
  • Cloud hardware and GPU acceleration
  • Model compression and quantization
  • ML distillation and model pruning
  • Consumer hardware capabilities

What commenters say

  • Some commenters are interested in training larger models, such as the 30B or 65B parameter LLaMA models, and discuss the feasibility of running these models on consumer hardware.
  • Others argue that smaller models, like the 7B model, have an upper performance bound that is easily beaten by larger well-trained models.
  • There is a discussion about the memory bandwidth limitations of running large language models on desktop CPUs, and how this limits the number of threads that can be used.
  • Some commenters suggest that using multiple GPUs or renting cloud hardware, such as A100s, could improve performance.
  • The use of quantized weights and compression techniques is mentioned as a way to run larger models on consumer hardware with minimal loss of information.
  • There is a debate about whether smaller models, like the 3B model, will be more useful than larger models, like the flan models.
  • Some commenters mention the importance of memory bandwidth and the limitations of desktop hardware in running large language models.
  • The field of ML distillation is mentioned as a way to make large pre-trained models smaller by cutting out least activated neurons and training them to minimize performance loss.