Run this model with HF Jobs
Run binwang/roberta-base 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/binwang/roberta-base. 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/binwang/roberta-base 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 binwang/roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use binwang/roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="binwang/roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("binwang/roberta-base") model = AutoModelForMaskedLM.from_pretrained("binwang/roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files4 unmodified lines56789101122 unmodified lines343536373839403 unmodified lines444546474 unmodified lines"attention_probs_dropout_prob": 0.1,"bos_token_id": 0,"do_sample": false,"eos_token_ids": 0,"finetuning_task": null,"hidden_act": "gelu","hidden_dropout_prob": 0.1,22 unmodified lines"output_attentions": false,"output_hidden_states": true,"output_past": true,"pad_token_id": 0,"pruned_heads": {},"repetition_penalty": 1.0,"temperature": 1.0,3 unmodified lines"type_vocab_size": 1,"use_bfloat16": false,"vocab_size": 50265}4 unmodified lines567891022 unmodified lines3334353637383 unmodified lines424344454 unmodified lines"attention_probs_dropout_prob": 0.1,"bos_token_id": 0,"do_sample": false,"finetuning_task": null,"hidden_act": "gelu","hidden_dropout_prob": 0.1,22 unmodified lines"output_attentions": false,"output_hidden_states": true,"output_past": true,"pruned_heads": {},"repetition_penalty": 1.0,"temperature": 1.0,3 unmodified lines"type_vocab_size": 1,"use_bfloat16": false,"vocab_size": 50265}
config.json+1-3