Text Classification
Transformers
PyTorch
Safetensors
English
bert
Trained with AutoTrain
text-embeddings-inference
Run this model with HF Jobs
Run EricPeter/comments-text-classification-model 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/EricPeter/comments-text-classification-model. 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/EricPeter/comments-text-classification-model 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.
Instructions to use EricPeter/comments-text-classification-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EricPeter/comments-text-classification-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EricPeter/comments-text-classification-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("EricPeter/comments-text-classification-model") model = AutoModelForSequenceClassification.from_pretrained("EricPeter/comments-text-classification-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f2b7bbf
1
Parent(s): 8040d90
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (c06541d4f5b202f7bdb26280548208591d1a59d6)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
Files changed (2)
- .gitattributes+1
- model.safetensorsAdded+3
30 unmodified lines31323330 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -text*.bin.* filter=lfs diff=lfs merge=lfs -text*.tar.gz filter=lfs diff=lfs merge=lfs -text30 unmodified lines3132333430 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -text*.bin.* filter=lfs diff=lfs merge=lfs -text*.tar.gz filter=lfs diff=lfs merge=lfs -textmodel.safetensors filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:d8a44e8897e04b7868c8eab0d31de5b89859ac35f7fd87c9536489006a07eb77size 1334388748.gitattributes+1
model.safetensorsAdded+3