Run this model with HF Jobs
Run Andru/finetuned-squad 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/Andru/finetuned-squad. 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/Andru/finetuned-squad 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 Andru/finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Andru/finetuned-squad 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="Andru/finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Andru/finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("Andru/finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (3)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---license: apache-2.0base_model: distilbert-base-uncasedtags:- generated_from_trainermodel-index:- name: finetuned-squad results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# finetuned-squad
This 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:- Loss: 1.1530
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:-----:|:---------------:|| 1.1911 | 1.0 | 5533 | 1.1557 || 0.9306 | 2.0 | 11066 | 1.1048 || 0.7439 | 3.0 | 16599 | 1.1530 |
### Framework versions
- Transformers 4.39.3- Pytorch 2.1.0- Datasets 2.14.5- Tokenizers 0.15.2123version https://git-lfs.github.com/spec/v1oid sha256:16af0c41d947fbd7b5432c87ca6d6d1decba9a34e4dadf5ec1689387f226551csize 265470032123version https://git-lfs.github.com/spec/v1oid sha256:428be94269f12780f0d417c72b66521fe873a5a42f89ca8c7de949bc002820f0size 265470032
123version https://git-lfs.github.com/spec/v1oid sha256:52aca573926bdf28cbc05d716baba6c0bccf87fba01f3f5b1072c273ad03b1acsize 12006123version https://git-lfs.github.com/spec/v1oid sha256:2c9f801a2f46ee70adf42b72cbde51881a495f044244dca0722764e56fed8a94size 12642
README.mdAdded+59
model.safetensors+1-1
runs/Apr12_08-54-35_M25-203-10402/events.out.tfevents.1712901289.M25-203-10402.5336.0+2-2