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
4000
Browse filesFiles changed (7)
- optimizer.pt+2-2
- pytorch_model.bin+1-1
- rng_state.pth+1-1
- scheduler.pt+1-1
- tokenizer.json+2-2
- trainer_state.json+48-21
- training_args.bin+1-1
123version https://git-lfs.github.com/spec/v1oid sha256:cb4ba9d920882db665a7f8ed561c2e0164bf7175d907c1270c05e7520cdcb1d0size 2156667008123version https://git-lfs.github.com/spec/v1oid sha256:0abc67d04beb80c63a8253b6416f92f5f0d25de5856c9b42dd09ac59ae2a104esize 2219797189
123version https://git-lfs.github.com/spec/v1oid sha256:a5571ae930847af4c347f2e9313953b93fee21ec3588ecd8d0e904f1f268716dsize 1109883945123version https://git-lfs.github.com/spec/v1oid sha256:9381b8766976dd5552c5b2cdf9eacb941d0f1fb9258cdcae1ed22c88cf8aa8e7size 1109883945
123version https://git-lfs.github.com/spec/v1oid sha256:8abc1e67aacfa6a3fa1b2620d9282476381dc49bed6a7fc76e3f6164dd3c6494size 13553123version https://git-lfs.github.com/spec/v1oid sha256:990b96eb919994c26104c4b41054ce582e7b7491d6585750b551c1a324e06233size 13553
123version https://git-lfs.github.com/spec/v1oid sha256:4089ca6b8c754c164ef339a3123aa837ac0635645da9a6abf78f5f22a9bbb4f9size 627123version https://git-lfs.github.com/spec/v1oid sha256:fb01accba939052e7cbf8132c7f0d88545772aa8d7e3eb544633dc6f927474besize 627
123version https://git-lfs.github.com/spec/v1oid sha256:167066c03829058ec15ff5404e54585316251e89eec3f758bced173717de5322size 17098346123version https://git-lfs.github.com/spec/v1oid sha256:2bae0289b9bb66bfbf85d834f6313ebd8e40f484df2bd0351539e74a0e4ddeb4size 17098081
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{"best_metric": null,"best_model_checkpoint": null,"epoch": 2.0,"eval_steps": 500,"global_step": 1654,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,"log_history": [{"epoch": 0.6,"learning_rate": 2.0931076178960096e-05,"loss": 2.1458,"step": 500},{"epoch": 1.21,"learning_rate": 1.1862152357920194e-05,"loss": 1.7773,"step": 1000},{"epoch": 1.81,"learning_rate": 2.7932285368802904e-06,"loss": 1.4845,"step": 1500},{"epoch": 2.0,"step": 1654,"total_flos": 3887703795096576.0,"train_loss": 1.7669375141701935,"train_runtime": 10839.0571,"train_samples_per_second": 1.83,"train_steps_per_second": 0.153}],"logging_steps": 500,"max_steps": 1654,"num_train_epochs": 2,"save_steps": 500,"total_flos": 3887703795096576.0,"trial_name": null,"trial_params": null}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{"best_metric": null,"best_model_checkpoint": null,"epoch": 1.839738348323794,"eval_steps": 500,"global_step": 4500,"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}],"logging_steps": 500,"max_steps": 7338,"num_train_epochs": 3,"save_steps": 500,"total_flos": 1.0581146839835136e+16,"trial_name": null,"trial_params": null}
123version https://git-lfs.github.com/spec/v1oid sha256:76548b5d9f84ad0e2c1469a44406152c4de27fabab91f2a69cbe9c8ebeb1c4edsize 4027123version https://git-lfs.github.com/spec/v1oid sha256:61f4841925514c34c11b4abf14bd89c4a66c79f5e0b25faec4459849fb0e99b2size 4027
optimizer.pt+2-2
pytorch_model.bin+1-1
rng_state.pth+1-1
scheduler.pt+1-1
tokenizer.json+2-2
trainer_state.json+48-21
training_args.bin+1-1