This repository contains a Streamlit application that allows users to interact with the Llama 2-70b Chatbot model from Hugging Face. The application provides a user-friendly interface to chat with the model and adjust certain parameters to influence the model's responses.
- Chat interface to communicate with Llama 2-70b.
- Adjustable parameters like temperature and max new tokens for fine-tuning the model's responses.
- Persistent chat history for the duration of the session.
- Sidebar for adjusting model parameters.
-
Clone the repository:
git clone https://github.com/Illia-the-coder/Chat-with-Llama-2-70b-streamlit.git cd Chat-with-Llama-2-70b-streamlit
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run streamlit_app.py
-
Open the provided link in your browser to interact with the application.
streamlit_app.py
: The main Streamlit application script.requirements.txt
: Contains the list of required packages for the project.- Add other files or directories as needed.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.