Instructions to use labhamlet/gramt-ambisonics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use labhamlet/gramt-ambisonics with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="labhamlet/gramt-ambisonics", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("labhamlet/gramt-ambisonics", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -64,7 +64,7 @@ Cls : Break audio clips into non-overlapping 2 second chunks, and return the "[C
|
|
| 64 |
~~~python
|
| 65 |
from transformers import AutoModel, AutoFeatureExtractor
|
| 66 |
|
| 67 |
-
model = AutoModel.from_pretrained("labhamlet/gramt-
|
| 68 |
extractor = AutoFeatureExtractor.from_pretrained("labhamlet/gramt-ambisonics", trust_remote_code=True)
|
| 69 |
|
| 70 |
audio = torch.zeros([1,4,320000])
|
|
|
|
| 64 |
~~~python
|
| 65 |
from transformers import AutoModel, AutoFeatureExtractor
|
| 66 |
|
| 67 |
+
model = AutoModel.from_pretrained("labhamlet/gramt-ambisonics", trust_remote_code=True)
|
| 68 |
extractor = AutoFeatureExtractor.from_pretrained("labhamlet/gramt-ambisonics", trust_remote_code=True)
|
| 69 |
|
| 70 |
audio = torch.zeros([1,4,320000])
|