Introducing Llama 2 - Meta's Next-Generation Commercially Viable Open-Source AI & LLM (paper from 18.07.2023)

cross-posted from: lemmy.world/post/1750098

Introducing Llama 2 - Meta’s Next Generation Free Open-Source Artificially Intelligent Large Language Model

Llama 2

It’s incredible it’s already here! This is great news for everyone in free open-source artificial intelligence.

Llama 2 unleashes Meta’s (previously) closed model (Llama) to become free open-source AI, accelerating access and development for large language models (LLMs).

This marks a significant step in machine learning and deep learning technologies. With this move, a widely supported LLM can become a viable choice for businesses, developers, and entrepreneurs to innovate our future using a model that the community has been eagerly awaiting since its initial leak earlier this year.

Here are some highlights from the official Meta AI announcement:

Llama 2

In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases.

Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closedsource models. We provide a detailed description of our approach to fine-tuning and safety improvements of Llama 2-Chat in order to enable the community to build on our work and contribute to the responsible development of LLMs.

Llama 2 pretrained models are trained on 2 trillion tokens, and have double the context length than Llama 1. Its fine-tuned models have been trained on over 1 million human annotations.

Inside the Model

With each model download you’ll receive:

  • Model code
  • Model Weights
  • README (User Guide)
  • Responsible Use Guide
  • License
  • Acceptable Use Policy
  • Model Card

Benchmarks

Llama 2 outperforms other open source language models on many external benchmarks, including reasoning, coding, proficiency, and knowledge tests. It was pretrained on publicly available online data sources. The fine-tuned model, Llama-2-chat, leverages publicly available instruction datasets and over 1 million human annotations.

https://lemmy.world/pictrs/image/6ea0eaf2-2bd1-44b3-ae9e-7e5868283f51.png

RLHF & Training

Llama-2-chat uses reinforcement learning from human feedback to ensure safety and helpfulness. Training Llama-2-chat: Llama 2 is pretrained using publicly available online data. An initial version of Llama-2-chat is then created through the use of supervised fine-tuning. Next, Llama-2-chat is iteratively refined using Reinforcement Learning from Human Feedback (RLHF), which includes rejection sampling and proximal policy optimization (PPO).

https://lemmy.world/pictrs/image/3a0c7364-8733-4404-b1cd-313e617dc604.png

The License

Our model and weights are licensed for both researchers and commercial entities, upholding the principles of openness. Our mission is to empower individuals, and industry through this opportunity, while fostering an environment of discovery and ethical AI advancements.

Partnerships

We have a broad range of supporters around the world who believe in our open approach to today’s AI — companies that have given early feedback and are excited to build with Llama 2, cloud providers that will include the model as part of their offering to customers, researchers committed to doing research with the model, and people across tech, academia, and policy who see the benefits of Llama and an open platform as we do.

The/CUT

With the release of Llama 2, Meta has opened up new possibilities for the development and application of large language models. This free open-source AI not only accelerates access but also allows for greater innovation in the field.

Take Three:

  • Video Game Analogy: Just like getting a powerful, rare (or previously banned) item drop in a game, Llama 2’s release gives developers a powerful tool they can use and customize for their unique quests in the world of AI.
  • Cooking Analogy: Imagine if a world-class chef decided to share their secret recipe with everyone. That’s Llama 2, a secret recipe now open for all to use, adapt, and improve upon in the kitchen of AI development.
  • Construction Analogy: Llama 2 is like a top-grade construction tool now available to all builders. It opens up new possibilities for constructing advanced AI structures that were previously hard to achieve.

Links

Here are the key resources discussed in this post:

Want to get started with free open-source artificial intelligence, but don’t know where to begin?

Try starting here:

If you found anything else about this post interesting - consider subscribing to !fosai where I do my best to keep you in the know about the most important updates in free open-source artificial intelligence.

This particular announcement is exciting to me because it may popularize open-source principles and practices for other enterprises and corporations to follow.

We should see some interesting models emerge out of Llama 2. I for one am looking forward to seeing where this will take us next. Get ready for another wave of innovation! This one is going to be big.

ArkyonVeil,
@ArkyonVeil@lemmy.dbzer0.com avatar

Now that LLAMA 2 is out here, it will be interesting to see the next checkpoints that crop up. The original LLAMA was very lackluster until the community started to retrain it into new forms, like WizardLM, Vicuna, Guanaco, etc, so it will be curious to see how it compares.

As for “Ethics” it’s been proven that it can be drilled out of a model. If it can be done without too much of its brains spilling out onto the floor is another question entirely.

Lenguador,
Lenguador avatar

From the paper:

We do not include any examples where the chosen response was unsafe and the other response safe, as we believe safer responses will also be better/preferred by humans.

The paper focuses pretty strongly on safety, to the point where they explicitly throw away human evaluations if the humans don't also value safety above all else. I wonder if they compared the model with/without those responses.

triprotic,

Awesome! Can’t wait to see how this helps the community. I’ve been messing around with various local Llama models so it will be interesting to see how much of an improvement this one it.

simple,

Hopefully now we can get some legitimately good open source models! Falcon was decent but it was still far away from what modern LLMs are capable of. Exciting times.

Double_A,
@Double_A@discuss.tchncs.de avatar

I wish there was some developper mode or something, where you can disable those “ethical guidelines” or whatever. It is just incredibly annoying to randomly get “As an AI platform something, I cannot…”

db0,
@db0@lemmy.dbzer0.com avatar

If people can bypass those stuff on ChatGPT, there’s certainly jailbreaks one can use against to this

Martineski,

Please add the date of the source to the tile as per our rule 6. Copy this:

(paper from 18.07.2023)

Thank you.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • singularity@lemmy.fmhy.ml
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • khanakhh
  • magazineikmin
  • anitta
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • megavids
  • JUstTest
  • All magazines