Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝✨ BlogGeneration

A simple Streamlit app that generates blog content using the powerful LLaMA 2 language model via LangChain and CTransformers. 🚀🧠


🚀 Features

  • 🖋️ Generate blog articles from your custom topics
  • 🤖 Runs TinyLLaMA (LLaMA 2) model locally for fast and private inference
  • 🎨 Beautiful, easy-to-use Streamlit UI
  • ⚡ Powered by ctransformers for efficient, offline model execution
  • 🧩 Flexible prompt templating with LangChain

🛠️ Technologies Used

  • 🐍 Python
  • 🌐 Streamlit
  • 🔗 LangChain
  • ⚙️ CTransformers (local LLaMA 2 inference)
  • 📦 Hugging Face .gguf model files

📦 Installation

1️⃣ Clone the Repo

git clone https://github.com/utsab345/BlogGeneration.git
cd BlogGeneration

2️⃣ Setup Virtual Environment (Recommended)

python -m venv env
# Activate it:
# Windows:
env\Scripts\activate
# macOS/Linux:
source env/bin/activate

3️⃣ Install Dependencies

pip install -r requirements.txt

4️⃣ Download LLaMA Model

Download your TinyLLaMA .gguf model and place it inside the models/ folder.

5️⃣ Run the App

streamlit run app.py

📸 Screenshot

image

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages