Run this model with HF Jobs
Run shogumbo/testing2-multilabel-classifier 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/shogumbo/testing2-multilabel-classifier. 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/shogumbo/testing2-multilabel-classifier 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 shogumbo/testing2-multilabel-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shogumbo/testing2-multilabel-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shogumbo/testing2-multilabel-classifier", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("shogumbo/testing2-multilabel-classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from shogumbo/testing2-multilabel-classifier: direct link, hf CLI and curl.
- Browser
- Download file 889 Bytes
-
https://huggingface.co/shogumbo/testing2-multilabel-classifier/resolve/main/config.json
- Command line
-
hf download hf://shogumbo/testing2-multilabel-classifier/config.json
-
curl -L -o config.json https://huggingface.co/shogumbo/testing2-multilabel-classifier/resolve/main/config.json
889 Bytes
| { | |
| "_name_or_path": "multilabel_bert_base_uncased", | |
| "architectures": [ | |
| "MultiLabelClassifierModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration.MultiLabelClassifierConfig", | |
| "AutoModelForSequenceClassification": "model.MultiLabelClassifierModel" | |
| }, | |
| "bidirectional": true, | |
| "dropout": 0.3, | |
| "embedding_dim": 768, | |
| "hidden_dim": 256, | |
| "id2label": { | |
| "0": "Amusing", | |
| "1": "Emotional", | |
| "2": "Suspenseful", | |
| "3": "Dark", | |
| "4": "Thrilling" | |
| }, | |
| "label2id": { | |
| "Amusing": 0, | |
| "Dark": 3, | |
| "Emotional": 1, | |
| "Suspenseful": 2, | |
| "Thrilling": 4 | |
| }, | |
| "labels": [ | |
| "Amusing", | |
| "Emotional", | |
| "Suspenseful", | |
| "Dark", | |
| "Thrilling" | |
| ], | |
| "model_type": "multi_label_classification", | |
| "num_classes": 5, | |
| "num_layers": 2, | |
| "torch_dtype": "float32", | |
| "transformer_name": "bert-base-uncased", | |
| "transformers_version": "4.21.1" | |
| } | |