Downloads · 30 days
17
19% of all-time downloads
boopathiraj/Bar-paraphrase-model
Bar-paraphrase-model is a text generation model from boopathiraj. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This model was trained for paraphrasing tasks.
Downloads · 30 days
17
19% of all-time downloads
All-time downloads
90
Public
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.bin1.6 GB · 100%
From the Hugging Face model README
This model was trained for paraphrasing tasks.
import torch
from transformers import AutoModelForSeq2SeqLM
base_model_name="eugenesiow/bart-paraphrase"
model = AutoModelForSeq2SeqLM.from_pretrained(base_model_name)
state_dict = torch.load('pytorch_model.bin', map_location='cpu')
model.load_state_dict(state_dict)
model.eval()