Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use PracticalWork/ModernBERT-large-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PracticalWork/ModernBERT-large-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PracticalWork/ModernBERT-large-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PracticalWork/ModernBERT-large-classifier") model = AutoModelForSequenceClassification.from_pretrained("PracticalWork/ModernBERT-large-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from PracticalWork/ModernBERT-large-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.58 GB
-
https://huggingface.co/PracticalWork/ModernBERT-large-classifier/resolve/main/model.safetensors
- Command line
-
hf download hf://PracticalWork/ModernBERT-large-classifier/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/PracticalWork/ModernBERT-large-classifier/resolve/main/model.safetensors
1.58 GB
- Xet hash:
- 0241a236b5d90e9b0cf966f780121ad81de774d3d99efdfc73426b525431c44a
- Size of remote file:
- 1.58 GB
- SHA256:
- fc9fee581e76b6f2919b80f8a237eeb4430d099e6e5f23ba01deac9771c4db01
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.