Instructions to use kerasformers/gpt2_medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/gpt2_medium 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_medium 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_medium") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
57045b2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4bb85b54ff28ae558a197b3b208cc5e83e2f6d29ad102dd1a2ce1677b37e7b70
size 1419838296
|