TextBlock: TextBlock

Description Usage Arguments Value

View source: R/text_data.R

Description

A 'TransformBlock' for texts

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
TextBlock(
  tok_tfm,
  vocab = NULL,
  is_lm = FALSE,
  seq_len = 72,
  backwards = FALSE,
  min_freq = 3,
  max_vocab = 60000,
  special_toks = NULL,
  pad_tok = NULL
)

Arguments

tok_tfm

tok_tfm

vocab

vocab

is_lm

is_lm

seq_len

seq_len

backwards

backwards

min_freq

min_freq

max_vocab

max_vocab

special_toks

special_toks

pad_tok

pad_tok

Value

block object


fastai documentation built on Oct. 25, 2021, 5:08 p.m.