Views
No views yet
1from transformers import T5Tokenizer
2
3# Load tokenizer
4tokenizer = T5Tokenizer.from_pretrained("YOUR_USERNAME/t5-moe-xsum_hash")
5
6# Note: For MoE models, you need to reconstruct the architecture
7# See the model repository for detailed loading instructions1@inproceedings{narayan-etal-2018-dont,
2 title = "Don{'}t Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarization",
3 author = "Narayan, Shashi and Cohen, Shay B. and Lapata, Mirella",
4 booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
5 year = "2018",
6}