Skip to content

Initial pipeline of NewsBot#1

Open
binni979 wants to merge 2 commits intoCodeforNepal:mainfrom
binni979:main
Open

Initial pipeline of NewsBot#1
binni979 wants to merge 2 commits intoCodeforNepal:mainfrom
binni979:main

Conversation

@binni979
Copy link

@binni979 binni979 commented Apr 1, 2025

This PR introduces the initial pipeline for the Newsbot, enabling users to fetch and summarize news articles using a lightweight language model (distilgpt2).

Changes Implemented
✅ Created the initial newsbot pipeline

  • Developed a chatbot interface to fetch and summarize the latest news based on user queries.

✅ Integrated distilgpt2 for text generation

  • Used the distilgpt2 model from Hugging Face to process and generate relevant news details.

✅ Connected to news.org API for news retrieval

  • Implemented a scraper function to fetch news from news.org.
  • Extracted relevant details such as title, description, source, and publication date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant