Instructions to use mispeech/ced-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/ced-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="mispeech/ced-tiny", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForAudioClassification model = AutoModelForAudioClassification.from_pretrained("mispeech/ced-tiny", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8f012e2
1
Parent(s): b05bda1
Update model codes repo.
Browse files
README.md
CHANGED
|
@@ -28,14 +28,8 @@ Augmentation and knowledge distillation (KD) are well-established techniques emp
|
|
| 28 |
## Uses
|
| 29 |
|
| 30 |
```bash
|
| 31 |
-
git clone https://
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
Make sure the following dependencies are installed:
|
| 35 |
-
```
|
| 36 |
-
transformers
|
| 37 |
-
torch
|
| 38 |
-
torchaudio
|
| 39 |
```
|
| 40 |
|
| 41 |
```python
|
|
|
|
| 28 |
## Uses
|
| 29 |
|
| 30 |
```bash
|
| 31 |
+
git clone https://github.com/jimbozhang/hf_transformers_custom_model_ced.git
|
| 32 |
+
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
```
|
| 34 |
|
| 35 |
```python
|