Instructions to use Jjzzzz/agri_classifier_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jjzzzz/agri_classifier_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Jjzzzz/agri_classifier_bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Jjzzzz/agri_classifier_bert") model = AutoModelForSequenceClassification.from_pretrained("Jjzzzz/agri_classifier_bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json (#1)
Verified signature- Update config.json (e14d50c88bfa2ae9a66bb48e359d79531645c149) Co-authored-by: Gautam Rajeev <GautamR@users.noreply.huggingface.co>4d079df -
use_cache updated
Verified signatured62115d -
Update config.json
Verified signature3e2d714 -
Updated model commit
05f1902