Audio Classification
Transformers
Safetensors
English
eat
feature-extraction
Audio
SSL
EAT
flexEAT
audio embeddings
audio features
custom_code
Instructions to use HTill/flexEAT-base_epoch30_pretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HTill/flexEAT-base_epoch30_pretrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="HTill/flexEAT-base_epoch30_pretrain", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HTill/flexEAT-base_epoch30_pretrain", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update eat_model.py
Browse files- eat_model.py +1 -1
eat_model.py
CHANGED
|
@@ -19,7 +19,7 @@ class EAT(nn.Module):
|
|
| 19 |
patch_size=config.patch_size,
|
| 20 |
in_chans=config.in_chans,
|
| 21 |
embed_dim=config.embed_dim,
|
| 22 |
-
stride=config.stride
|
| 23 |
use_sincos_pos=config.fixed_positions
|
| 24 |
)
|
| 25 |
|
|
|
|
| 19 |
patch_size=config.patch_size,
|
| 20 |
in_chans=config.in_chans,
|
| 21 |
embed_dim=config.embed_dim,
|
| 22 |
+
stride=config.stride,
|
| 23 |
use_sincos_pos=config.fixed_positions
|
| 24 |
)
|
| 25 |
|