Run this model with HF Jobs
Run karths/binary_classification_train_usab 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/karths/binary_classification_train_usab. 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/karths/binary_classification_train_usab 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 karths/binary_classification_train_usab with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_usab with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_usab")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_usab") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_usab", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add ONNX export for CPU inference (no GPU required)
Browse filesFiles changed (3)
- model.onnxAdded+3
- tokenizer.json+3-1
- tokenizer_config.json+24-58
123version https://git-lfs.github.com/spec/v1oid sha256:4d497cf9775db46ec365d9a5bfb9214b6cef2f0e2e9a8906c59a28785d0fd5d6size 9286716 unmodified lines789101112136 unmodified lines"stride": 0},"padding": {"strategy": "BatchLongest","direction": "Right","pad_to_multiple_of": null,"pad_id": 1,6 unmodified lines7891011121314156 unmodified lines"stride": 0},"padding": {"strategy": {"Fixed": 512},"direction": "Right","pad_to_multiple_of": null,"pad_id": 1,
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{"add_prefix_space": false,"added_tokens_decoder": {"0": {"content": "<s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true},"1": {"content": "<pad>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true},"2": {"content": "</s>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true},"3": {"content": "<unk>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true},"50264": {"content": "<mask>","lstrip": true,"normalized": false,"rstrip": false,"single_word": false,"special": true}},"bos_token": "<s>","clean_up_tokenization_spaces": false,"cls_token": "<s>","eos_token": "</s>","errors": "replace","extra_special_tokens": {},"mask_token": "<mask>","model_max_length": 512,"pad_token": "<pad>","sep_token": "</s>","tokenizer_class": "RobertaTokenizer","trim_offsets": true,"unk_token": "<unk>"}123456789101112131415161718192021222324{"add_prefix_space": false,"backend": "tokenizers","bos_token": "<s>","clean_up_tokenization_spaces": false,"cls_token": "<s>","eos_token": "</s>","errors": "replace","is_local": false,"mask_token": "<mask>","max_length": 512,"model_max_length": 512,"pad_to_multiple_of": null,"pad_token": "<pad>","pad_token_type_id": 0,"padding_side": "right","sep_token": "</s>","stride": 0,"tokenizer_class": "RobertaTokenizer","trim_offsets": true,"truncation_side": "right","truncation_strategy": "longest_first","unk_token": "<unk>"}
model.onnxAdded+3
tokenizer.json+3-1
tokenizer_config.json+24-58