Instructions to use recommender-system/impact-p with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use recommender-system/impact-p with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://recommender-system/impact-p") - Notebooks
- Google Colab
- Kaggle
Download Source Code/5. Reranking Algorithm.ipynb from recommender-system/impact-p: direct link, hf CLI and curl.
- Browser
- Download file 506 kB
-
https://huggingface.co/recommender-system/impact-p/resolve/main/Source%20Code/5.%20Reranking%20Algorithm.ipynb
- Command line
-
hf download 'hf://recommender-system/impact-p/Source Code/5. Reranking Algorithm.ipynb'
-
curl -L -o '5. Reranking Algorithm.ipynb' https://huggingface.co/recommender-system/impact-p/resolve/main/Source%20Code/5.%20Reranking%20Algorithm.ipynb
506 kB