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
Commit History
-
Training in progress epoch 2
ab92f5c -
Training in progress epoch 1
bd11e1d -
Training in progress epoch 0
fed58ec -
Training in progress epoch 1
cbbf0e1 -
Training in progress epoch 0
be7c9ad -
Training in progress epoch 1
bf7255a -
Training in progress epoch 0
7c55ffe -
Training in progress epoch 1
0baf683 -
Training in progress epoch 0
ce8d45e -
Training in progress epoch 0
5616b9a
-
Training in progress epoch 1
c22e63d -
Training in progress epoch 0
8df8678 -
initial commit
ac5dfb3