Translation
Transformers
PyTorch
JAX
Rust
t5
text2text-generation
summarization
text-generation-inference
Instructions to use qiaoyi/Comment_Summarization4DesignTutor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qiaoyi/Comment_Summarization4DesignTutor with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="qiaoyi/Comment_Summarization4DesignTutor")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("qiaoyi/Comment_Summarization4DesignTutor") model = AutoModelForSeq2SeqLM.from_pretrained("qiaoyi/Comment_Summarization4DesignTutor") - Notebooks
- Google Colab
- Kaggle
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,71 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- fr
|
| 5 |
+
- ro
|
| 6 |
+
- de
|
| 7 |
+
datasets:
|
| 8 |
+
- c4
|
| 9 |
+
tags:
|
| 10 |
+
- summarization
|
| 11 |
+
- translation
|
| 12 |
+
|
| 13 |
license: apache-2.0
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
[Google's T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html)
|
| 17 |
+
|
| 18 |
+
## PreTraining
|
| 19 |
+
|
| 20 |
+
The model was pre-trained on a on a **multi-task mixture of unsupervised (1.) and supervised tasks (2.)**.
|
| 21 |
+
Thereby, the following datasets were being used for (1.) and (2.):
|
| 22 |
+
|
| 23 |
+
1. **Datasets used for Unsupervised denoising objective**:
|
| 24 |
+
|
| 25 |
+
- [C4](https://huggingface.co/datasets/c4)
|
| 26 |
+
- [Wiki-DPR](https://huggingface.co/datasets/wiki_dpr)
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
2. **Datasets used for Supervised text-to-text language modeling objective**
|
| 30 |
+
|
| 31 |
+
- Sentence acceptability judgment
|
| 32 |
+
- CoLA [Warstadt et al., 2018](https://arxiv.org/abs/1805.12471)
|
| 33 |
+
- Sentiment analysis
|
| 34 |
+
- SST-2 [Socher et al., 2013](https://nlp.stanford.edu/~socherr/EMNLP2013_RNTN.pdf)
|
| 35 |
+
- Paraphrasing/sentence similarity
|
| 36 |
+
- MRPC [Dolan and Brockett, 2005](https://aclanthology.org/I05-5002)
|
| 37 |
+
- STS-B [Ceret al., 2017](https://arxiv.org/abs/1708.00055)
|
| 38 |
+
- QQP [Iyer et al., 2017](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs)
|
| 39 |
+
- Natural language inference
|
| 40 |
+
- MNLI [Williams et al., 2017](https://arxiv.org/abs/1704.05426)
|
| 41 |
+
- QNLI [Rajpurkar et al.,2016](https://arxiv.org/abs/1606.05250)
|
| 42 |
+
- RTE [Dagan et al., 2005](https://link.springer.com/chapter/10.1007/11736790_9)
|
| 43 |
+
- CB [De Marneff et al., 2019](https://semanticsarchive.net/Archive/Tg3ZGI2M/Marneffe.pdf)
|
| 44 |
+
- Sentence completion
|
| 45 |
+
- COPA [Roemmele et al., 2011](https://www.researchgate.net/publication/221251392_Choice_of_Plausible_Alternatives_An_Evaluation_of_Commonsense_Causal_Reasoning)
|
| 46 |
+
- Word sense disambiguation
|
| 47 |
+
- WIC [Pilehvar and Camacho-Collados, 2018](https://arxiv.org/abs/1808.09121)
|
| 48 |
+
- Question answering
|
| 49 |
+
- MultiRC [Khashabi et al., 2018](https://aclanthology.org/N18-1023)
|
| 50 |
+
- ReCoRD [Zhang et al., 2018](https://arxiv.org/abs/1810.12885)
|
| 51 |
+
- BoolQ [Clark et al., 2019](https://arxiv.org/abs/1905.10044)
|
| 52 |
+
|
| 53 |
+
## All T5 checkpoints
|
| 54 |
+
|
| 55 |
+
Other Community Checkpoints: [here](https://huggingface.co/models?search=t5)
|
| 56 |
+
|
| 57 |
+
## Paper
|
| 58 |
+
|
| 59 |
+
For more information, please take a look at the original paper.
|
| 60 |
+
|
| 61 |
+
Paper: [Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer](https://arxiv.org/pdf/1910.10683.pdf)
|
| 62 |
+
|
| 63 |
+
Authors: *Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu*
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
**Abstract**
|
| 67 |
+
|
| 68 |
+
Transfer learning, where a model is first pre-trained on a data-rich task before being fine-tuned on a downstream task, has emerged as a powerful technique in natural language processing (NLP). The effectiveness of transfer learning has given rise to a diversity of approaches, methodology, and practice. In this paper, we explore the landscape of transfer learning techniques for NLP by introducing a unified framework that converts every language problem into a text-to-text format. Our systematic study compares pre-training objectives, architectures, unlabeled datasets, transfer approaches, and other factors on dozens of language understanding tasks. By combining the insights from our exploration with scale and our new “Colossal Clean Crawled Corpus”, we achieve state-of-the-art results on many benchmarks covering summarization, question answering, text classification, and more. To facilitate future work on transfer learning for NLP, we release our dataset, pre-trained models, and code.
|
| 69 |
+
|
| 70 |
+

|
| 71 |
+
|