Class: Informers::BertForTokenClassification
- Inherits:
-
BertPreTrainedModel
- Object
- PreTrainedModel
- BertPreTrainedModel
- Informers::BertForTokenClassification
- 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
205 206 207 |
# File 'lib/informers/models.rb', line 205 def call(model_inputs) TokenClassifierOutput.new(*super(model_inputs)) end |