Automatic Speech Recognition
Transformers
Safetensors
DiCoW
speech
whisper
multilingual
speaker-diarization
meeting-transcription
target-speaker-asr
SE-DiCoW
BUT-FIT
custom_code
Instructions to use BUT-FIT/SE_DiCoW with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BUT-FIT/SE_DiCoW with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="BUT-FIT/SE_DiCoW", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("BUT-FIT/SE_DiCoW", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update SCBs.py
Browse files
SCBs.py
CHANGED
|
@@ -4,7 +4,6 @@ from transformers import WhisperConfig
|
|
| 4 |
from transformers.activations import ACT2FN
|
| 5 |
from transformers.models.whisper.modeling_whisper import WHISPER_ATTENTION_CLASSES
|
| 6 |
import torch.nn.functional as F
|
| 7 |
-
from .coattention import CoAttention
|
| 8 |
from .layers import CustomLinear, CustomDiagonalLinear, Gate, CustomLinearInitialized
|
| 9 |
|
| 10 |
class LowRankApproxSelectFirst(nn.Module):
|
|
|
|
| 4 |
from transformers.activations import ACT2FN
|
| 5 |
from transformers.models.whisper.modeling_whisper import WHISPER_ATTENTION_CLASSES
|
| 6 |
import torch.nn.functional as F
|
|
|
|
| 7 |
from .layers import CustomLinear, CustomDiagonalLinear, Gate, CustomLinearInitialized
|
| 8 |
|
| 9 |
class LowRankApproxSelectFirst(nn.Module):
|