Run this model with HF Jobs
Run klue/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/klue/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/klue/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 klue/roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use klue/roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="klue/roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("klue/roberta-base") model = AutoModelForMaskedLM.from_pretrained("klue/roberta-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
james.ryu commited on
Commit ·
436ec9c
1
Parent(s): af74d6b
fix: model_max_length to 514
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:299e29a67c582c7f6b014a6581762aa4d59173adf45fb0e6a8c171f107abf21csize 442653775123version https://git-lfs.github.com/spec/v1oid sha256:46013dcb8f5675acdbeee3c4d17df7b42051d6e1b573f5523f1c3c1faa1479a6size 442694866
pytorch_model.bin+2-2