Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Saeedhoj
/
spendcoder-distilroberta

Text Classification
Transformers
ONNX
Safetensors
English
roberta
finance
accounting
spend-classification
procurement
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
spendcoder-distilroberta
750 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Saeedhoj's picture
Saeedhoj
int8 ONNX (83 MB) for small CPU servers: test accuracy 0.666, macro F1 0.573
0a06089 verified 1 day ago
  • onnx-int8
    int8 ONNX (83 MB) for small CPU servers: test accuracy 0.666, macro F1 0.573 1 day ago
  • onnx
    Upload folder using huggingface_hub 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    2.37 kB
    Upload README.md with huggingface_hub 1 day ago
  • config.json
    1.78 kB
    Run 2: 8 epochs, max length 96, class-weighted loss 1 day ago
  • model.safetensors
    329 MB
    xet
    Run 2: 8 epochs, max length 96, class-weighted loss 1 day ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 1 day ago
  • tokenizer_config.json
    388 Bytes
    Upload tokenizer 1 day ago