Instructions to use LayerFault/tensorflow-filesystem-write with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use LayerFault/tensorflow-filesystem-write 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("LayerFault/tensorflow-filesystem-write") - Notebooks
- Google Colab
- Kaggle
Download LAYERFAULT_CORPUS.json from LayerFault/tensorflow-filesystem-write: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/LayerFault/tensorflow-filesystem-write/resolve/main/LAYERFAULT_CORPUS.json
- Command line
-
hf download hf://LayerFault/tensorflow-filesystem-write/LAYERFAULT_CORPUS.json
-
curl -L -o LAYERFAULT_CORPUS.json https://huggingface.co/LayerFault/tensorflow-filesystem-write/resolve/main/LAYERFAULT_CORPUS.json
529 Bytes
| { | |
| "candidate_rules": [], | |
| "corpus_id": "LF-CORPUS-TF-0002", | |
| "description": "SavedModel bytes containing PrintV2 plus a synthetic file:// target.", | |
| "expected_rules": [ | |
| "LF-TF-FILESYSTEM-WRITE" | |
| ], | |
| "generator": "extra_formats.tensorflow_filesystem_write", | |
| "ground_truth": "synthetic-generated", | |
| "must_not_rules": [], | |
| "repo_name": "tensorflow-filesystem-write", | |
| "repo_type": "model", | |
| "safety": "inert/canary-only", | |
| "schema": 1, | |
| "validation": { | |
| "kind": "inspect", | |
| "target": "saved_model.pb" | |
| } | |
| } | |