Run this model with HF Jobs
Run ai-research-lab/bert-question-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/ai-research-lab/bert-question-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/ai-research-lab/bert-question-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 ai-research-lab/bert-question-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-research-lab/bert-question-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ai-research-lab/bert-question-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ai-research-lab/bert-question-classifier") model = AutoModelForSequenceClassification.from_pretrained("ai-research-lab/bert-question-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
03d609d
1
Parent(s): 1c501b3
Upload BertForSequenceClassification
Browse files12345678910111213141516171819202122232425262728{"_name_or_path": "ai-research-lab/bert-question-classifier","architectures": ["BertForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"custom_pipelines": {"question-classifier": {"default": {"model": {"pt": ["ai-research-lab/bert-question-classifier","main"]}},"impl": "classifier_pipeline.MultiTaskClassifierPipeline","pt": ["AutoModelForSequenceClassification"],"tf": [],"type": "text"}},"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,12345678910{"_name_or_path": "google-bert/bert-large-uncased","architectures": ["BertForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,
config.json+1-19