BERT
Collection
4 items โข Updated
Run hf-tuner/custom-med-bert-pre 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:
Use HF Jobs to fine-tune https://huggingface.co/hf-tuner/custom-med-bert-pre. 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.
Use HF Jobs to run batch inference with https://huggingface.co/hf-tuner/custom-med-bert-pre 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.
How to use hf-tuner/custom-med-bert-pre with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForPreTraining
tokenizer = AutoTokenizer.from_pretrained("hf-tuner/custom-med-bert-pre")
model = AutoModelForPreTraining.from_pretrained("hf-tuner/custom-med-bert-pre", device_map="auto")This model is a fine-tuned version of google-bert/bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.8213 | 0.2102 | 1000 | 2.7015 |
| 2.7179 | 0.4203 | 2000 | 2.5581 |
| 2.5383 | 0.6305 | 3000 | 2.4586 |
| 2.4601 | 0.8407 | 4000 | 2.4046 |
Base model
google-bert/bert-base-uncased