Run this model with HF Jobs
Run planetk/distilbert-base-uncased-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/planetk/distilbert-base-uncased-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/planetk/distilbert-base-uncased-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 planetk/distilbert-base-uncased-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use planetk/distilbert-base-uncased-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="planetk/distilbert-base-uncased-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("planetk/distilbert-base-uncased-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("planetk/distilbert-base-uncased-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
planetk/distilbert-base-uncased-finetuned-squad
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Train Loss: 0.9803
- Train End Logits Accuracy: 0.7295
- Train Start Logits Accuracy: 0.6894
- Validation Loss: 1.0988
- Validation End Logits Accuracy: 0.7002
- Validation Start Logits Accuracy: 0.6626
- Epoch: 1
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:
- optimizer: {'name': 'Adam', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 11064, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
- training_precision: float32
Training results
| Train Loss | Train End Logits Accuracy | Train Start Logits Accuracy | Validation Loss | Validation End Logits Accuracy | Validation Start Logits Accuracy | Epoch |
|---|---|---|---|---|---|---|
| 1.5242 | 0.6031 | 0.5649 | 1.1395 | 0.6898 | 0.6537 | 0 |
| 0.9803 | 0.7295 | 0.6894 | 1.0988 | 0.7002 | 0.6626 | 1 |
Framework versions
- Transformers 4.30.2
- TensorFlow 2.13.0
- Datasets 2.13.1
- Tokenizers 0.13.3
- Downloads last month
- 1