Instructions to use legal-pythia/crime-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use legal-pythia/crime-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="legal-pythia/crime-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("legal-pythia/crime-classifier") model = AutoModelForSequenceClassification.from_pretrained("legal-pythia/crime-classifier") - Notebooks
- Google Colab
- Kaggle
README.md exists but content is empty.
- Downloads last month
- 11
Model tree for legal-pythia/crime-classifier
Base model
distilbert/distilbert-base-uncased