Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • fastText Quick Start Guide
  • Toc
  • feedback
fastText Quick Start Guide

fastText Quick Start Guide

By : Joydeep Bhattacharjee
3.7 (3)
close
fastText Quick Start Guide

fastText Quick Start Guide

3.7 (3)
By: Joydeep Bhattacharjee

Overview of this book

Facebook's fastText library handles text representation and classification, used for Natural Language Processing (NLP). Most organizations have to deal with enormous amounts of text data on a daily basis, and gaining efficient data insights requires powerful NLP tools such as fastText.  This book is your ideal introduction to fastText. You will learn how to create fastText models from the command line, without the need for complicated code. You will explore the algorithms that fastText is built on and how to use them for word representation and text classification.  Next, you will use fastText in conjunction with other popular libraries and frameworks such as Keras, TensorFlow, and PyTorch.  Finally, you will deploy fastText models to mobile devices. By the end of this book, you will have all the required knowledge to use fastText in your own applications at work or in projects.
Table of Contents (14 chapters)
close
Free Chapter
1
First Steps
4
The FastText Model
7
Using FastText in Your Own Models

Deploying Models to Web and Mobile

For companies that depend on machine learning, it is very important to deploy their models in a scalable fashion. The models should work in the same manner that they were working in when the model was created. Deploying fastText models, both supervised and unsupervised, can be done in a variety of ways. The choice of methodology would depend on your individual needs.

In this chapter, we will focus on how to deploy fastText models in web and mobile scenarios. The topics are the following:

  • Deploying to the web
  • Flask
  • FastText functions
  • Flask endpoints
  • Deploying to smaller devices
  • Prerequisites – Completing the Google tutorial
  • App considerations
  • Adding the fastText model
  • FastText in Java
  • Adding library dependencies to Android
  • Using library dependencies in Android
  • Finally, the app
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete