Instructions to use tomashs/cowese_binarycls_beto_top2vec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tomashs/cowese_binarycls_beto_top2vec with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, BertForSequenceClassificationWithTopics tokenizer = AutoTokenizer.from_pretrained("tomashs/cowese_binarycls_beto_top2vec") model = BertForSequenceClassificationWithTopics.from_pretrained("tomashs/cowese_binarycls_beto_top2vec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (10)
- README.mdAdded+53
- added_tokens.jsonAdded+4
- config.jsonAdded+27
- model.safetensorsAdded+3
- runs/Jan31_16-00-02_8e7f0bcb4d29/events.out.tfevents.1706716807.8e7f0bcb4d29.3177.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+73
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253---base_model: dccuchile/bert-base-spanish-wwm-casedtags:- generated_from_trainermodel-index:- name: cowese_binarycls_beto_top2vec 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. -->
# cowese_binarycls_beto_top2vec
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on the None dataset.
## 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: 1.5e-05- train_batch_size: 16- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 100- num_epochs: 2- mixed_precision_training: Native AMP
### Training results
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.16.1- Tokenizers 0.15.11234{ "[FIN]": 31003, "[INICIO]": 31002}123456789101112131415161718192021222324252627{ "_name_or_path": "dccuchile/bert-base-spanish-wwm-cased", "architectures": [ "BertForSequenceClassificationWithTopics" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "gradient_checkpointing": false, "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": 1, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.35.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 31004}123version https://git-lfs.github.com/spec/v1oid sha256:29bd78a4bc6188c9b12447cbdb5001694208e4a8a57e05df2519a4581b166933size 439440376123version https://git-lfs.github.com/spec/v1oid sha256:b35dcfa033c1a3101438cefee7e21e1035ceee017f5389bbdab0bab49e2dcd6dsize 208781234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "added_tokens_decoder": { "0": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "31002": { "content": "[INICIO]", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "31003": { "content": "[FIN]", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false } }, "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": false, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:b3ee50649c8d9fab73ce0841460adfc0d586b15c1dad1bc44498a373c5893088size 4600README.mdAdded+53
added_tokens.jsonAdded+4
config.jsonAdded+27
model.safetensorsAdded+3
runs/Jan31_16-00-02_8e7f0bcb4d29/events.out.tfevents.1706716807.8e7f0bcb4d29.3177.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+73
training_args.binAdded+3
vocab.txtAdded