Run this model with HF Jobs
Run vaibhav9/custom-roberta 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/vaibhav9/custom-roberta. 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/vaibhav9/custom-roberta 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 vaibhav9/custom-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vaibhav9/custom-roberta with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="vaibhav9/custom-roberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("vaibhav9/custom-roberta") model = AutoModelForQuestionAnswering.from_pretrained("vaibhav9/custom-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (11)
- .gitignoreAdded+1
- config.jsonAdded+30
- merges.txtAdded
- pytorch_model.binAdded+3
- runs/Jan31_09-46-04_455c0dc3390d/1675158411.1323113/events.out.tfevents.1675158411.455c0dc3390d.208.3Added+3
- runs/Jan31_09-46-04_455c0dc3390d/events.out.tfevents.1675158411.455c0dc3390d.208.2Added+3
- special_tokens_map.jsonAdded+15
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+16
- training_args.binAdded+3
- vocab.jsonAdded
1checkpoint-*/123456789101112131415161718192021222324252627282930{ "_name_or_path": "deepset/tinyroberta-squad2", "architectures": [ "RobertaForQuestionAnswering" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 384, "initializer_range": 0.02, "intermediate_size": 3072, "language": "english", "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "name": "Roberta", "num_attention_heads": 12, "num_hidden_layers": 6, "pad_token_id": 1, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.26.0", "type_vocab_size": 1, "use_cache": true, "vocab_size": 50265}123version https://git-lfs.github.com/spec/v1oid sha256:d73096a45d7902cb58feaae38ccf2bf054497d85e8d39605c18ac61d6518a522size 326156909123version https://git-lfs.github.com/spec/v1oid sha256:98f507a72af7af7da920a6c1894188050e3e8595df9bc5069630aafbcc491137size 5682123version https://git-lfs.github.com/spec/v1oid sha256:3b49514bbecab32f7bcdcf612020a30c9e69c9d750712f7689f1bd8a359dc4a0size 4119123456789101112131415{ "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}12345678910111213141516{ "add_prefix_space": false, "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "errors": "replace", "mask_token": "<mask>", "model_max_length": 512, "name_or_path": "deepset/tinyroberta-squad2", "pad_token": "<pad>", "sep_token": "</s>", "special_tokens_map_file": null, "tokenizer_class": "RobertaTokenizer", "trim_offsets": true, "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:e608c891f63ef77d2562241f37b12f9e51a7ef481a67f9bdf5286889043cd51asize 3515.gitignoreAdded+1
config.jsonAdded+30
merges.txtAdded
pytorch_model.binAdded+3
runs/Jan31_09-46-04_455c0dc3390d/1675158411.1323113/events.out.tfevents.1675158411.455c0dc3390d.208.3Added+3
runs/Jan31_09-46-04_455c0dc3390d/events.out.tfevents.1675158411.455c0dc3390d.208.2Added+3
special_tokens_map.jsonAdded+15
tokenizer.jsonAdded
tokenizer_config.jsonAdded+16
training_args.binAdded+3
vocab.jsonAdded