pyvene.models.whisper.modelings_intervenable_whisper

pyvene.models.whisper.modelings_intervenable_whisper#

Each modeling file in this library is a mapping between abstract naming of intervention anchor points and actual model module defined in the huggingface library. We also want to let the intervention library know how to config the dimensions of intervention based on model config defined in the huggingface library.

Module Attributes

whisper_type_to_dimension_mapping

whisper model with LM head