Skip to content

fasilmveloor/blog-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blog Generation App

Introduction

This Blog Generation App is an innovative tool for bloggers and content creators, leveraging the power of AI to generate engaging blog posts. Built with Python, LangChain, and Streamlit, this app provides an interactive and user-friendly interface. It incorporates the Llama 2 language model, locally hosted, to ensure high-quality text generation.

Features

  • AI-Powered Text Generation: Utilizes the Llama 2 model for advanced natural language processing.
  • Interactive UI: Built with Streamlit, offering a seamless and intuitive user experience.
  • Customization Options: Users can fine-tune the AI to suit the specific style and tone of their blog.

Installation

To get started with the Blog Generation App, follow these steps:

# Clone the repository
git clone <repository-url>
cd <repository-name>

# Install the required Python packages
pip install -r requirements.txt

# Download the Llama 2 model from Hugging Face
# Place the model in the 'models' directory of your project


# Usage
Once you have installed the dependencies and set up the local model, you can run the app with the following command:


streamlit run app.py

Visit the local URL displayed in your terminal to start generating blog posts with the app.

Local Model Setup

The app uses a local copy of the Llama 2 model from Hugging Face. Ensure that you have downloaded the model files and placed them in the models directory within the project structure.

Contributions

Contributions to this project are welcome! If you have suggestions for improvements, find any bugs, or would like to contribute code, please feel free to open an issue or a pull request.

License

This project is open source and available under the MIT License.

Acknowledgements

  • LangChain for the language model chaining framework.
  • Streamlit for creating an interactive web app interface.
  • Hugging Face for the Llama 2 model which powers our text generation.
  • Krish Naik for educational content that may have contributed to this project.

About

A simple blog generation app using llama2 model and langchain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages