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
Download test_data.csv from SivaMallikarjun/herbivorous-food-model: direct link, hf CLI and curl.
- Browser
- Download file 165 Bytes
-
https://huggingface.co/SivaMallikarjun/herbivorous-food-model/resolve/main/test_data.csv
- Command line
-
hf download hf://SivaMallikarjun/herbivorous-food-model/test_data.csv
-
curl -L -o test_data.csv https://huggingface.co/SivaMallikarjun/herbivorous-food-model/resolve/main/test_data.csv
165 Bytes
| text,category | |
| "Hydroponic farming for sustainable food","water-plant" | |
| "Grass-based diet optimization for herbivores","grass" | |
| "Orchid hybridization methods","orchid" | |