|
Download README.md from KothaGPT/readability-classifier: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/KothaGPT/readability-classifier/resolve/main/README.md
- Command line
-
hf download hf://KothaGPT/readability-classifier/README.md
-
curl -L -o README.md https://huggingface.co/KothaGPT/readability-classifier/resolve/main/README.md
465 Bytes
Readability Classifier
Task: Age-appropriate readability classification
Labels
- 6-8
- 9-10
- 11-12
- general
Training
To train this model, install transformers and run:
pip install transformers datasets
python scripts/train_classifier.py --task readability --data datasets/processed/
Usage
from bilingual import bilingual_api as bb
# Use the classifier
result = bb.readability_check("Your text here")
print(result)