Instructions to use Atotti/Google-USM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Atotti/Google-USM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Atotti/Google-USM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Atotti/Google-USM") model = AutoModel.from_pretrained("Atotti/Google-USM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -30,8 +30,6 @@ license: gemma
|
|
| 30 |
|
| 31 |
## How to Use
|
| 32 |
|
| 33 |
-
このモデル(音声エンコーダー)と、元モデルの`Feature Extractor`を組み合わせて使用します。
|
| 34 |
-
|
| 35 |
```python
|
| 36 |
import torch
|
| 37 |
import soundfile as sf
|
|
|
|
| 30 |
|
| 31 |
## How to Use
|
| 32 |
|
|
|
|
|
|
|
| 33 |
```python
|
| 34 |
import torch
|
| 35 |
import soundfile as sf
|