Instructions to use domnasrabadi/juree_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use domnasrabadi/juree_v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="domnasrabadi/juree_v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("domnasrabadi/juree_v1") model = AutoModelForSequenceClassification.from_pretrained("domnasrabadi/juree_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Using combined dataset from multiple sources for safe vs unsafe text classification.
This is an initial experiment with results below:
{'test_loss': 0.0818108394742012,
'test_accuracy': 0.9797578509269769,
'test_f1': 0.9796642969399756,
'test_recall': 0.9901676829268292,
'test_precision': 0.9854357885155124,
'test_runtime': 75.8752,
'test_samples_per_second': 209.001,
'test_steps_per_second': 13.074}
142k samples for train, 15k for test.
metrics: - accuracy - recall - precision - f1 pipeline_tag: text-classification
- Downloads last month
- 4