Run this model with HF Jobs
Run Kyrmasch/xml-roberta-model-qa 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/Kyrmasch/xml-roberta-model-qa. 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/Kyrmasch/xml-roberta-model-qa 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 Kyrmasch/xml-roberta-model-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kyrmasch/xml-roberta-model-qa 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="Kyrmasch/xml-roberta-model-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Kyrmasch/xml-roberta-model-qa") model = AutoModelForQuestionAnswering.from_pretrained("Kyrmasch/xml-roberta-model-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
500
Browse filesFiles changed (7)
- optimizer.pt+1-1
- pytorch_model.bin+1-1
- rng_state.pth+1-1
- scheduler.pt+1-1
- tokenizer.json+2-2
- trainer_state.json+8-68
- training_args.bin+1-1
123version https://git-lfs.github.com/spec/v1oid sha256:ad765f47af71011be3d640489246c7085d198b046f8e2dd772864e81ca97a408size 2219797189123version https://git-lfs.github.com/spec/v1oid sha256:b7f616dd892d65e0d0839627fbdb98aa327b78ef38f72e08bffe2ebe0a7e0ef2size 2219797189
123version https://git-lfs.github.com/spec/v1oid sha256:560bdb3380b22af02e00cdcafea5a445304ab6cf80042fac6513548eeb49fecesize 1109883945123version https://git-lfs.github.com/spec/v1oid sha256:f969327ada3bd8dbee21381bf85e5eab0012f56c8b38e3b91b8598b80c158c67size 1109883945
123version https://git-lfs.github.com/spec/v1oid sha256:bd275d096cd6cf629c69200ea47d62fc9cd3b36b7e62400520fe4bf673338149size 13553123version https://git-lfs.github.com/spec/v1oid sha256:556647febb788da6dd49a88a8ed603748321637cc7055b1bb12850e2d4f60da4size 13553
123version https://git-lfs.github.com/spec/v1oid sha256:65a6cbff39d4fbfc6aec126e1a969fa70287244e7814cf7317a9aaf9b3c0921esize 627123version https://git-lfs.github.com/spec/v1oid sha256:05a70eda53deab8173d8fbbc2a7e82544de63b2afac213bd0479ab675d199b57size 627
123version https://git-lfs.github.com/spec/v1oid sha256:2bae0289b9bb66bfbf85d834f6313ebd8e40f484df2bd0351539e74a0e4ddeb4size 17098081123version https://git-lfs.github.com/spec/v1oid sha256:167066c03829058ec15ff5404e54585316251e89eec3f758bced173717de5322size 17098346
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{"best_metric": null,"best_model_checkpoint": null,"epoch": 2.248569092395748,"eval_steps": 500,"global_step": 5500,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,"log_history": [{"epoch": 0.2,"learning_rate": 2.795584627964023e-05,"loss": 2.2019,"step": 500},{"epoch": 0.41,"learning_rate": 2.591169255928046e-05,"loss": 1.9636,"step": 1000},{"epoch": 0.61,"learning_rate": 2.3867538838920688e-05,"loss": 1.9246,"step": 1500},{"epoch": 0.82,"learning_rate": 2.1823385118560917e-05,"loss": 1.8572,"step": 2000},{"epoch": 1.02,"learning_rate": 1.9779231398201146e-05,"loss": 1.7804,"step": 2500},{"epoch": 1.23,"learning_rate": 1.7735077677841375e-05,"loss": 1.5332,"step": 3000},{"epoch": 1.43,"learning_rate": 1.56909239574816e-05,"loss": 1.5243,"step": 3500},{"epoch": 1.64,"learning_rate": 1.3646770237121831e-05,"loss": 1.5248,"step": 4000},{"epoch": 1.84,"learning_rate": 1.160261651676206e-05,"loss": 1.5064,"step": 4500},{"epoch": 2.04,"learning_rate": 9.55846279640229e-06,"loss": 1.4177,"step": 5000},{"epoch": 2.25,"learning_rate": 7.514309076042518e-06,"loss": 1.2049,"step": 5500}],"logging_steps": 500,"max_steps": 7338,"num_train_epochs": 3,"save_steps": 500,"total_flos": 1.2931445842486272e+16,"trial_name": null,"trial_params": null}12345678910111213141516171819202122232425{"best_metric": null,"best_model_checkpoint": null,"epoch": 0.5780346820809249,"eval_steps": 500,"global_step": 500,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,"log_history": [{"epoch": 0.58,"learning_rate": 1.2658959537572255e-05,"loss": 1.7414,"step": 500}],"logging_steps": 500,"max_steps": 865,"num_train_epochs": 1,"save_steps": 500,"total_flos": 1175835405312000.0,"trial_name": null,"trial_params": null}
123version https://git-lfs.github.com/spec/v1oid sha256:61f4841925514c34c11b4abf14bd89c4a66c79f5e0b25faec4459849fb0e99b2size 4027123version https://git-lfs.github.com/spec/v1oid sha256:2a448ce07274e9228c49e2d8399ef7896ad395414437462eb8541947ca7e188fsize 4027
optimizer.pt+1-1
pytorch_model.bin+1-1
rng_state.pth+1-1
scheduler.pt+1-1
tokenizer.json+2-2
trainer_state.json+8-68
training_args.bin+1-1