Instructions to use langningchen/luogu-captcha-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use langningchen/luogu-captcha-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://langningchen/luogu-captcha-model") - Notebooks
- Google Colab
- Kaggle
Release validated best 94.26% model: rename FP16, add INT8 (1.74MB, 94.34% acc), and restore clean assets
7604603 verified Download metadata.json from langningchen/luogu-captcha-model: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/langningchen/luogu-captcha-model/resolve/main/metadata.json
- Command line
-
hf download hf://langningchen/luogu-captcha-model/metadata.json
-
curl -L -o metadata.json https://huggingface.co/langningchen/luogu-captcha-model/resolve/main/metadata.json
184 Bytes
| { | |
| "alphabet": "abcdefghijklmnopqrstuvwxyz123456789", | |
| "captcha_length": 4, | |
| "image_height": 35, | |
| "image_width": 90, | |
| "best_val_accuracy": 0.9426, | |
| "onnx_int8_accuracy": 0.9434 | |
| } |