HF_BaseModelWrapper {fastai} | R Documentation |
HF_BaseModelWrapper
Description
Same as 'nn.Module', but no need for subclasses to call 'super().__init__'
Usage
HF_BaseModelWrapper(
hf_model,
output_hidden_states = FALSE,
output_attentions = FALSE,
...
)
Arguments
hf_model |
model |
output hidden states | |
output_attentions |
output attentions |
... |
additional arguments to pass |
Value
None
[Package fastai version 2.2.2 Index]