Run this model with HF Jobs
Run vantan/longformer-text-classification 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/vantan/longformer-text-classification. 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/vantan/longformer-text-classification 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 vantan/longformer-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vantan/longformer-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vantan/longformer-text-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("vantan/longformer-text-classification") model = AutoModelForSequenceClassification.from_pretrained("vantan/longformer-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 3894
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:903a8f9a77b6ebdc99ce80c5207e3cb2b7895d5473717b0be979b58885781c60size 594690488123version https://git-lfs.github.com/spec/v1oid sha256:d89aa38163007c7c5924da0b2d9292b56dcdbf5bdf2908056d238107639a2d65size 594690488
123version https://git-lfs.github.com/spec/v1oid sha256:5a02260652f8e74596bdd8a200f4892b15bf40d56836b7676e891ff83dc1e774size 5112123version https://git-lfs.github.com/spec/v1oid sha256:f22770526dbc425ccfb67f0cd9bd78ccee6b2779185881b50bf08b2045cd6590size 5112
model.safetensors+1-1
training_args.bin+1-1