Skip to content

a minimum Scala implementation for serving the fastText model

Notifications You must be signed in to change notification settings

emesday/ft-serving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft-serving

a minimum Scala implementation for serving the fastText models

Dependency

ft-serving is available on Maven Central.

libraryDependencies += "com.github.mskimm" %% "ft-serving" % "0.0.1"

Quick Start

 $ sbt console
 scala> val model = fasttext.FastText.load("data/cooking.ftz")
 scala> model.predict("are egg whites generally available at the store ?", 1)

Supports

  • supervised model (incl. quantized with -qnorm=false -qout=false) with softmax loss

About

a minimum Scala implementation for serving the fastText model

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published