Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

SivaMallikarjun
/
herbivorous-food-model

Text Classification
Transformers
agriculture
herbivorous food
plant classification
Model card Files Files and versions
xet
Community

Instructions to use SivaMallikarjun/herbivorous-food-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SivaMallikarjun/herbivorous-food-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SivaMallikarjun/herbivorous-food-model")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("SivaMallikarjun/herbivorous-food-model", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
herbivorous-food-model
4.13 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
SivaMallikarjun's picture
SivaMallikarjun
Update main.py
b49f5b6 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    282 Bytes
    Create README.md over 1 year ago
  • main.py
    1.38 kB
    Update main.py over 1 year ago
  • model_card.json
    394 Bytes
    Create model_card.json over 1 year ago
  • requirements.txt
    53 Bytes
    Create requirements.txt over 1 year ago
  • test_data.csv
    165 Bytes
    Create test_data.csv over 1 year ago
  • train_data.csv
    331 Bytes
    Create train_data.csv over 1 year ago