Skip to content

ihgn

gpt2-paraphrase

ihgn/gpt2-paraphrase

gpt2-paraphrase is a text generation model from ihgn. Use it when you need the model to write or continue text. It is set up for transformers.

def paraphrase( question, numbeams=5, numbeamgroups=5, numreturnsequences=1, repetitionpenalty=10.0, diversitypenalty=3.0, norepeatngramsize=2, temperature=0.7, maxlength=128 ): inputids = tokenizer( f'paraphrase: {qu…

Downloads · 30 days

18

3% of all-time downloads

All-time downloads

645

Public

Repo size

1.8 GB

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.bin892 MB · 100%

At a glance

Task
Text Generation
Library
transformers
Model type
t5
Access
Public
Created
Jun 11, 2023
Updated
Aug 18, 2023
SHA
2b7c044b

Try a prompt

Task
Text Generation
Library
transformers
Type
t5
Languages
en
Created
Jun 11, 2023
Updated
Aug 18, 2023