Class: Informers::ModernBertForMaskedLM
- Inherits:
-
ModernBertPreTrainedModel
- Object
- PreTrainedModel
- ModernBertPreTrainedModel
- Informers::ModernBertForMaskedLM
- Defined in:
- lib/informers/models.rb
Constant Summary
Constants inherited from PreTrainedModel
PreTrainedModel::MAIN_INPUT_NAME
Instance Attribute Summary
Attributes inherited from PreTrainedModel
Instance Method Summary collapse
Methods inherited from PreTrainedModel
construct_session, from_pretrained, #generate, #initialize
Constructor Details
This class inherits a constructor from Informers::PreTrainedModel
Instance Method Details
#call(model_inputs) ⇒ Object
819 820 821 |
# File 'lib/informers/models.rb', line 819 def call(model_inputs) MaskedLMOutput.new(*super(model_inputs)) end |