get_text_classifier: Get_text_classifier

View source: R/text_models.R

get_text_classifierR 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


fastai documentation built on March 21, 2022, 9:07 a.m.