Instructions to use Ismailalshofi/char-based-language-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Ismailalshofi/char-based-language-model 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://Ismailalshofi/char-based-language-model") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Ismailalshofi/char-based-language-model: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/Ismailalshofi/char-based-language-model/resolve/main/vocab.json
- Command line
-
hf download hf://Ismailalshofi/char-based-language-model/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Ismailalshofi/char-based-language-model/resolve/main/vocab.json
543 Bytes
| ["\n", " ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "]", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "{", "}", "£", "°", "´", "É", "á", "ã", "ç", "é", "í", "ò", "ö", "ü", "†", "…"] |