Instructions to use Wanjiru/ag_based_ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wanjiru/ag_based_ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Wanjiru/ag_based_ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Wanjiru/ag_based_ner") model = AutoModelForTokenClassification.from_pretrained("Wanjiru/ag_based_ner") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Wanjiru/ag_based_ner")
model = AutoModelForTokenClassification.from_pretrained("Wanjiru/ag_based_ner")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Fine tuned recobo/agriculture-bert-uncased for custom NER entities.
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Wanjiru/ag_based_ner")