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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

NchuNLP
/
Agriculture-Classification

Text Classification
Transformers
PyTorch
Chinese
bert
Model card Files Files and versions
xet
Community
1

Instructions to use NchuNLP/Agriculture-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use NchuNLP/Agriculture-Classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="NchuNLP/Agriculture-Classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("NchuNLP/Agriculture-Classification")
    model = AutoModelForSequenceClassification.from_pretrained("NchuNLP/Agriculture-Classification")
  • Notebooks
  • Google Colab
  • Kaggle
Agriculture-Classification
409 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
NchuNLP's picture
NchuNLP
Update README.md
7235924 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.39 kB
    Update README.md almost 3 years ago
  • config.json
    892 Bytes
    Upload Model almost 3 years ago
  • pytorch_model.bin
    409 MB
    xet
    Upload Model almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload Model almost 3 years ago
  • tokenizer_config.json
    367 Bytes
    Upload Model almost 3 years ago
  • vocab.txt
    110 kB
    Upload Model almost 3 years ago