Run this model with HF Jobs
Run roaltopo/scan-u-doc_bool-answer 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/roaltopo/scan-u-doc_bool-answer. 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/roaltopo/scan-u-doc_bool-answer 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 roaltopo/scan-u-doc_bool-answer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use roaltopo/scan-u-doc_bool-answer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("roaltopo/scan-u-doc_bool-answer") model = AutoModelForMultipleChoice.from_pretrained("roaltopo/scan-u-doc_bool-answer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.mdAdded+62
- pytorch_model.bin+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---license: apache-2.0base_model: bert-base-uncasedtags:- generated_from_trainermetrics:- accuracymodel-index:- name: yn_answer 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. -->
# yn_answer
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.7690- Accuracy: 0.8519
## 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 ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.4858 | 1.0 | 631 | 0.3401 | 0.8555 || 0.2667 | 2.0 | 1262 | 0.4624 | 0.8447 || 0.1424 | 3.0 | 1893 | 0.7690 | 0.8519 |
### Framework versions
- Transformers 4.34.0- Pytorch 1.13.0a0+git6c9b55e- Datasets 2.14.5- Tokenizers 0.14.1123version https://git-lfs.github.com/spec/v1oid sha256:b3d2e09ec7bfb2b39017f135c4fcf4c43bd902b65c1fb5c68f0d810399b1f448size 438000177123version https://git-lfs.github.com/spec/v1oid sha256:dbdadb6d346b159baf677e5b6fceb11d10ea0c2ddbbe952afe9dcb9039829436size 438000177
README.mdAdded+62
pytorch_model.bin+1-1