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 路
f4fab24
1
Parent(s): 5b3d453
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.4645- Validation Loss: 2.1507- Epoch: 0## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 3.4645 | 2.1507 | 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.8575- Validation Loss: 1.8026- Epoch: 1## Model description20 unmodified lines| Train Loss | Validation Loss | Epoch ||:----------:|:---------------:|:-----:|| 3.4645 | 2.1507 | 0 || 1.8575 | 1.8026 | 1 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:14eb662fb99fd9bdc00a2eea72229a35ffe88d01ee253d0529b09f3bba9099ccsize 265583592123version https://git-lfs.github.com/spec/v1oid sha256:aa63b338da9cf2e853036f542403f4c5981cd7381593adbbf3d6253cfa03e331size 265583592
README.md+4-3
tf_model.h5+1-1