Instructions to use Prates/bert_ENEM2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prates/bert_ENEM2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("Prates/bert_ENEM2") model = AutoModelForMultipleChoice.from_pretrained("Prates/bert_ENEM2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Prates/bert_ENEM2: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/Prates/bert_ENEM2/resolve/main/README.md
- Command line
-
hf download hf://Prates/bert_ENEM2/README.md
-
curl -L -o README.md https://huggingface.co/Prates/bert_ENEM2/resolve/main/README.md
1.95 kB
| license: mit | |
| base_model: neuralmind/bert-base-portuguese-cased | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: bert_ENEM2 | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # bert_ENEM2 | |
| This model is a fine-tuned version of [neuralmind/bert-base-portuguese-cased](https://huggingface.co/neuralmind/bert-base-portuguese-cased) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 3.2449 | |
| - Accuracy: 0.3889 | |
| ## 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: 3 | |
| - eval_batch_size: 2 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | No log | 1.0 | 107 | 1.6035 | 0.2222 | | |
| | No log | 2.0 | 214 | 1.4424 | 0.4167 | | |
| | No log | 3.0 | 321 | 1.9931 | 0.4167 | | |
| | No log | 4.0 | 428 | 2.5895 | 0.3611 | | |
| | 0.7932 | 5.0 | 535 | 2.2424 | 0.4167 | | |
| | 0.7932 | 6.0 | 642 | 2.8100 | 0.3611 | | |
| | 0.7932 | 7.0 | 749 | 3.1343 | 0.3611 | | |
| | 0.7932 | 8.0 | 856 | 3.1998 | 0.3611 | | |
| | 0.7932 | 9.0 | 963 | 3.1072 | 0.3611 | | |
| | 0.0087 | 10.0 | 1070 | 3.2449 | 0.3889 | | |
| ### Framework versions | |
| - Transformers 4.35.2 | |
| - Pytorch 2.1.1 | |
| - Datasets 2.15.0 | |
| - Tokenizers 0.15.0 | |