Audio-Text-to-Text
Transformers
Safetensors
English
Korean
fastslm
feature-extraction
audio
text-generation
custom_code
Eval Results
Instructions to use okestro-ai-lab/FastSLM-ASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use okestro-ai-lab/FastSLM-ASR with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("okestro-ai-lab/FastSLM-ASR", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update modeling_symphony.py
Browse files- modeling_symphony.py +1 -0
modeling_symphony.py
CHANGED
|
@@ -5,6 +5,7 @@ import torch.nn as nn
|
|
| 5 |
import torchaudio
|
| 6 |
import torch.nn.functional as F
|
| 7 |
import numpy as np
|
|
|
|
| 8 |
from torch import Tensor
|
| 9 |
from einops import rearrange
|
| 10 |
from typing import Optional, List
|
|
|
|
| 5 |
import torchaudio
|
| 6 |
import torch.nn.functional as F
|
| 7 |
import numpy as np
|
| 8 |
+
import whisper
|
| 9 |
from torch import Tensor
|
| 10 |
from einops import rearrange
|
| 11 |
from typing import Optional, List
|