Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An application that retrieves the latest stories and summarizes them.

NotificationsYou must be signed in to change notification settings

Yooniii/NewsBrief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A web app that scrapes the latest news and summarizes them into bullet-point summaries using a fine-tuned BART model.

Key Features

  • Multithreading & Automated Scraping Scrapes and summarizes multiple RSS feeds in parallel, on an hourly schedule.
  • Fine-Tuned ML Model: Generates detailed, concise summaries beyond the base model.
  • Tooltip Feature: Select text to request definitions or explanations of terms or phrases.

How It Works

Data Collection and Preparation

NewsBrief uses multiple datasets with human-generated summaries from Hugging Face and Kaggle. These were combined into a single dataset, preprocessed, and tokenized for training. Each input is prefixed with a task instruction (summarize).

Model Training

  • Dataset Split: 80% training, 20% testing.
  • Training uses Seq2SeqTrainingArguments with optimized learning rates and epochs. Seq2Seq Trainer handles training and evaluation. Model performance was measured withROUGE scores, comparing generated summaries with reference summaries.

The fine-tuned model is available here:Hugging Face: Article Summarizer

Set Up

Backend (Django)

1. Clone the Repository

git clone https://github.com/yourusername/newsBrief.gitcd newsBrief

2. Create & activate a virtual environment

python3 -m venv venv source venv/bin/activatepip install -r requirements.txt # Install dependencies

3. Set up the database

cd backend/apipython manage.py migrate# Create a superuser for Django Admin accesspython manage.py createsuperuser

4. Configure environment variablesCreate a.env file in the project root:

GENAI_API_KEY='YOUR API KEY'

5. Run the server

python manage.py runserver

Frontend (React)

1. Install dependencies

cd frontend/newsappnpm install

2. Configure environment variablesCreate a.env file in the frontend directory:

VITE_GENAI_API_KEY='YOUR API KEY'

3. Start the development server

npm run dev

Visuals

localhost_5173_home (1)Screenshot 2025-09-13 at 9 18 17 PM

About

An application that retrieves the latest stories and summarizes them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp