Skip to content

Programming-from-A-to-Z/llama-chatbot-replicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicate

Replicate is a platform for running machine learning models in the cloud from your own code. Browse models.

For detailed usage, setup, and more, here is the official Replicate Documentation for Node.js.

Prompt Formatting and System Prompts

When prompting Llama, user inputs are wrapped with [INST] and [/INST] tags to signal the beginning and end of user input. This formatting helps Llama distinguish between its responses and user messages.

System prompts are used to guide or constrain the model's behavior.

For more tips and a comprehensive guide on how to prompt Llama, read this guide to prompting Llama 2.

About

Example Chatbot with Llama Model Hosted on Replicate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published