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