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 - Leiniao1/appengine-guestbook-python: Guestbook is an example application showing basic usage of Google App Engine

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

159 Commits
159 Commits

Folders and files

NameName
Last commit message
Last commit date
bootstrap
bootstrap
 
 
ckpt
ckpt
 
 
e2e
e2e
 
 
.gitignore
.gitignore
 
 
CONTRIB.md
CONTRIB.md
 
 
ExportModel.ipynb
ExportModel.ipynb
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
app.yaml
app.yaml
 
 
example_article
example_article
 
 
favicon.ico
favicon.ico
 
 
guestbook.py
guestbook.py
 
 
index.html
index.html
 
 
index.yaml
index.yaml
 
 
public_parsing_ops.py
public_parsing_ops.py
 
 
requirements.txt
requirements.txt
 
 
test_example.py
test_example.py
 
 
text_eval.py
text_eval.py
 
 

Repository files navigation

This is a trained model of PEGASUS on cnn_dailymail dataset.

Requirements -

numpy
sentencepiece
tensorflow==2.2.0

PEGASUS library

Pre-training with Extracted Gap-sentences for Abstractive SUmmarization Sequence-to-sequence models, or PEGASUS, uses self-supervised objective Gap Sentences Generation (GSG) to train a transformer encoder-decoder model. The paper can be found on arXiv. ICML 2020 accepted.

'screen'

If you use this code or these models, please cite the following paper:

@misc{zhang2019pegasus,
    title={PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization},
    author={Jingqing Zhang and Yao Zhao and Mohammad Saleh and Peter J. Liu},
    year={2019},
    eprint={1912.08777},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Usage

To run the demo, please download pre-trained model on cnn_dailymail from here or gigaword from here. Unzip it and put it to model/, or anywhere really if you just specify its location and where your article file is. Suppose your article is this one

python test_example.py --article example_article --model_dir model/ --model_name cnn_dailymail

You will see this output - PREDICTION >> The hacking group known as NC29 is largely believed to operate as part of Russia's security services .<n>The three countries allege that it is carrying out a persistent and ongoing cyber campaign to steal intellectual property about a possible coronavirus vaccine .

Export Model

To export a model you have trained, please place the ExportModel.ipynb inside the PEGASUS folder. Just run the script inside by specifying which data model you want to export.

About

Guestbook is an example application showing basic usage of Google App Engine

developers.google.com/appengine/docs/python/gettingstartedpython27/

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

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.