Since their introduction in 2017, transformers have quickly become the dominant architecture for achieving state-of-the-art results on a variety of natural language processing tasks. If you're a data scientist or coder, this practical book shows you how to train and scale these large models using Hugging Face Transformers, a Python-based deep learning library.
Transformers have been used to write realistic news stories, improve Google Search queries, and even create chatbots that tell corny jokes. In this guide, Lewis Tunstall, Leandro von Werra, and Thomas Wolf use a hands-on approach to teach you how transformers work and how to integrate them in your applications. You'll quickly learn a variety of tasks they can help you solve.
● Build, debug, and optimize transformer models for core NLP tasks, such as text classification, named entity recognition, and question answering
● Learn how transformers can be used for cross-lingual transfer learning
● Apply transformers in real-world scenarios where labeled data is scarce
● Make transformer models efficient for deployment
● Train transformers from scratch and learn how to scale to multiple GPUs and distributed environments
In the summer of 1932, at the beginning of the turbulent decade that would remake America, baseball fans were treated to one of the most thrilling seasons in the history of the sport. As the nation drifted deeper into the Great Depression and reeled from social unrest, baseball was a diversion for a troubled country-and yet the world of baseball was marked by the same edginess that pervaded the national scene.
On-the-field fights were as common as double plays. Amid the National League pennant race, Cubs' shortstop Billy Jurges was shot by showgirl Violet Popovich in a Chicago hotel room. When the regular season ended, the Cubs and Yankees clashed in what would be Babe Ruth's last appearance in the fall classic. After the Cubs lost the first two games in New York, the series resumed in Chicago at Wrigley Field, with Democratic presidential candidate Franklin Roosevelt cheering for the visiting Yankees from the box seats behind the Yankees' dugout.
In the top of the fifth inning the game took a historic turn. As Ruth was jeered mercilessly by Cubs players and fans, he gestured toward the outfield and then blasted a long home run. Ruth's homer set off one of baseball's longest-running and most intense debates: did Ruth, in fact, call his famous home run?