Text Classification
Transformers
ONNX
Safetensors
English
roberta
finance
accounting
spend-classification
procurement
text-embeddings-inference
Run this model with HF Jobs
Run Saeedhoj/spendcoder-distilroberta 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/Saeedhoj/spendcoder-distilroberta. 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/Saeedhoj/spendcoder-distilroberta 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 Saeedhoj/spendcoder-distilroberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Saeedhoj/spendcoder-distilroberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Saeedhoj/spendcoder-distilroberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Saeedhoj/spendcoder-distilroberta") model = AutoModelForSequenceClassification.from_pretrained("Saeedhoj/spendcoder-distilroberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
23 days ago
-
int8 ONNX (83 MB) for small CPU servers: test accuracy 0.666, macro F1 0.573
Verified signature0a06089 -
Upload README.md with huggingface_hub
Verified signature09dc826 -
Upload folder using huggingface_hub
Verified signaturef5a3393 -
Upload tokenizer
Verified signatured75c960 -
Run 2: 8 epochs, max length 96, class-weighted loss
Verified signatureeca8c0f -
Upload README.md with huggingface_hub
Verified signaturecfa1533 -
Upload folder using huggingface_hub
Verified signature5f872c2 -
Upload tokenizer
Verified signature1711437 -
Upload RobertaForSequenceClassification
Verified signatureec10e7a -
initial commit
Verified signature3462933