Config
helical.models.caduceus.CaduceusConfig
Source code in helical/models/caduceus/caduceus_config.py
__init__(model_name='caduceus-ph-4L-seqlen-1k-d118', batch_size=5, pooling_strategy='mean', nproc=1)
Configuration class to use the Caduceus Model.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model_name
|
Literal['caduceus-ph-4L-seqlen-1k-d118', 'caduceus-ph-4L-seqlen-1k-d256', 'caduceus-ph-16L-seqlen-131k-d256', 'caduceus-ps-4L-seqlen-1k-d118', 'caduceus-ps-4L-seqlen-1k-d256', 'caduceus-ps-16L-seqlen-131k-d256']
|
The model configuration name to use. |
"caduceus-ph-4L-seqlen-1k-d118"
|
batch_size
|
int
|
The batch size. This will be used in all the model operations. |
5
|
pooling_strategy
|
Literal['mean', 'max', 'last', 'first']
|
The pooling strategy to use. This will be used in all the model operations. |
"mean"
|
nproc
|
int
|
The number of processes to use for data processing. |
1
|
Notes
Caduceus uses the mamba_ssm package which requires CUDA.