Instructions to use YiqiLi/KlaBenchmark with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use YiqiLi/KlaBenchmark 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://YiqiLi/KlaBenchmark") - Notebooks
- Google Colab
- Kaggle
Download checkpoint/DeepKla/preprocess.json from YiqiLi/KlaBenchmark: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/YiqiLi/KlaBenchmark/resolve/main/checkpoint/DeepKla/preprocess.json
- Command line
-
hf download hf://YiqiLi/KlaBenchmark/checkpoint/DeepKla/preprocess.json
-
curl -L -o preprocess.json https://huggingface.co/YiqiLi/KlaBenchmark/resolve/main/checkpoint/DeepKla/preprocess.json
473 Bytes
| { | |
| "seq_len": 51, | |
| "vocab": { | |
| "_": 0, | |
| "A": 1, | |
| "C": 2, | |
| "D": 3, | |
| "E": 4, | |
| "F": 5, | |
| "G": 6, | |
| "H": 7, | |
| "I": 8, | |
| "K": 9, | |
| "L": 10, | |
| "M": 11, | |
| "N": 12, | |
| "P": 13, | |
| "Q": 14, | |
| "R": 15, | |
| "S": 16, | |
| "T": 17, | |
| "V": 18, | |
| "W": 19, | |
| "Y": 20, | |
| "X": 21 | |
| }, | |
| "cleaning": { | |
| "padding_token": "_", | |
| "unknown_token": "X", | |
| "keep_existing_x": true, | |
| "map_non_standard_to": "X", | |
| "pad_truncate_to": 51 | |
| } | |
| } | |