Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run ADS509/BERTweet-large-full-match-data 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/ADS509/BERTweet-large-full-match-data. 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/ADS509/BERTweet-large-full-match-data 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 ADS509/BERTweet-large-full-match-data with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ADS509/BERTweet-large-full-match-data with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ADS509/BERTweet-large-full-match-data")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ADS509/BERTweet-large-full-match-data") model = AutoModelForSequenceClassification.from_pretrained("ADS509/BERTweet-large-full-match-data", device_map="auto") - Notebooks
- Google Colab
- Kaggle
BERTweet-large with correct labels on full match data
Browse filesFiles changed (6)
- README.mdAdded+66
- config.jsonAdded+45
- model.safetensorsAdded+3
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+16
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---library_name: transformerslicense: mitbase_model: vinai/bertweet-largetags:- generated_from_trainermetrics:- accuracymodel-index:- name: BERTweet-large-full-match-data 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. -->
# BERTweet-large-full-match-data
This model is a fine-tuned version of [vinai/bertweet-large](https://huggingface.co/vinai/bertweet-large) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.3109- Accuracy: 0.8920- F1 Macro: 0.8860- F1 Weighted: 0.8920
## 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: 2e-05- train_batch_size: 32- eval_batch_size: 64- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 200- num_epochs: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted ||:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|| 0.3837 | 1.0 | 749 | 0.3534 | 0.8745 | 0.8636 | 0.8751 || 0.2162 | 2.0 | 1498 | 0.3109 | 0.8920 | 0.8860 | 0.8920 |
### Framework versions
- Transformers 5.0.0- Pytorch 2.10.0+cu128- Datasets 4.0.0- Tokenizers 0.22.2123456789101112131415161718192021222324252627282930313233343536373839404142434445{ "add_cross_attention": false, "architectures": [ "RobertaForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "dtype": "float32", "eos_token_id": 2, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 1024, "id2label": { "0": "Opinion", "1": "Argumentative", "2": "Expressive", "3": "Informational", "4": "Neutral" }, "initializer_range": 0.02, "intermediate_size": 4096, "is_decoder": false, "label2id": { "Argumentative": 1, "Expressive": 2, "Informational": 3, "Neutral": 4, "Opinion": 0 }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "roberta", "num_attention_heads": 16, "num_hidden_layers": 24, "pad_token_id": 1, "position_embedding_type": "absolute", "problem_type": "single_label_classification", "tie_word_embeddings": true, "transformers_version": "5.0.0", "type_vocab_size": 1, "use_cache": false, "vocab_size": 50265}123version https://git-lfs.github.com/spec/v1oid sha256:461d13d0e3f252d673023221231ef520f6ee7dd1633a3f151dde1c7b1c7b63b3size 142150766012345678910111213141516{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "errors": "replace", "is_local": false, "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "RobertaTokenizer", "trim_offsets": true, "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:6f5f51017b03302c95cf9f75782427223322fb57e5696bd901c938f05b28d875size 5265README.mdAdded+66
config.jsonAdded+45
model.safetensorsAdded+3
tokenizer.jsonAdded
tokenizer_config.jsonAdded+16
training_args.binAdded+3