Run this model with HF Jobs
Run Prates/bert_ENEM 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/Prates/bert_ENEM. 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/Prates/bert_ENEM 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 Prates/bert_ENEM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prates/bert_ENEM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("Prates/bert_ENEM") model = AutoModelForMultipleChoice.from_pretrained("Prates/bert_ENEM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (8)
- README.mdAdded+69
- config.jsonAdded+32
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---license: mitbase_model: neuralmind/bert-base-portuguese-casedtags:- generated_from_trainermetrics:- accuracymodel-index:- name: bert_ENEM 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_ENEM
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.0267- Accuracy: 0.3611
## 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.6131 | 0.25 || No log | 2.0 | 214 | 1.5635 | 0.3333 || No log | 3.0 | 321 | 1.4007 | 0.4444 || No log | 4.0 | 428 | 1.9448 | 0.4167 || 1.137 | 5.0 | 535 | 2.1251 | 0.4167 || 1.137 | 6.0 | 642 | 2.4106 | 0.3889 || 1.137 | 7.0 | 749 | 2.5102 | 0.3333 || 1.137 | 8.0 | 856 | 2.6479 | 0.4167 || 1.137 | 9.0 | 963 | 2.9045 | 0.3889 || 0.0629 | 10.0 | 1070 | 3.0267 | 0.3611 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.1- Datasets 2.15.0- Tokenizers 0.15.01234567891011121314151617181920212223242526272829303132{ "_name_or_path": "neuralmind/bert-base-portuguese-cased", "architectures": [ "BertForMultipleChoice" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "directionality": "bidi", "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 0, "pooler_fc_size": 768, "pooler_num_attention_heads": 12, "pooler_num_fc_layers": 3, "pooler_size_per_head": 128, "pooler_type": "first_token_transform", "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.35.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 29794}123version https://git-lfs.github.com/spec/v1oid sha256:2fc440ffd4972295f7a3bb5394ea5d40a5b8d0c39ea481c87c2abb608c782ee6size 4357191481234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:1427cbcc5d8c53275e2bb829daee43194af138ac19278c85819aa2ae4bd4b99dsize 4536README.mdAdded+69
config.jsonAdded+32
model.safetensorsAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.txtAdded