Skip to content

Python webapp that summarizes news with Cloudflare Workers AI LoRA, Mistral, Beautifulsoup, and Streamlit

Notifications You must be signed in to change notification settings

e-cogni/cf-ai-lora-news-summarizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI News Summarizer with Cloudflare Workers AI and public LoRAs

coverimg

app

Run fine-tuned inference with adapters trained with Low-Rank Adaptation for free. This project uses the mistral-7b-instruct-v0.1 fine-tune and cf-public-cnn-summarization LoRA adapter.

To run the app--

  1. Install the necessary libraries with pip install -r requirements.txt.

  2. Make a .env file with the following, replacing the Cloudflare API Token and Cloudflare Account ID with your own credentials from your Cloudflare dashboard Workers & Pages Overview:

CF_API_TOKEN=XXX
CF_ACCOUNT_ID=XXX
  1. Run streamlit run app.py to run the app.
  2. ✨tada🎉
ezgif-2-f3b13b697c.mp4

About

Python webapp that summarizes news with Cloudflare Workers AI LoRA, Mistral, Beautifulsoup, and Streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%