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
10k
Browse filesFiles changed (4)
12345678{"epoch": 2.0,"train_loss": 1.7669375141701935,"train_runtime": 10839.0571,"train_samples": 9919,"train_samples_per_second": 1.83,"train_steps_per_second": 0.153}12345678{"epoch": 1.0,"train_loss": 1.6453349383580202,"train_runtime": 6270.6718,"train_samples": 10370,"train_samples_per_second": 1.654,"train_steps_per_second": 0.138}
123version https://git-lfs.github.com/spec/v1oid sha256:f969327ada3bd8dbee21381bf85e5eab0012f56c8b38e3b91b8598b80c158c67size 1109883945123version https://git-lfs.github.com/spec/v1oid sha256:f0d6c3df1021e5d2805eec094101c9756aab92a2c23d7ed5a670d9f95d11a232size 1109883945
12345678{"epoch": 2.0,"train_loss": 1.7669375141701935,"train_runtime": 10839.0571,"train_samples": 9919,"train_samples_per_second": 1.83,"train_steps_per_second": 0.153}12345678{"epoch": 1.0,"train_loss": 1.6453349383580202,"train_runtime": 6270.6718,"train_samples": 10370,"train_samples_per_second": 1.654,"train_steps_per_second": 0.138}
1234567893 unmodified lines13141516171819202122232425{"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,3 unmodified lines"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}1234567893 unmodified lines13141516171819202122232425262728293031323334{"best_metric": null,"best_model_checkpoint": null,"epoch": 1.0,"eval_steps": 500,"global_step": 865,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,3 unmodified lines"learning_rate": 1.2658959537572255e-05,"loss": 1.7414,"step": 500},{"epoch": 1.0,"step": 865,"total_flos": 2032235525514240.0,"train_loss": 1.6453349383580202,"train_runtime": 6270.6718,"train_samples_per_second": 1.654,"train_steps_per_second": 0.138}],"logging_steps": 500,"max_steps": 865,"num_train_epochs": 1,"save_steps": 500,"total_flos": 2032235525514240.0,"trial_name": null,"trial_params": null}
all_results.json+6-6
pytorch_model.bin+1-1
train_results.json+6-6
trainer_state.json+12-3