Instructions to use samanehs/gpt2_imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use samanehs/gpt2_imdb with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://samanehs/gpt2_imdb") - Keras
How to use samanehs/gpt2_imdb with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://samanehs/gpt2_imdb") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6b26a1dbf7d954e024fb79ab8870bdf15e6f8fe94c1810dcd7be97b2fda15e1b
- Size of remote file:
- 498 MB
- SHA256:
- a187e6e8dab680308fcec2bb8f4655e16576ff52f6f0c644e6effc4ebde1e09d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.