LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
train_params_segmentation.h
Go to the documentation of this file.
1//
2// Created by tderouet on 09/08/22.
3//
4
5#ifndef LIMA_TRAIN_PARAMS_SEGMENTATION_H
6#define LIMA_TRAIN_PARAMS_SEGMENTATION_H
7#include <string>
8
10
11namespace deeplima
12{
13 namespace segmentation
14 {
15 namespace train
16 {
17
19 {
20
24 bool train_mwt; // also predict multiword-token surfaces (implies train_ss)
25
32 };
33
34 } // namespace train
35 } // namespace tagging
36} // namespace deeplima
37#endif //LIMA_TRAIN_PARAMS_SEGMENTATION_H
train_params_t(std::string device_string="cpu", float learning_rate=0.001, float weight_decay=0.00001, float beta_one=0.9, float beta_two=0.999, size_t max_epochs=100, size_t max_epochs_without_improvement=10, size_t batch_size=4, float input_dropout=0.3)