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.
300 |
# File 'sig/types.rbs', line 300
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.
297 298 299 |
# File 'sig/types.rbs', line 297 def acceleration @acceleration end |
#batch_size ⇒ Integer?
Returns the value of attribute batch_size.
292 293 294 |
# File 'sig/types.rbs', line 292 def batch_size @batch_size end |
#cache_dir ⇒ String?
Returns the value of attribute cache_dir.
296 297 298 |
# File 'sig/types.rbs', line 296 def cache_dir @cache_dir end |
#max_embed_duration_secs ⇒ Integer?
Returns the value of attribute max_embed_duration_secs.
298 299 300 |
# File 'sig/types.rbs', line 298 def @max_embed_duration_secs end |
#max_length ⇒ Integer?
Returns the value of attribute max_length.
293 294 295 |
# File 'sig/types.rbs', line 293 def max_length @max_length end |
#model ⇒ LateInteractionModelType?
Returns the value of attribute model.
291 292 293 |
# File 'sig/types.rbs', line 291 def model @model end |
#query_max_length ⇒ Integer?
Returns the value of attribute query_max_length.
294 295 296 |
# File 'sig/types.rbs', line 294 def query_max_length @query_max_length end |
#show_download_progress ⇒ Boolean?
Returns the value of attribute show_download_progress.
295 296 297 |
# File 'sig/types.rbs', line 295 def show_download_progress @show_download_progress end |
Class Method Details
.default ⇒ LateInteractionConfig
301 |
# File 'sig/types.rbs', line 301
def self.default: () -> LateInteractionConfig
|