View source: R/blurr_hugging_face.R
HF_BaseModelWrapper | R Documentation |
Same as 'nn.Module', but no need for subclasses to call 'super().__init__'
HF_BaseModelWrapper(
hf_model,
output_hidden_states = FALSE,
output_attentions = FALSE,
...
)
hf_model |
model |
output_hidden_states |
output hidden states |
output_attentions |
output attentions |
... |
additional arguments to pass |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.