humarin/chatgpt-paraphrases
Viewer • Updated • 419k • 280 • 60
How to use MichaelOrme/ChatGPT_Paraphraser_t5-Large with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("MichaelOrme/ChatGPT_Paraphraser_t5-Large")
model = AutoModelForSeq2SeqLM.from_pretrained("MichaelOrme/ChatGPT_Paraphraser_t5-Large", device_map="auto")