The Penn Treebank is a corpus (a collection of annotated text) of American English in which every word is tagged by hand with its part of speech, and sentence structure is marked with brackets. It was built by Marcus et al. at the University of Pennsylvania and published in Computational Linguistics in 1993. In its first three years (1989–1992), more than 4.5 million words were tagged for part of speech, and over half of them were annotated with skeletal sentence structure.
The goal was to provide a large annotated dataset for building and comparing statistical models of part-of-speech tagging and parsing. In particular, the portion consisting of Wall Street Journal (WSJ) articles served for many years as the standard data for parsing.
In deep learning, "PTB" usually refers to a version of the WSJ portion preprocessed for language modeling (distributed by Mikolov et al.). With about 930k training tokens and a 10k-word vocabulary, it is small, and it became the standard benchmark for comparing RNN and LSTM language models.
The "Penn Treebank" used in parsing (the original data with POS tags and brackets) and the "PTB" used in language modeling (preprocessed text with neither tags nor brackets) are completely different in content. When reading a paper, check which one is meant.

