Class: Xberg::LateInteractionConfig
- Inherits:
-
Object
- Object
- Xberg::LateInteractionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#acceleration ⇒ AccelerationConfig?
readonly
Returns the value of attribute acceleration.
-
#batch_size ⇒ Integer
readonly
Returns the value of attribute batch_size.
-
#cache_dir ⇒ String?
readonly
Returns the value of attribute cache_dir.
-
#max_embed_duration_secs ⇒ Integer?
readonly
Returns the value of attribute max_embed_duration_secs.
-
#max_length ⇒ Integer
readonly
Returns the value of attribute max_length.
-
#model ⇒ LateInteractionModelType
readonly
Returns the value of attribute model.
-
#query_max_length ⇒ Integer
readonly
Returns the value of attribute query_max_length.
-
#show_download_progress ⇒ Boolean
readonly
Returns the value of attribute show_download_progress.
Instance Method Summary collapse
-
#initialize ⇒ LateInteractionConfig
constructor
A new instance of LateInteractionConfig.
Constructor Details
#initialize ⇒ LateInteractionConfig
Returns a new instance of LateInteractionConfig.
1413 |
# File 'sig/types.rbs', line 1413 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? (readonly)
Returns the value of attribute acceleration.
1410 1411 1412 |
# File 'sig/types.rbs', line 1410 def acceleration @acceleration end |
#batch_size ⇒ Integer (readonly)
Returns the value of attribute batch_size.
1405 1406 1407 |
# File 'sig/types.rbs', line 1405 def batch_size @batch_size end |
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
1409 1410 1411 |
# File 'sig/types.rbs', line 1409 def cache_dir @cache_dir end |
#max_embed_duration_secs ⇒ Integer? (readonly)
Returns the value of attribute max_embed_duration_secs.
1411 1412 1413 |
# File 'sig/types.rbs', line 1411 def end |
#max_length ⇒ Integer (readonly)
Returns the value of attribute max_length.
1406 1407 1408 |
# File 'sig/types.rbs', line 1406 def max_length @max_length end |
#model ⇒ LateInteractionModelType (readonly)
Returns the value of attribute model.
1404 1405 1406 |
# File 'sig/types.rbs', line 1404 def model @model end |
#query_max_length ⇒ Integer (readonly)
Returns the value of attribute query_max_length.
1407 1408 1409 |
# File 'sig/types.rbs', line 1407 def query_max_length @query_max_length end |
#show_download_progress ⇒ Boolean (readonly)
Returns the value of attribute show_download_progress.
1408 1409 1410 |
# File 'sig/types.rbs', line 1408 def show_download_progress @show_download_progress end |