Run this model with HF Jobs
Run xuejinlu/ntu_adl_span_selection_bert 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/xuejinlu/ntu_adl_span_selection_bert. 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/xuejinlu/ntu_adl_span_selection_bert 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 xuejinlu/ntu_adl_span_selection_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xuejinlu/ntu_adl_span_selection_bert 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="xuejinlu/ntu_adl_span_selection_bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("xuejinlu/ntu_adl_span_selection_bert") model = AutoModelForQuestionAnswering.from_pretrained("xuejinlu/ntu_adl_span_selection_bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Xue-Jin Lu commited on
Commit 路
a314384
1
Parent(s): bdc82c4
Training in progress, step 500
Browse filesFiles changed (3)
- pytorch_model.bin+1-1
- tokenizer.json+16-2
- training_args.bin+1-1
123version https://git-lfs.github.com/spec/v1oid sha256:8ded5861a047e6f11ce9097682e8b9021b726ef0c54cef0f339f7c0224b81a87size 406782566123version https://git-lfs.github.com/spec/v1oid sha256:46ab0464823777628bc7fcc522aad419e719895deb3a706a17b37b93096bde89size 406782566
1234567{"version": "1.0","truncation": null,"padding": null,"added_tokens": [{"id": 0,123456789101112131415161718192021{"version": "1.0","truncation": {"direction": "Right","max_length": 512,"strategy": "OnlySecond","stride": 0},"padding": {"strategy": {"Fixed": 512},"direction": "Right","pad_to_multiple_of": null,"pad_id": 0,"pad_type_id": 0,"pad_token": "[PAD]"},"added_tokens": [{"id": 0,
123version https://git-lfs.github.com/spec/v1oid sha256:6d4c72365e6c3ab2f18acc6fd889bed0bcb57f35406705115fb0398cd500b80esize 4536123version https://git-lfs.github.com/spec/v1oid sha256:690ce51c1a15ed836840b6ddfc015e3f6b79dbeed1b245fd73477b397760f5d8size 4536
pytorch_model.bin+1-1
tokenizer.json+16-2
training_args.bin+1-1