-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komputer w biurze
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Multimedialne szkolenia
- Nieruchomości
- Perswazja i NLP
- Podatki
- Polityka społeczna
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Raporty, analizy
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
E-prasa
-
Historia
-
Informatyka
- Aplikacje biurowe
- Aplikacje biznesowe
- Bazy danych
- Bioinformatyka
- Biznes IT
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronika
- Fotografia cyfrowa
- Grafika komputerowa
- Gry
- Hacking
- Hardware
- IT w ekonomii
- Pakiety naukowe
- Podręczniki szkolne
- Podstawy komputera
- Programowanie
- Programowanie mobilne
- Serwery internetowe
- Sieci komputerowe
- Start-up
- Systemy operacyjne
- Sztuczna inteligencja
- Technologia dla dzieci
- Webmasterstwo
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poemat
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Podręczniki szkolne
-
Popularnonaukowe i akademickie
- Archeologia
- Bibliotekoznawstwo
- Filmoznawstwo
- Filologia
- Filologia polska
- Filozofia
- Finanse i bankowość
- Geografia
- Gospodarka
- Handel. Gospodarka światowa
- Historia i archeologia
- Historia sztuki i architektury
- Kulturoznawstwo
- Lingwistyka
- Literaturoznawstwo
- Logistyka
- Matematyka
- Medycyna
- Nauki humanistyczne
- Pedagogika
- Pomoce naukowe
- Popularnonaukowa
- Pozostałe
- Psychologia
- Socjologia
- Teatrologia
- Teologia
- Teorie i nauki ekonomiczne
- Transport i spedycja
- Wychowanie fizyczne
- Zarządzanie i marketing
-
Poradniki
-
Poradniki do gier
-
Poradniki zawodowe i specjalistyczne
-
Prawo
- BHP
- Historia
- Kodeks drogowy. Prawo jazdy
- Nauki prawne
- Ochrona zdrowia
- Ogólne, kompendium wiedzy
- Podręczniki akademickie
- Pozostałe
- Prawo budowlane i lokalowe
- Prawo cywilne
- Prawo finansowe
- Prawo gospodarcze
- Prawo gospodarcze i handlowe
- Prawo karne
- Prawo karne. Przestępstwa karne. Kryminologia
- Prawo międzynarodowe
- Prawo międzynarodowe i zagraniczne
- Prawo ochrony zdrowia
- Prawo oświatowe
- Prawo podatkowe
- Prawo pracy i ubezpieczeń społecznych
- Prawo publiczne, konstytucyjne i administracyjne
- Prawo rodzinne i opiekuńcze
- Prawo rolne
- Prawo socjalne, prawo pracy
- Prawo Unii Europejskiej
- Przemysł
- Rolne i ochrona środowiska
- Słowniki i encyklopedie
- Zamówienia publiczne
- Zarządzanie
-
Przewodniki i podróże
- Afryka
- Albumy
- Ameryka Południowa
- Ameryka Środkowa i Północna
- Australia, Nowa Zelandia, Oceania
- Austria
- Azja
- Bałkany
- Bliski Wschód
- Bułgaria
- Chiny
- Chorwacja
- Czechy
- Egipt
- Europa
- Francja
- Góry
- Grecja
- Hiszpania
- Holandia
- Islandia
- Litwa
- Mapy, Plany miast, Atlasy
- Miniprzewodniki
- Niemcy
- Podróże aktywne
- Polska
- Portugalia
- Pozostałe
- Rosja
- Rumunia
- Słowacja
- Słowenia
- Szwecja
- Świat
- Turcja
- Ukraina
- Węgry
- Wielka Brytania
- Włochy
-
Psychologia
- Filozofie życiowe
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Nieruchomości
- Perswazja i NLP
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
Historia
-
Informatyka
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Nobliści
- Nowele
- Obyczajowa
- Opowiadania
- Pamiętniki
- Podróże
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Popularnonaukowe i akademickie
-
Poradniki
-
Prawo
-
Przewodniki i podróże
-
Psychologia
- Filozofie życiowe
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Bazy danych
-
Big Data
-
Biznes i ekonomia
-
Cyberbezpieczeństwo
-
Data Science
-
DevOps
-
Dla dzieci
-
Elektronika
-
Grafika/Wideo/CAX
-
Gry
-
Microsoft Office
-
Narzędzia programistyczne
-
Programowanie
-
Rozwój osobisty
-
Sieci komputerowe
-
Systemy operacyjne
-
Testowanie oprogramowania
-
Urządzenia mobilne
-
UX/UI
-
Web development
Flair is an easy-to-understand natural language processing (NLP) framework designed to facilitate training and distribution of state-of-the-art NLP models for named entity recognition, part-of-speech tagging, and text classification. Flair is also a text embedding library for combining different types of embeddings, such as document embeddings, Transformer embeddings, and the proposed Flair embeddings.
Natural Language Processing with Flair takes a hands-on approach to explaining and solving real-world NLP problems. You'll begin by installing Flair and learning about the basic NLP concepts and terminology. You will explore Flair's extensive features, such as sequence tagging, text classification, and word embeddings, through practical exercises. As you advance, you will train your own sequence labeling and text classification models and learn how to use hyperparameter tuning in order to choose the right training parameters. You will learn about the idea behind one-shot and few-shot learning through a novel text classification technique TARS. Finally, you will solve several real-world NLP problems through hands-on exercises, as well as learn how to deploy Flair models to production.
By the end of this Flair book, you'll have developed a thorough understanding of typical NLP problems and you'll be able to solve them with Flair.
- Natural Language Processing with Flair
- Contributors
- About the author
- About the reviewers
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Share Your Thoughts
- Part 1: Understanding and Solving NLP with Flair
- Chapter 1: Introduction to Flair
- Technical requirements
- A brief introduction to NLP
- Tokenization
- Text vectorization
- Named entity recognition
- Word-sense disambiguation
- Part-of-speech tagging
- Chunking
- Stemming and lemmatization
- Text classification
- Introducing Flair
- Setting up the development environment
- Creating the virtual environment
- Installing a published version of Flair in a virtual environment
- Installing directly from the GitHub repository (optional)
- Running code that uses Flair
- Summary
- Chapter 2: Flair Base Types
- Technical requirements
- Sentence and Token objects
- Understanding the Sentence class
- Understanding the Token class
- Tokenization in Flair
- Sentence and Token object helper methods
- Using custom tokenizers
- Using the TokenizerWrapper class
- Understanding the Corpus object
- Summary
- Chapter 3: Embeddings in Flair
- Technical requirements
- Understanding word embeddings
- Cosine similarity
- The "king man queen woman" analogy
- Classic word embeddings in Flair
- Flair embeddings
- Understanding the contextuality of Flair embeddings
- Character-level sequence modeling in Flair embeddings
- Pooled Flair embeddings
- Available Flair embeddings
- Stacked embeddings
- Document embeddings
- Other embeddings in Flair
- Summary
- Chapter 4: Sequence Tagging
- Technical requirements
- Understanding sequence tagging in Flair
- Named entity recognition in Flair
- Types of NER taggers in Flair
- Part-of-speech tagging in Flair
- Part-of-speech tagging tag sets
- Types of PoS taggers in Flair
- Other tagging tasks in Flair
- Sequence labeling metrics
- Measuring accuracy for sequence labeling tasks
- Measuring the F1 score for sequence labeling tasks
- Summary
- Part 2: Deep Dive into Flair Training Custom Models
- Chapter 5: Training Sequence Labeling Models
- Technical requirements
- The motivation behind training custom models
- Understanding the hardware requirements for training models
- Working with parameters for training and evaluation
- Understanding neural model training
- Parameters and terminology used in Flair model training
- Training custom sequence labeling models
- Loading a tagged corpus
- Loading the tag dictionary
- Building the embedding stack
- Initializing the SequenceTagger object
- Training the model
- Understanding training output files
- Loading and using custom Flair models
- Knowing when to stop and try again
- Monitoring loss
- Assessing and comparing performance metrics
- Summary
- Chapter 6: Hyperparameter Optimization in Flair
- Technical requirements
- Understanding hyperparameter tuning
- Optimization methods
- Hyperparameter tuning in Python
- Hyperparameter tuning in Python hands-on
- Hyperparameter optimization in Flair
- Hyperparameter tuning in Flair hands-on
- Summary
- Chapter 7: Train Your Own Embeddings
- Technical requirements
- Understanding the how and why behind custom Flair embeddings
- Why training embeddings rarely ever means training embeddings
- Corpora for Flair embeddings
- Dictionaries for training Flair embeddings
- Evaluating word embeddings
- Training Flair embeddings on the worlds smallest language
- Preparing the dictionary
- Preparing the corpus
- Training the language model
- Using custom embeddings on downstream tasks
- Performing intrinsic evaluation on custom Flair embeddings
- Summary
- Chapter 8: Text Classification in Flair
- Technical requirements
- Understanding text classification
- Training text classifiers
- Text classification in Flair
- Using pre-trained Flair text classification models
- Document embeddings in Flair
- Text classifiers in Flair
- Training a text classifier in Flair
- Working with text classifiers that require little to no training data
- Zero-shot classification with TARS
- Few-shot classification with TARS
- Summary
- Part 3: Real-World Applications with Flair
- Chapter 9: Deploying and Using Models in Production
- Technical requirements
- Technical considerations for NLP models in production
- Client-side versus server-side inference
- When to use managed services and when to self-serve server-side models
- Managed services for Flair models
- A model deployment decision-making flowchart
- Self-serving flair models
- A proof-of-concept self-serve tool for Flair
- Using managed services for deploying and using Flair models
- The Hugging Face Models Hub
- Summary
- Chapter 10: Hands-On Exercise Building a Trading Bot with Flair
- Technical requirements
- Understanding the trading strategy
- Implementing the Flair trading bot
- A Flair coding cheat sheet
- Summary
- Why subscribe?
- Other Books You May Enjoy
- Packt is searching for authors like you
- Share Your Thoughts
- Tytuły: Natural Language Processing with Flair
- Autor: Tadej Magajna
- Tytuł oryginału: Natural Language Processing with Flair
- ISBN Ebooka: 9781801072236, 9781801072236
- Data wydania: 2022-04-29
- Identyfikator pozycji: e_2t5d
-
Kategorie: