Bytez home pagelight logodark logo
  • Discord
  • Get support
  • Bytez-com/docs
  • Bytez-com/docs
Tasks
Text Classification
Docs
HTTP Reference
Integrations
API status
Model API
  • Welcome
  • Get started
  • Understand the API
  • Tasks
    • Audio Classification
    • Automatic Speech Recognition
    • Chat
    • Depth Estimation
    • Document Question Answering
    • Feature Extraction
    • Fill Mask
    • Image Classification
    • Image Feature Extraction
    • Image Segmentation
    • Image-to-Text
    • Mask Generation
    • Object Detection
    • Question Answering
    • Sentence Similarity
    • Summarization
    • Text Classification
    • Text Generation
    • Image Generation
    • Text-to-Speech
    • Text-to-Text Generation
    • Text-to-Video
    • Token Classification
    • Translation
    • Unconditional Image Generation
    • Video Classification
    • Visual Question Answering
    • Zero Shot Classification
    • Zero Shot Image Classification
    • Zero Shot Object Detection
Tasks

Text Classification

Categorize text into predefined classes for applications like sentiment analysis, spam detection, and topic classification

Example, sentiment analysis:

import Bytez from 'bytez.js'

const sdk = new Bytez("BYTEZ_KEY");
const model = sdk.model("AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon");

await model.create()

const { error, output } = await model.run("We are furious with the results of the experiment!");

console.log({ error, output })
SummarizationText Generation
xgithublinkedindiscord
Powered by Mintlify