Views
No views yet
O: Outside entityB-PLANT_COMMON: Beginning of common plant nameI-PLANT_COMMON: Inside common plant nameB-PLANT_SCI: Beginning of scientific plant nameI-PLANT_SCI: Inside scientific plant name1from transformers import pipeline
2classifier = pipeline("token-classification", "Dudeman523/roberta-plant-ner-fixed")
3result = classifier("I have a Rosa damascena plant")1import { pipeline } from '@xenova/transformers';
2const classifier = await pipeline('token-classification', 'Dudeman523/roberta-plant-ner-fixed');
3const result = await classifier('I have a Rosa damascena plant');