Run this model with HF Jobs
Run ChengZ2003/my_awesome_mc_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/ChengZ2003/my_awesome_mc_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/ChengZ2003/my_awesome_mc_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 ChengZ2003/my_awesome_mc_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChengZ2003/my_awesome_mc_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("ChengZ2003/my_awesome_mc_model") model = AutoModelForMultipleChoice.from_pretrained("ChengZ2003/my_awesome_mc_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
3697108
1
Parent(s): d926bcc
End of training
Browse filesFiles changed (2)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---license: apache-2.0base_model: bert-base-uncasedtags:- generated_from_trainerdatasets:- swagmetrics:- accuracymodel-index:- name: my_awesome_mc_model 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. -->
# my_awesome_mc_model
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the swag dataset.It achieves the following results on the evaluation set:- Loss: 1.0366- Accuracy: 0.6143
## 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: 5e-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 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 35 | 1.1096 | 0.5643 || No log | 2.0 | 70 | 1.0142 | 0.5929 || No log | 3.0 | 105 | 1.0366 | 0.6143 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.2+cu121- Datasets 2.16.1- Tokenizers 0.15.0123version https://git-lfs.github.com/spec/v1oid sha256:140957060e1fb3d6c875c3f01e4d87447329f59576a7fa94588f65158acee89asize 4848123version https://git-lfs.github.com/spec/v1oid sha256:a12d48ee54f9c45273600025e184161570b18efbbc73efa7c132c704c3070911size 5513
README.mdAdded+64
runs/Jan05_09-48-40_d1aad126bf0b/events.out.tfevents.1704448127.d1aad126bf0b.444.2+2-2