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 config.json from Ismailalshofi/char-based-language-model: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/Ismailalshofi/char-based-language-model/resolve/main/config.json
- Command line
-
hf download hf://Ismailalshofi/char-based-language-model/config.json
-
curl -L -o config.json https://huggingface.co/Ismailalshofi/char-based-language-model/resolve/main/config.json
172 Bytes
| { | |
| "vocab_size": 106, | |
| "embedding_dim": 128, | |
| "rnn_units": 512, | |
| "dropout_rate": 0.2, | |
| "seq_length": 100, | |
| "total_chars": 4483812, | |
| "total_params": 1054058 | |
| } |