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
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 |
|
get_loss_reduction_class()
Loss function type.
Source code in bionemo/geneformer/model/finetune_token_regressor.py
217 218 219 |
|
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
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|