Class: Xberg::LateInteractionConfig
- Inherits:
-
Object
- Object
- Xberg::LateInteractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#acceleration ⇒ AccelerationConfig?
Returns the value of attribute acceleration.
-
#batch_size ⇒ Integer?
Returns the value of attribute batch_size.
-
#cache_dir ⇒ String?
Returns the value of attribute cache_dir.
-
#max_embed_duration_secs ⇒ Integer?
Returns the value of attribute max_embed_duration_secs.
-
#max_length ⇒ Integer?
Returns the value of attribute max_length.
-
#model ⇒ LateInteractionModelType?
Returns the value of attribute model.
-
#query_max_length ⇒ Integer?
Returns the value of attribute query_max_length.
-
#show_download_progress ⇒ Boolean?
Returns the value of attribute show_download_progress.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ LateInteractionConfig
constructor
A new instance of LateInteractionConfig.
Constructor Details
#initialize ⇒ LateInteractionConfig
Returns a new instance of LateInteractionConfig.
278 |
# File 'sig/types.rbs', line 278
def initialize: (?model: LateInteractionModelType, ?batch_size: Integer, ?max_length: Integer, ?query_max_length: Integer, ?show_download_progress: bool, ?cache_dir: String, ?acceleration: AccelerationConfig, ?max_embed_duration_secs: Integer) -> void
|
Instance Attribute Details
#acceleration ⇒ AccelerationConfig?
Returns the value of attribute acceleration.
275 276 277 |
# File 'sig/types.rbs', line 275 def acceleration @acceleration end |
#batch_size ⇒ Integer?
Returns the value of attribute batch_size.
270 271 272 |
# File 'sig/types.rbs', line 270 def batch_size @batch_size end |
#cache_dir ⇒ String?
Returns the value of attribute cache_dir.
274 275 276 |
# File 'sig/types.rbs', line 274 def cache_dir @cache_dir end |
#max_embed_duration_secs ⇒ Integer?
Returns the value of attribute max_embed_duration_secs.
276 277 278 |
# File 'sig/types.rbs', line 276 def @max_embed_duration_secs end |
#max_length ⇒ Integer?
Returns the value of attribute max_length.
271 272 273 |
# File 'sig/types.rbs', line 271 def max_length @max_length end |
#model ⇒ LateInteractionModelType?
Returns the value of attribute model.
269 270 271 |
# File 'sig/types.rbs', line 269 def model @model end |
#query_max_length ⇒ Integer?
Returns the value of attribute query_max_length.
272 273 274 |
# File 'sig/types.rbs', line 272 def query_max_length @query_max_length end |
#show_download_progress ⇒ Boolean?
Returns the value of attribute show_download_progress.
273 274 275 |
# File 'sig/types.rbs', line 273 def show_download_progress @show_download_progress end |
Class Method Details
.default ⇒ LateInteractionConfig
279 |
# File 'sig/types.rbs', line 279
def self.default: () -> LateInteractionConfig
|