Identify and categorize tokens in text for Named Entity Recognition (NER), Part-of-Speech tagging, and other NLP tasks
Basic usage
Send a text input to classify individual tokens:
Copy
import Bytez from 'bytez.js'const sdk = new Bytez("BYTEZ_KEY");const model = sdk.model("dslim/bert-base-NER");await model.create()const { error, output } = await model.run("John Doe is a software engineer at Google");console.log({ error, output })