Text Classification
Transformers
PyTorch
Safetensors
English
bert
fast
monarch-matrices
mnli
efficiency
triton
hardware-efficient
sub-quadratic
fast-inference
h100-optimized
custom_code
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run ykae/monarch-bert-base-mnli on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ykae/monarch-bert-base-mnli. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ykae/monarch-bert-base-mnli on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ykae/monarch-bert-base-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ykae/monarch-bert-base-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ykae/monarch-bert-base-mnli", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ykae/monarch-bert-base-mnli", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("ykae/monarch-bert-base-mnli", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files70 unmodified lines7172737475767770 unmodified lines| **Compute (GFLOPs)** | 696.5 | **232.6** | π **-66.6%** || **Throughput (TPS)** | 7261 | **9029** | π **+24.3%** || **Latency (Batch 32)** | 4.41 ms | **3.54 ms** | β‘ **+24.6% Faster** || **Accuracy (MNLI)** | 83.62% | **78.34%** | π **-5.28% (towards 1% acc drop)****Our compression scales predictably: as training data increases, the accuracy deficit converges toward zero.**70 unmodified lines7172737475767770 unmodified lines| **Compute (GFLOPs)** | 696.5 | **232.6** | π **-66.6%** || **Throughput (TPS)** | 7261 | **9029** | π **+24.3%** || **Latency (Batch 32)** | 4.41 ms | **3.54 ms** | β‘ **+24.6% Faster** || **Accuracy (MNLI)** | 83.62% | **78.34%** | π **-5.28% (towards 0% acc drop)****Our compression scales predictably: as training data increases, the accuracy deficit converges toward zero.**
README.md+1-1