Class: Informers::XLMRobertaForSequenceClassification
- Inherits:
-
XLMRobertaPreTrainedModel
- Object
- PreTrainedModel
- XLMRobertaPreTrainedModel
- Informers::XLMRobertaForSequenceClassification
- Defined in:
- lib/informers/models.rb
Instance Attribute Summary
Attributes inherited from PreTrainedModel
Instance Method Summary collapse
Methods inherited from PreTrainedModel
construct_session, from_pretrained, #initialize
Constructor Details
This class inherits a constructor from Informers::PreTrainedModel
Instance Method Details
#call(model_inputs) ⇒ Object
253 254 255 |
# File 'lib/informers/models.rb', line 253 def call(model_inputs) SequenceClassifierOutput.new(*super(model_inputs)) end |