Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

zeromodels
/
s2t-medium-librispeech-asr

Automatic Speech Recognition
ZeroModels
Keras
PyTorch
JAX
google-tensorflow TensorFlow
speech2text
s2t
librispeech
audio
Model card Files Files and versions
xet
Community

Instructions to use zeromodels/s2t-medium-librispeech-asr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • ZeroModels

    How to use zeromodels/s2t-medium-librispeech-asr with ZeroModels:

    # pip install -U zeromodels
    # ZeroModels is pure Keras 3, so pick a backend: "jax", "torch" or "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    from zeromodels import AutoZModel
    
    # AutoZModel reads the repo's model_type and loads the matching class.
    # For a task head use the matching loader, e.g. AutoZMImageClassify / AutoZMDetect /
    # AutoZMSemanticSegment / AutoZMTextGenerate (see zeromodels.auto).
    model = AutoZModel.from_weights("zeromodels/s2t-medium-librispeech-asr")
    
  • Keras

    How to use zeromodels/s2t-medium-librispeech-asr 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://zeromodels/s2t-medium-librispeech-asr")
    
  • Notebooks
  • Google Colab
  • Kaggle
s2t-medium-librispeech-asr
321 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
IMvision12's picture
IMvision12
Fix Collection badge link to the current zeromodels collection slug
8bf0c05 verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    3.58 kB
    Fix Collection badge link to the current zeromodels collection slug 2 months ago
  • model.weights.h5
    320 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • spm.model
    417 kB
    xet
    Upload folder using huggingface_hub 3 months ago
  • vocab.json
    235 kB
    Upload folder using huggingface_hub 3 months ago
  • zm_config.json
    905 Bytes
    Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge) 2 months ago
  • zm_preprocessor.json
    400 Bytes
    Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge) 2 months ago