Create Task
base class
#635
Labels
stat:contributions welcome
Add this label to feature request issues so they are separated out from bug reporting issues
type:feature
New feature or request
This PR would be an replication of #621 for task models. Actually there is more to deduplicate in this case!
Steps:
Task
class inmodels/task.py
, which inherits fromPipelineModel
BertClassifier
:preprocess_samples
backbone
preprocessor
from_config
presets
(return{}
)from_preset
with string formatting params to adapt to preset and class namesfrom_preset
.Following #621, simplify the documentation for
from_preset
and move some of the examples to the generic constructor docstring.The text was updated successfully, but these errors were encountered: