Run this model with HF Jobs
Run danielcfox/my_qa_model 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/danielcfox/my_qa_model. 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/danielcfox/my_qa_model 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 danielcfox/my_qa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danielcfox/my_qa_model 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="danielcfox/my_qa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("danielcfox/my_qa_model") model = AutoModelForQuestionAnswering.from_pretrained("danielcfox/my_qa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
0e08232
1
Parent(s): 6e38087
Training in progress epoch 1
Browse filesFiles changed (2)
- README.md+4-3
- tf_model.h5+1-1
14 unmodified lines15161718192021222320 unmodified lines44454647484914 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 3.3544- Validation Loss: 1.9979- Epoch: 0## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 3.3544 | 1.9979 | 0 |### Framework versions14 unmodified lines15161718192021222320 unmodified lines4445464748495014 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 1.6885- Validation Loss: 1.7735- Epoch: 1## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 3.3544 | 1.9979 | 0 || 1.6885 | 1.7735 | 1 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:bc13a5521caf7d65b44863d57dcfa0f1eca68b32de59db56a73a5c5402e7df2csize 265583592123version https://git-lfs.github.com/spec/v1oid sha256:bd9404d30faf40f93ae1f4b4f4edf6ad2599ec6f2e5339df6fac1443eea969absize 265583592
README.md+4-3
tf_model.h5+1-1