get_text_classifier {fastai} | R Documentation |
Get_text_classifier
Description
Create a text classifier from 'arch' and its 'config', maybe 'pretrained'
Usage
get_text_classifier(
arch,
vocab_sz,
n_class,
seq_len = 72,
config = NULL,
drop_mult = 1,
lin_ftrs = NULL,
ps = NULL,
pad_idx = 1,
max_len = 1440,
y_range = NULL
)
Arguments
arch |
arch |
vocab_sz |
vocab_sz |
n_class |
n_class |
seq_len |
seq_len |
config |
config |
drop_mult |
drop_mult |
lin_ftrs |
lin_ftrs |
ps |
ps |
pad_idx |
pad_idx |
max_len |
max_len |
y_range |
y_range |
Value
None
[Package fastai version 2.2.2 Index]