Run this model with HF Jobs
Run LinYuting/atgx-roberta-base-squad2 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/LinYuting/atgx-roberta-base-squad2. 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/LinYuting/atgx-roberta-base-squad2 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 LinYuting/atgx-roberta-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LinYuting/atgx-roberta-base-squad2 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="LinYuting/atgx-roberta-base-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("LinYuting/atgx-roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("LinYuting/atgx-roberta-base-squad2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress epoch 0
Browse filesFiles changed (2)
- README.md+3-3
- tf_model.h5+1-1
14 unmodified lines151617181920212220 unmodified lines4344454647484914 unmodified linesThis model is a fine-tuned version of [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.5872- Validation Loss: 1.0045- Epoch: 0## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.5872 | 1.0045 | 0 |### Framework versions14 unmodified lines151617181920212220 unmodified lines4344454647484914 unmodified linesThis model is a fine-tuned version of [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.5838- Validation Loss: 1.0206- Epoch: 0## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.5838 | 1.0206 | 0 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:c094a79982bf5bd176dc9d6227340c3d6e42761ddf74a725c0a5da8853412efdsize 496513256123version https://git-lfs.github.com/spec/v1oid sha256:d85bf575d821b985e0192105033449df69e770d1344527671f081e09b80bb66bsize 496513256
README.md+3-3
tf_model.h5+1-1