readme: ---
  tags:
  - text-2-text-generation
  - t5
  ---
  
  # Model Card for qcpg-sentences  
   
  # Model Details
   
  ## Model Description
  The model creators note in the [associated paper](https://arxiv.org/pdf/2203.10940.pdf):
  >Here we propose QCPG, a quality-guided controlled paraphrase generation model, that allows directly controlling the quality dimensions. Furthermore, we suggest a method that given a sentence, identifies points in the quality control space that are expected to yield optimal generated paraphrases. We show that our method is able to generate paraphrases which maintain the original meaning while achieving higher diversity than the uncontrolled baseline.
   
  - **Developed by:** IBM
  - **Shared by [Optional]:** IBM
  
  - **Model type:** Text2Text Generation
  - **Language(s) (NLP):** More information needed
  - **License:** More information needed
  - **Parent Model:** [All T5 Checkpoints](https://huggingface.co/models?search=t5)
  - **Resources for more information:** 
    - [GitHub Repo](https://github.com/IBM/quality-controlled-paraphrase-generation)
     - [Associated Paper](https://arxiv.org/pdf/2203.10940.pdf)
  
  
  # Uses
   
  
  ## Direct Use
  This model can be used for the task of Text2Text generation. 
   
  ## Downstream Use [Optional]
   
  More information needed.
   
  ## Out-of-Scope Use
   
  The model should not be used to intentionally create hostile or alienating environments for people. 
   
  # Bias, Risks, and Limitations
   
   
  Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
  
  
  
  ## Recommendations
   
   
  Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
  
  # Training Details
   
  ## Training Data
   
  The model creators note in the [associated paper](https://arxiv.org/pdf/2203.10940.pdf):
  > These datasets are large but noisy, and contain only a relatively small amount of high quality paraphrases.
  *MSCOCO:* This dataset consists of 123K im- ages, where each image contains at most five human-labeled captions (Lin et al., 2014). Similar to previous works we consider different captions of the same image as paraphrases.
  *WikiAnswers (WikiAns for short):* The WikiAnswers corpus contains clusters of ques- tions tagged by wiki-answers.com users as similar. There are 30, 370, 994 clusters with 25 question in each on average. In total, the corpus contains over 70 million question pairs 
  *ParaBank2.0:* A dataset containing clusters of sentential paraphrases, produced from a bilingual corpus using negative constraints, inference sam- pling, and clustering. The dataset is composed of avarage of 5 paraphrases in every cluster and close to 100 million pairs in total.
   
   
  ## Training Procedure
  
   
  ### Preprocessing
   
  The model creators note in the [associated paper](https://arxiv.org/pdf/2203.10940.pdf):
  > To get comparable results across all datasets, we randomly sub-sampled ParaBank2.0 and WikiAns to the same size as MSCOCO, and split them to train, dev and test sets, of sizes 900K, 14K and 14K respectively. We carefully made sure that there are no pairs from the same cluster in differ- ent splits of the data. 
   
  
  
   
  ### Speeds, Sizes, Times
   
  The model creators note in the [associated paper](https://arxiv.org/pdf/2203.10940.pdf):
  > All models are trained with batch size of 32 on 2 NVIDIA A100 GPUs for 6 epochs. 
   
  # Evaluation
   
   
  ## Testing Data, Factors & Metrics
   
  ### Testing Data
   
  More information needed
   
  ### Factors
  More information needed
   
  ### Metrics
   
  More information needed
   
   
  ## Results 
   
  More information needed
  
   
  # Model Examination
   
  More information needed
   
  # Environmental Impact
   
  Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
   
  - **Hardware Type:** 2 NVIDIA A100 
  - **Hours used:** More information needed
  - **Cloud Provider:** More information needed
  - **Compute Region:** More information needed
  - **Carbon Emitted:** More information needed
   
  # Technical Specifications [optional]
   
  ## Model Architecture and Objective
   
  More information needed
   
  ## Compute Infrastructure
   
  More information needed
   
  ### Hardware
   
   
  More information needed
   
  ### Software
   
  More information needed.
   
  # Citation
  
   
  **BibTeX:**
   
  More information needed
  ```bibtex
  @inproceedings{bandel-etal-2022-quality,
      title = "Quality Controlled Paraphrase Generation",
      author = "Bandel, Elron  and
        Aharonov, Ranit  and
        Shmueli-Scheuer, Michal  and
        Shnayderman, Ilya  and
        Slonim, Noam  and
        Ein-Dor, Liat",
      booktitle =