Instructions to use confit/hubert-base-spkreg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use confit/hubert-base-spkreg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="confit/hubert-base-spkreg", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("confit/hubert-base-spkreg", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -64,7 +64,7 @@
|
|
| 64 |
"layer_norm_eps": 1e-05,
|
| 65 |
"layerdrop": 0.1,
|
| 66 |
"loss_fct": "cross_entropy",
|
| 67 |
-
"margin": 0.
|
| 68 |
"mask_feature_length": 10,
|
| 69 |
"mask_feature_min_masks": 0,
|
| 70 |
"mask_feature_prob": 0.0,
|
|
|
|
| 64 |
"layer_norm_eps": 1e-05,
|
| 65 |
"layerdrop": 0.1,
|
| 66 |
"loss_fct": "cross_entropy",
|
| 67 |
+
"margin": 0.3,
|
| 68 |
"mask_feature_length": 10,
|
| 69 |
"mask_feature_min_masks": 0,
|
| 70 |
"mask_feature_prob": 0.0,
|