Skip to content

dpny518/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 fasttext classification REST server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%