Archive | Hugging Face Transformers

hermes-rivera-aJ8F0SmOBpY-unsplash

Implementing Multilingual Translation with T5 and Transformers

Language translation is one of the most important tasks in natural language processing. In this tutorial, you will learn how to implement a powerful multilingual translation system using the T5 (Text-to-Text Transfer Transformer) model and the Hugging Face Transformers library. By the end of this tutorial, you’ll be able to build a production-ready translation system […]

Continue Reading
ana-municio-PbzntH58GLQ-unsplash

Building Q&A Systems with DistilBERT and Transformers

Question Answering is a crucial natural language processing task that enables machines to understand and respond to human questions by extracting relevant information from a given context. DistilBERT, a distilled version of BERT, offers an excellent balance between performance and computational efficiency for building Q&A systems. In this tutorial, you will learn how to build […]

Continue Reading
aaron-burden-CKlHKtCJZKk-unsplash

Text Summarization with DistilBart Model

Text summarization represents a sophisticated evolution of text generation, requiring a deep understanding of content and context. With encoder-decoder transformer models like DistilBart, you can now create summaries that capture the essence of longer text while maintaining coherence and relevance. In this tutorial, you’ll discover how to implement text summarization using DistilBart. You’ll learn through […]

Continue Reading
peter-herrmann-hNS-Ks56Bzc-unsplash

Text Generation with GPT-2 Model

Text generation is one of the most fascinating applications of deep learning. With the advent of large language models like GPT-2, we can now generate human-like text that’s coherent, contextually relevant, and surprisingly creative. In this tutorial, you’ll discover how to implement text generation using GPT-2. You’ll learn through hands-on examples that you can run […]

Continue Reading
jayphen-simpson-8jNATlZXhgk-unsplash

Auto-Completion Style Text Generation with GPT-2 Model

Generating gibberish text is a simple programming exercise for beginners. But completing a sentence meaningfully would require a lot of work. The landscape of auto-completion technology has transformed dramatically with the introduction of neural approaches. With Hugging Face’s transformers library, implementing text completion is only a few lines of code. In this comprehensive tutorial, you […]

Continue Reading
jon-tyson-566CgCRSNCk-unsplash

How to Do Named Entity Recognition (NER) with a BERT Model

Named Entity Recognition (NER) is one of the fundamental building blocks of natural language understanding. When humans read text, we naturally identify and categorize named entities based on context and world knowledge. For instance, in the sentence “Microsoft’s CEO Satya Nadella spoke at a conference in Seattle,” we effortlessly recognize the organizational, personal, and geographical […]

Continue Reading

Machine Learning Mastery is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Visit our corporate website to learn more about our mission and team.