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+5-6
- tf_model.h5+1-1
14 unmodified lines15161718192021222319 unmodified lines4344454647484950515253545514 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.3264- Validation Loss: 1.1009- Epoch: 1## Model description19 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.5838 | 1.0206 | 0 || 0.3264 | 1.1009 | 1 |### Framework versions- Transformers 4.32.1- TensorFlow 2.11.0- Datasets 2.14.5- Tokenizers 0.13.314 unmodified lines15161718192021222319 unmodified lines43444546474849505152535414 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.5575- Validation Loss: 1.0457- Epoch: 0## Model description19 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 0.5575 | 1.0457 | 0 |### Framework versions- Transformers 4.32.1- TensorFlow 2.11.1- Datasets 2.14.5- Tokenizers 0.13.3
123version https://git-lfs.github.com/spec/v1oid sha256:3e49b9768b43a905ed3af3f791d6ec03eb7dd57dd67c0bee433d02738afa1c37size 496513256123version https://git-lfs.github.com/spec/v1oid sha256:f3412af904dfcbb328ecaa27e88fa8c0430464c2eaac98d55ef465ab3b0441c7size 496513256
README.md+5-6
tf_model.h5+1-1