Run this model with HF Jobs

Run Finesse4002/yahoo-answers-bert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Finesse4002/yahoo-answers-bert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Finesse4002/yahoo-answers-bert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers.js library
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';

// Allocate pipeline
const pipe = await pipeline('text-classification', 'Finesse4002/yahoo-answers-bert');

Yahoo! Answers topic classification (Base BERT, fine-tuned)

10-class classifier for Yahoo! Answers questions (title + content): Society & Culture, Science & Mathematics, Health, Education & Reference, Computers & Internet, Sports, Business & Finance, Entertainment, Family & Relationships, Politics & Government.

Winner of 11 models trained in the CSE440 lab project notebook: test 70.02% accuracy / 0.696 macro-F1 (10k stratified official-test subsample). This copy is int8-quantized ONNX for in-browser inference with transformers.js (dtype q8), reproducing the torch model within 0.1 pt (0.6990 measured).

Training: lr=2e-5, batch=32, 2 epochs, seed 42, lemmatized text, max_len=96.

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Finesse4002/yahoo-answers-bert

Quantized
(53)
this model