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

kerasformers
/
gpt2_large

Text Generation
KerasFormers
Keras
PyTorch
JAX
google-tensorflow TensorFlow
gpt2
Model card Files Files and versions
xet
Community

Instructions to use kerasformers/gpt2_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • KerasFormers

    How to use kerasformers/gpt2_large with KerasFormers:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Keras

    How to use kerasformers/gpt2_large with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://kerasformers/gpt2_large")
    
  • Notebooks
  • Google Colab
  • Kaggle
gpt2_large
3.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
IMvision12's picture
IMvision12
Upload kf_config.json with huggingface_hub
c5d75e4 verified about 11 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 13 hours ago
  • README.md
    767 Bytes
    Upload folder using huggingface_hub about 13 hours ago
  • kf_config.json
    397 Bytes
    Upload kf_config.json with huggingface_hub about 11 hours ago
  • model.weights.json
    14.6 kB
    Upload folder using huggingface_hub about 13 hours ago
  • model_00000.weights.h5
    1.81 GB
    xet
    Upload folder using huggingface_hub about 13 hours ago
  • model_00001.weights.h5
    1.29 GB
    xet
    Upload folder using huggingface_hub about 13 hours ago
  • tokenizer.json
    1.36 MB
    Upload folder using huggingface_hub about 13 hours ago