Text Classification
Transformers
Safetensors
code
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run HuggingFaceTB/stack-edu-classifier-swift 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/HuggingFaceTB/stack-edu-classifier-swift. 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/HuggingFaceTB/stack-edu-classifier-swift 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 HuggingFaceTB/stack-edu-classifier-swift with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuggingFaceTB/stack-edu-classifier-swift with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HuggingFaceTB/stack-edu-classifier-swift")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/stack-edu-classifier-swift") model = AutoModelForSequenceClassification.from_pretrained("HuggingFaceTB/stack-edu-classifier-swift", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 31000
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:36969f060225a7a4f0233ea4c0384f62417cc646dc54e104c4bad61f68006e90size 496772092123version https://git-lfs.github.com/spec/v1oid sha256:1d2a34a5002f1535136696f31cf719b3905a79eae8fbc8d4b01b27d7665d0a33size 496772092
model.safetensors+1-1