Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_text_classifier

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

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.