Skip to content

a simple proof-of-concept fasttext classification REST server ― not by any means production ready

Notifications You must be signed in to change notification settings

matanox/simple-fasttext-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-fasttext-server

You send a REST GET with some text, and get a classification for it.
Work In Progress.

Installation

  1. install leiningen
  2. clone this repo
  3. change directory to the included directory fasttext.
  4. git clone fasttext here.
  5. place your trained fasttext model here as well (should be named classifier.bin).
  6. lein run (takes few seconds to start up)

Usage

curl 'http://localhost:3000/predict?text=classify%20me'

Or your whatever http get API.

About

a simple proof-of-concept fasttext classification REST server ― not by any means production ready

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published