Back to projects
AI Blog Generator (LLaMA 2)
Abstract.Turning a prompt into a full blog post with an LLM that runs entirely on-device.
- Role
- Developer
- Period
- Jun 2024
- Context
- Personal project
- Team
- Solo
| Local | Runs fully on-device |
01How it works
- Input Prompt & parameters Topic, writing style and target word count.
- Step 02 LangChain prompt Build the prompt template and generation flow.
- Step 03 LLaMA 2 (local) CTransformers runs the model on-device.
- Output Generate & display The article appears in the Streamlit UI.
02What I built
- Ran LLaMA 2 fully on-device with CTransformers.
- Built the prompt template and generation flow with LangChain.
- Built an interactive Streamlit UI with topic, style and word-count controls.
03Technologies
- Python
- LLaMA 2
- LangChain
- CTransformers
- Streamlit