Run this model with HF Jobs
Run trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5 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/trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5. 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/trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5 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 trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5") model = AutoModelForSequenceClassification.from_pretrained("trl-internal-testing/tiny-Qwen2ForSequenceClassification-2.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload Qwen2ForSequenceClassification
Browse filesFiles changed (2)
- config.json+1-1
- model.safetensors+1-1
30 unmodified lines3132333435363730 unmodified lines"rope_theta": 1000000.0,"sliding_window": null,"tie_word_embeddings": false,"transformers_version": "4.56.2","use_cache": true,"use_sliding_window": false,"vocab_size": 15206430 unmodified lines3132333435363730 unmodified lines"rope_theta": 1000000.0,"sliding_window": null,"tie_word_embeddings": false,"transformers_version": "4.57.3","use_cache": true,"use_sliding_window": false,"vocab_size": 152064
123version https://git-lfs.github.com/spec/v1oid sha256:2e3c0e9a91df349305716b89edb6e513865b7d419d09f659c49ffa0a0c31ed90size 4878392123version https://git-lfs.github.com/spec/v1oid sha256:9def9701f13c7417b49b5c7f2ec2a6f44647edaa8ac4febf0a8862ab29f93cb5size 4878392
config.json+1-1
model.safetensors+1-1