Instructions to use apwic/document-classification-cnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use apwic/document-classification-cnn with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("apwic/document-classification-cnn") - Notebooks
- Google Colab
- Kaggle
Download variables/variables.index from apwic/document-classification-cnn: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/apwic/document-classification-cnn/resolve/main/variables/variables.index
- Command line
-
hf download hf://apwic/document-classification-cnn/variables/variables.index
-
curl -L -o variables.index https://huggingface.co/apwic/document-classification-cnn/resolve/main/variables/variables.index
2.44 kB
This file contains binary data. It cannot be displayed, but you can still download it.