Instructions to use SpeechFlow/spoken_language_identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use SpeechFlow/spoken_language_identification with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("SpeechFlow/spoken_language_identification") - Keras
How to use SpeechFlow/spoken_language_identification with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://SpeechFlow/spoken_language_identification") - Notebooks
- Google Colab
- Kaggle
Commit ·
6940bfc
1
Parent(s): 0813117
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
metrics:
|
| 4 |
- accuracy
|
| 5 |
-
pipeline_tag: audio-classification
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
- zh
|
|
@@ -17,7 +16,6 @@ language:
|
|
| 17 |
- it
|
| 18 |
- ru
|
| 19 |
- id
|
| 20 |
-
|
| 21 |
tags:
|
| 22 |
- keras
|
| 23 |
- tensorflow
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
metrics:
|
| 4 |
- accuracy
|
|
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
- zh
|
|
|
|
| 16 |
- it
|
| 17 |
- ru
|
| 18 |
- id
|
|
|
|
| 19 |
tags:
|
| 20 |
- keras
|
| 21 |
- tensorflow
|