Instructions to use Skyflocka/keras-nested-lambda-bypass-poc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Skyflocka/keras-nested-lambda-bypass-poc 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://Skyflocka/keras-nested-lambda-bypass-poc") - Notebooks
- Google Colab
- Kaggle
Download lambda_structure_compare.json from Skyflocka/keras-nested-lambda-bypass-poc: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/Skyflocka/keras-nested-lambda-bypass-poc/resolve/main/lambda_structure_compare.json
- Command line
-
hf download hf://Skyflocka/keras-nested-lambda-bypass-poc/lambda_structure_compare.json
-
curl -L -o lambda_structure_compare.json https://huggingface.co/Skyflocka/keras-nested-lambda-bypass-poc/resolve/main/lambda_structure_compare.json
381 Bytes
| [ | |
| { | |
| "file": "tmp_poc/top_lambda_exec.keras", | |
| "top_layers": [ | |
| "InputLayer", | |
| "Lambda" | |
| ], | |
| "top_has_lambda": true, | |
| "recursive_lambda_count": 1 | |
| }, | |
| { | |
| "file": "tmp_poc/nested_lambda_exec.keras", | |
| "top_layers": [ | |
| "InputLayer", | |
| "Functional" | |
| ], | |
| "top_has_lambda": false, | |
| "recursive_lambda_count": 1 | |
| } | |
| ] |