Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

zanegraper
/
ag_query_classifier

Text Classification
Transformers
Safetensors
English
bert
agriculture
agronomy
query-classification
farming
corn
soybeans
rag
routing
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use zanegraper/ag_query_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zanegraper/ag_query_classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="zanegraper/ag_query_classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("zanegraper/ag_query_classifier")
    model = AutoModelForSequenceClassification.from_pretrained("zanegraper/ag_query_classifier")
  • Notebooks
  • Google Colab
  • Kaggle
ag_query_classifier
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
zanegraper's picture
zanegraper
Update README.md
2f2d0bf verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    1.38 kB
    Update README.md about 2 months ago
  • config.json
    2.23 kB
    Upload 5 files about 2 months ago
  • model.safetensors
    134 MB
    xet
    Upload 5 files about 2 months ago
  • tokenizer.json
    711 kB
    Upload 5 files about 2 months ago
  • tokenizer_config.json
    351 Bytes
    Upload 5 files about 2 months ago
  • training_args.bin
    5.2 kB
    xet
    Upload 5 files about 2 months ago