Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 572 Bytes

readme.md

File metadata and controls

21 lines (15 loc) · 572 Bytes

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.