Run this model with HF Jobs
Run BrianHsu/BERT_test_graident_accumulation 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/BrianHsu/BERT_test_graident_accumulation. 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/BrianHsu/BERT_test_graident_accumulation 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 BrianHsu/BERT_test_graident_accumulation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BrianHsu/BERT_test_graident_accumulation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("BrianHsu/BERT_test_graident_accumulation") model = AutoModelForMultipleChoice.from_pretrained("BrianHsu/BERT_test_graident_accumulation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---base_model: bert-base-chinesetags:- generated_from_trainermetrics:- accuracymodel-index:- name: BERT_test_graident_accumulation 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. -->
# BERT_test_graident_accumulation
This model is a fine-tuned version of [bert-base-chinese](https://huggingface.co/bert-base-chinese) on the None dataset.It achieves the following results on the evaluation set:- Loss: 1.1899- Accuracy: 0.6273
## 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: 8- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 2- total_train_batch_size: 16- 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 | 376 | 0.9914 | 0.5620 || 0.9908 | 2.0 | 752 | 0.9869 | 0.6384 || 0.4929 | 3.0 | 1128 | 1.1899 | 0.6273 |
### Framework versions
- Transformers 4.36.0- Pytorch 2.1.1+cu118- Datasets 2.15.0- Tokenizers 0.15.0123version https://git-lfs.github.com/spec/v1oid sha256:28b7471d47ac264db7c69d117a9c3cc2ecf03de41d0e1cfd2707c95b29eebfe2size 5346123version https://git-lfs.github.com/spec/v1oid sha256:d63232a437d107d40f9288b17acd2d87708e4a019d4f181e13202001b917a196size 6180
README.mdAdded+63
runs/Dec17_14-30-33_lolicon-VM/events.out.tfevents.1702794633.lolicon-VM.530389.0+2-2