Instructions to use karths/binary_classification_train_secu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_secu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_secu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_secu") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_secu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download metrics_std.json from karths/binary_classification_train_secu: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/karths/binary_classification_train_secu/resolve/main/metrics_std.json
- Command line
-
hf download hf://karths/binary_classification_train_secu/metrics_std.json
-
curl -L -o metrics_std.json https://huggingface.co/karths/binary_classification_train_secu/resolve/main/metrics_std.json
208 Bytes
| { | |
| "precision": 0.009763845553774957, | |
| "recall": 0.011618093292986256, | |
| "f1": 0.010690066219243916, | |
| "auc": 0.002129851766811341, | |
| "acc": 0.010627752423803014, | |
| "mcc": 0.021252890849711107 | |
| } |