This Streamlit web application simplifies the process of generating blogs using the LLama 2 language model. To make it easy for others to use and deploy, follow the steps below:
-
Clone the Repository:
git clone https://github.com/hardikjp7/Blog-Generation-LLM-App.git cd Blog-Generation-LLM-App
-
Download LLama 2 Model: Visit the official LLama 2 model page here and download the "llama-2-7b-chat.ggmlv3.q8_0.bin" file.
-
Add Model to "models" Folder: Place the downloaded model file in the "models" folder of this project.
-
Install Dependencies: Use the following command to install the required Python packages:
pip install -r requirements.txt
-
Run the Application: Execute the Streamlit app with the following command:
streamlit run app.py
-
Access the Web App: Open your web browser and navigate to the provided local address (usually http://localhost:8501).
-
Enter the desired blog topic in the provided text input.
-
Choose the intended audience for the blog by selecting from the available options: Researchers, Data Scientists, or Common People.
-
Specify the desired word count for the generated blog.
-
Click the "Generate" button to trigger the LLama 2 language model and receive the dynamically created blog.
Now you can effortlessly create blogs using the Blog Generation LLM App! π