Text Classification
Transformers
PyTorch
Safetensors
German
bert
easy-language
plain-language
leichte-sprache
einfache-sprache
text-complexity
text-embeddings-inference
Instructions to use krupper/text-complexity-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use krupper/text-complexity-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="krupper/text-complexity-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("krupper/text-complexity-classification") model = AutoModelForSequenceClassification.from_pretrained("krupper/text-complexity-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.txt from krupper/text-complexity-classification: direct link, hf CLI and curl.
- Browser
- Download file 57 Bytes
-
https://huggingface.co/krupper/text-complexity-classification/resolve/main/eval_results.txt
- Command line
-
hf download hf://krupper/text-complexity-classification/eval_results.txt
-
curl -L -o eval_results.txt https://huggingface.co/krupper/text-complexity-classification/resolve/main/eval_results.txt
57 Bytes
| eval_loss = 0.22631516147161315 | |
| mcc = 0.9569359928234108 | |