Class: Informers::DistilBertForQuestionAnswering
- Inherits:
-
DistilBertPreTrainedModel
- Object
- PreTrainedModel
- DistilBertPreTrainedModel
- Informers::DistilBertForQuestionAnswering
- 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
235 236 237 |
# File 'lib/informers/models.rb', line 235 def call(model_inputs) QuestionAnsweringModelOutput.new(*super(model_inputs)) end |