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
File size: 473 Bytes
2c2b512 d28e880 2c2b512 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | {
"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
}
}
|