Get a weekly rundown of the latest AI models and research... subscribe!

Llama 2 13b


AI model preview image
Llama 2-13B is a 13 billion parameter language model. The model generates text from a provided input prompt. Specific parameters like 'top_k', 'top_p', 'temperature', 'max_new_tokens', and 'min_new_tokens' control aspects such as the number of alternatives considered, the diversity of possible result phrases or words, the length of the generated text, and more. The output is a continuous piece of composition or conversation, suggesting a continuation of the input prompt text.

Use cases

The Llama 2 13B AI model, with its 13 billion parameters as described by the creator, is a language model designed to generate text based on a given prompt. Given its expansive parameter set, it can potentially be utilized across a diverse array of applications requiring text generation. Its primary use could be in creative writing tasks such as story generation, where the AI could create complex narratives based on provided plot elements or outlines. This could extend to the development of interactive storytelling systems or applications aiming to assist authors with plot generation. In addition, it could be used to produce unique and dynamic dialogues in video games, thereby enhancing the player's immersive experience. Product descriptions, promotional content, or personalized messages for marketing campaigns could also be generated effectively using this model. Additionally, given the model's potential ability to narrate scenarios or events, it may find application in virtual learning environments to provide more engaging and contextually descriptive content. For example, the model could be used to generate narratives around historical events or scientific concepts, making the learning process more enjoyable and memorable for students. Furthermore, with appropriate training and oversight, one could potentially use this AI model for generating journalistic reports, news articles or even short scripts for short films or digital content. However, the quality and reliability of such applications would depend greatly on the training data and the fine-tuning of the AI model. Finally, a chatbot using this AI model could provide more natural and advanced responses, improving user engagement in customer support, mental health support applications, or social media management tools. However, the model's direct use in such sensitive areas would require careful oversight and regulation to avoid any potential misuse or misinterpretation of the generated content.


Cost per run
Avg run time

Creator Models

Codellama 13b Python$?3,775
Llama 2 70b$?157,701
Codellama 70b Instruct$?13,091
Codellama 34b$?9,519

Similar Models

No similar models found

Try it!

You can use this area to play around with demo applications that incorporate the Llama 2 13b model. These demos are maintained and hosted externally by third-party creators. If you see an error, message me on Twitter.

Currently, there are no demos available for this model.


Summary of this model and related resources.

Model NameLlama 2 13b
Base version of Llama 2 13B, a 13 billion parameter language model
Model LinkView on Replicate
API SpecView on Replicate
Github LinkView on Github
Paper LinkView on Arxiv


How popular is this model, by number of runs? How popular is the creator, by the sum of all their runs?

Model Rank
Creator Rank


How much does it cost to run this model? How long, on average, does it take to complete a run?

Cost per Run$-
Prediction Hardware-
Average Completion Time-