GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - enesdoruk/SummerNet: Lay Summarization with LLM

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
__pycache__
__pycache__
 
 
README.md
README.md
 
 
environment.yml
environment.yml
 
 
model.py
model.py
 
 
preprocess.py
preprocess.py
 
 
requirements.txt
requirements.txt
 
 
run.py
run.py
 
 
run_inference.sh
run_inference.sh
 
 
run_train.sh
run_train.sh
 
 
summernet.png
summernet.png
 
 
trainer.py
trainer.py
 
 

Repository files navigation

Lay Summarization with SummerNet on ELIFE AND PLOS Dataset

Quick Links

  • Environment
  • Data Preprocessing
  • Train
  • Inference

Environment

Create the environment with conda and pip.

conda env create -f environment.yml
conda activate season
pip install -r requirements.txt

Install nltk "punkt" package.

python -c "import nltk; nltk.download('punkt');"

We've tested this environment with python 3.8 and cuda 10.2. (For other CUDA version, please install the corresponding packages)

Data Preprocessing

Run the following commands to download the CNN/DM dataset, preprocess it, and save it locally.

mkdir data
  • For ELIFE dataset
python preprocess.py --dataset elife
  • For PLOS dataset
python preprocess.py --dataset elife

Train

Please run the scripts below:

bash run_train.sh

The trained model parameters and training logs are saved in outputs/train folder.

Inference

You can use our trained model weights to generate summaries for your data.

mkdir checkpoints
cd checkpoints

Step 2. Generate summaries for CNN/DM Test set.

bash run_inference.sh

After running the script, you will get the results in outputs/inference folder including the predicted summaries in generated_predictions.txt and the ROUGE results in predict_results.json.

Inference

  • We thank the authors of Season their open-source codes.

About

Lay Summarization with LLM

Topics

bertelifelaysummarizationllmplossummarizationtransformer

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.