Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

ash001
/
hamlet-nextword-lstm

Text Generation
TF-Keras
Keras
English
nlp
next-word-prediction
lstm
shakespeare
hamlet
tensorflow
streamlit
Model card Files Files and versions
xet
Community

Instructions to use ash001/hamlet-nextword-lstm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • TF-Keras

    How to use ash001/hamlet-nextword-lstm with TF-Keras:

    # Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
    # See https://github.com/keras-team/tf-keras for more details.
    from huggingface_hub import from_pretrained_keras
    
    model = from_pretrained_keras("ash001/hamlet-nextword-lstm")
    
  • Keras

    How to use ash001/hamlet-nextword-lstm with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://ash001/hamlet-nextword-lstm")
    
  • Notebooks
  • Google Colab
  • Kaggle
hamlet-nextword-lstm
27.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ash001's picture
ash001
Update README.md
69746bb verified 5 months ago
  • artifacts
    Upload folder using huggingface_hub 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    2.69 kB
    Update README.md 5 months ago
  • hamlet.txt
    168 kB
    Upload hamlet.txt 6 months ago