Natural Language Processing with Flair: A practical guide to understanding and solving NLP problems with Flair
暫譯: 使用 Flair 的自然語言處理:理解和解決 NLP 問題的實用指南

Magajna, Tadej

  • 出版商: Packt Publishing
  • 出版日期: 2022-04-29
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 200
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801072310
  • ISBN-13: 9781801072311
  • 相關分類: Text-mining
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Learn how to solve practical NLP problems with the Flair Python framework, train sequence labeling models, work with text classifiers and word embeddings, and much more through hands-on practical exercises

Key Features

- Backed by the community and written by an NLP expert
- Get an understanding of basic NLP problems and terminology
- Solve real-world NLP problems with Flair with the help of practical hands-on exercises

Book Description

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.

What you will learn

- Gain an understanding of core NLP terminology and concepts
- Get to grips with the capabilities of the Flair NLP framework
- Find out how to use Flair's state-of-the-art pre-built models
- Build custom sequence labeling models, embeddings, and classifiers
- Learn about a novel text classification technique called TARS
- Discover how to build applications with Flair and how to deploy them to production

Who this book is for

This Flair NLP book is for anyone who wants to learn about NLP through one of the most beginner-friendly, yet powerful Python NLP libraries out there. Software engineering students, developers, data scientists, and anyone who is transitioning into NLP and is interested in learning about practical approaches to solving problems with Flair will find this book useful. The book, however, is not recommended for readers aiming to get an in-depth theoretical understanding of the mathematics behind NLP. Beginner-level knowledge of Python programming is required to get the most out of this book.

商品描述(中文翻譯)

學習如何使用 Flair Python 框架解決實際的自然語言處理 (NLP) 問題,訓練序列標記模型,處理文本分類器和詞嵌入,還有更多透過實作練習的內容。

主要特點

- 由社群支持並由 NLP 專家撰寫
- 理解基本的 NLP 問題和術語
- 在實作練習的幫助下,解決現實世界中的 NLP 問題

書籍描述

Flair 是一個易於理解的自然語言處理 (NLP) 框架,旨在促進最先進的 NLP 模型的訓練和分發,這些模型用於命名實體識別、詞性標註和文本分類。Flair 也是一個文本嵌入庫,用於結合不同類型的嵌入,例如文檔嵌入、Transformer 嵌入和提議的 Flair 嵌入。

《使用 Flair 的自然語言處理》採取實作的方法來解釋和解決現實世界中的 NLP 問題。您將從安裝 Flair 開始,並學習基本的 NLP 概念和術語。您將通過實作練習探索 Flair 的廣泛功能,例如序列標記、文本分類和詞嵌入。隨著進展,您將訓練自己的序列標記和文本分類模型,並學習如何使用超參數調整來選擇合適的訓練參數。您將通過一種新穎的文本分類技術 TARS 了解一擊學習 (one-shot learning) 和少量學習 (few-shot learning) 的概念。最後,您將通過實作練習解決幾個現實世界的 NLP 問題,並學習如何將 Flair 模型部署到生產環境中。

在這本 Flair 書籍結束時,您將對典型的 NLP 問題有透徹的理解,並能夠使用 Flair 解決這些問題。

您將學到的內容

- 獲得核心 NLP 術語和概念的理解
- 熟悉 Flair NLP 框架的能力
- 瞭解如何使用 Flair 的最先進預建模型
- 構建自定義的序列標記模型、嵌入和分類器
- 學習一種名為 TARS 的新穎文本分類技術
- 探索如何使用 Flair 構建應用程序以及如何將其部署到生產環境中

本書適合誰

這本 Flair NLP 書籍適合任何想要通過最友好且強大的 Python NLP 庫之一來學習 NLP 的人。軟體工程學生、開發人員、數據科學家,以及任何轉向 NLP 並對使用 Flair 解決問題的實用方法感興趣的人都會發現這本書有用。然而,這本書不建議給那些希望深入理解 NLP 背後數學理論的讀者。為了充分利用這本書,建議具備初級的 Python 程式設計知識。

目錄大綱

1. Introduction to Flair
2. Flair Base Types
3. Embeddings in Flair
4. Sequence Tagging
5. Training Sequence Labeling Models
6. Hyperparameter Optimization in Flair
7. Training Your Own Embeddings
8. Text Classification in Flair
9. Deploying and Using Models in Production
10. Hands-on exercise – Building a trading bot with Flair

目錄大綱(中文翻譯)

1. Introduction to Flair

2. Flair Base Types

3. Embeddings in Flair

4. Sequence Tagging

5. Training Sequence Labeling Models

6. Hyperparameter Optimization in Flair

7. Training Your Own Embeddings

8. Text Classification in Flair

9. Deploying and Using Models in Production

10. Hands-on exercise – Building a trading bot with Flair