You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support the rapid progress of PLMs on text generation, TextBox 2.0 incorporates 47 models/modules. The following table lists the name and reference of each model/module. Click the model/module name for detailed usage instructions.
TextBox 2.0 is compatible with Hugging Face, so model_path receives a name of model on Hugging Face like facebook/bart-base or just a local path. config_path and tokenizer_path (same value as model_path by default) also receive a Hugging Face model or a local path.
Besides, config_kwargs and tokenizer_kwargs are useful when additional parameters are required.
For example, when building a Task-oriented Dialogue System, special tokens can be added with additional_special_tokens; fast tokenization can also be switched with use_fast: