Api
FineTuneSeqLenBioBertConfig
dataclass
Bases: BioBertConfig[MegatronBioBertFineTuneSeqLengthModel, SequenceLengthRMSEPlusBERTMLMLossWithReduction]
, IOMixinWithGettersSetters
BioBert fine-tuning sequence length model configuration.
Source code in bionemo/geneformer/model/finetune_token_regressor.py
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
|
get_loss_reduction_class()
Loss function type.
Source code in bionemo/geneformer/model/finetune_token_regressor.py
220 221 222 |
|
GeneformerConfig
dataclass
Bases: BioBertConfig[GeneformerModel, MegatronLossType]
, IOMixinWithGettersSetters
A geneformer config.
The geneformer config overrides the parent config, and adds a leaf-level iomixin, please do not inherit from this directly, as your parameters will likely be reset to this method's parameters silently.
Source code in bionemo/geneformer/api.py
34 35 36 37 38 39 40 41 42 |
|