cbow (state, model, lr, line)
Signature: (state:FastTextState * model:Model * lr:float32 * line:ResizeArray<int>) -> unit
|
|
createModel state seed sharedState
Signature: state:FastTextState -> seed:int -> sharedState:ModelSharedState option -> Model
|
|
createSharedState state
Signature: state:FastTextState -> ModelSharedState
|
|
createState args dict
Signature: args:Args -> dict:Dictionary -> FastTextState
|
|
getVector state word
Signature: state:FastTextState -> word:String -> Vector
|
|
loadState (filename, label, verbose)
Signature: (filename:string * label:String * verbose:bool) -> FastTextState
|
|
loadVectors state inp
Signature: state:FastTextState -> inp:seq<string * Vector> -> unit
|
|
predict state model k line
Signature: state:FastTextState -> model:Model -> k:int -> line:string [] -> (String * float32) list option
|
|
printInfo (...)
Signature: (seconds:float * tokenCount:int64 * lr:float32<MeasureOne> * progress:float32 * loss:float32) -> unit
|
|
saveState filename state
Signature: filename:string -> state:FastTextState -> unit
|
|
saveVectors (state, output)
Signature: (state:FastTextState * output:string) -> unit
|
|
skipgram (state, model, lr, line)
Signature: (state:FastTextState * model:Model * lr:float32 * line:ResizeArray<int>) -> unit
|
|
stateUpdater (...)
Signature: tokenCount:int64 ref -> ntokens:int -> args:CommonArgs -> verbose:bool -> thread:int -> Updater
|
|
supervised (model, lr, line, labels)
Signature: (model:Model * lr:float32 * line:ResizeArray<int> * labels:ResizeArray<int>) -> unit
|
|
test (state, model, lines, k)
Signature: (state:FastTextState * model:Model * lines:seq<string []> * k:int) -> TestResult
|
|
textVector state rng ln
Signature: state:FastTextState -> rng:Mcg31m1 -> ln:string [] -> Vector
|
|
train (...)
Signature: state:FastTextState -> verbose:bool -> src:seq<seq<string []>> -> pretrainedVectors:Option<seq<string * Vector>> -> FastTextState
|
|
worker (...)
Signature: tokenCount:int64 ref -> src:seq<string []> -> state:FastTextState -> sharedState:ModelSharedState option -> verbose:bool -> threadId:int -> Async<unit>
|
|