Instructions to use danielcwq/distilbert-base-uncased-finetuned-H2Physics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danielcwq/distilbert-base-uncased-finetuned-H2Physics with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="danielcwq/distilbert-base-uncased-finetuned-H2Physics")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("danielcwq/distilbert-base-uncased-finetuned-H2Physics") model = AutoModelForQuestionAnswering.from_pretrained("danielcwq/distilbert-base-uncased-finetuned-H2Physics") - Notebooks
- Google Colab
- Kaggle
distilbert-base-uncased-finetuned-H2Physics
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.8149
Model description
This model was pretrained on my Anki cards for the H2 GCE A Levels (Singapore) syllabus, in the hopes of making it a Question and Answer chatbot.
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: 4
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 20 | 3.4296 |
| No log | 2.0 | 40 | 2.0993 |
| No log | 3.0 | 60 | 1.1277 |
| No log | 4.0 | 80 | 0.8149 |
Framework versions
- Transformers 4.26.1
- Pytorch 1.13.1+cu116
- Datasets 2.10.0
- Tokenizers 0.13.2
- Downloads last month
- 10