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/PBertKla/preprocess.json from YiqiLi/KlaBenchmark: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/YiqiLi/KlaBenchmark/resolve/main/checkpoint/PBertKla/preprocess.json
- Command line
-
hf download hf://YiqiLi/KlaBenchmark/checkpoint/PBertKla/preprocess.json
-
curl -L -o preprocess.json https://huggingface.co/YiqiLi/KlaBenchmark/resolve/main/checkpoint/PBertKla/preprocess.json
435 Bytes
| { | |
| "cleaning": { | |
| "raw_sequence_semantics": { | |
| "_": "padding", | |
| "X": "unknown" | |
| }, | |
| "proteinbert_input_conversion": "locally map '_' and other non-standard chars to 'X' before ProteinBERT encoding" | |
| }, | |
| "expected_columns": [ | |
| "Sequence", | |
| "Label" | |
| ], | |
| "label_values": [ | |
| 0, | |
| 1 | |
| ], | |
| "seq_len": 45, | |
| "seq_len_semantics": "raw_amino_acid_length_excluding_START_END", | |
| "proteinbert_token_len": 47 | |
| } | |