Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Liux69/sentiment-analysis-test 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/Liux69/sentiment-analysis-test. 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/Liux69/sentiment-analysis-test 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 Liux69/sentiment-analysis-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Liux69/sentiment-analysis-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Liux69/sentiment-analysis-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Liux69/sentiment-analysis-test") model = AutoModelForSequenceClassification.from_pretrained("Liux69/sentiment-analysis-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (10)
- .gitattributes+1
- README.mdAdded+52
- config.jsonAdded+38
- model.safetensorsAdded+3
- runs/May07_13-43-39_9fe1c8cf7083/events.out.tfevents.1746625505.9fe1c8cf7083.244.0Added+3
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+51
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+62
- training_args.binAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152---library_name: transformersbase_model: cardiffnlp/xlm-roberta-base-tweet-sentiment-ittags:- generated_from_trainermodel-index:- name: sentiment-analysis-test 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. -->
# sentiment-analysis-test
This model is a fine-tuned version of [cardiffnlp/xlm-roberta-base-tweet-sentiment-it](https://huggingface.co/cardiffnlp/xlm-roberta-base-tweet-sentiment-it) on an unknown 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: 5e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3.0
### Training results
### Framework versions
- Transformers 4.51.3- Pytorch 2.6.0+cu124- Datasets 3.5.1- Tokenizers 0.21.11234567891011121314151617181920212223242526272829303132333435363738{ "architectures": [ "XLMRobertaForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "negative", "1": "neutral", "2": "positive" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "negative": 0, "neutral": 1, "positive": 2 }, "layer_norm_eps": 1e-05, "max_position_embeddings": 514, "model_type": "xlm-roberta", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 1, "position_embedding_type": "absolute", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.51.3", "type_vocab_size": 1, "use_cache": true, "vocab_size": 250002}123version https://git-lfs.github.com/spec/v1oid sha256:d0766ba5efa8dd4f0171e4dc1890972ca79c4f2bbbe49e3848ccff6266ee7d23size 1112208084123version https://git-lfs.github.com/spec/v1oid sha256:332d8b979c5fb3418d9930d04db13a8319a18066c150577f367ed16f1bec4ae7size 5598123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 5069051123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:e63c7a5faf7f3257542d756311f64572a52913c2845c4a3849529e1ef87f8eefsize 170828321234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "added_tokens_decoder": { "0": { "content": "<s>", "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 }, "2": { "content": "</s>", "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 }, "250001": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": false, "cls_token": "<s>", "eos_token": "</s>", "extra_special_tokens": {}, "mask_token": "<mask>", "max_length": 128, "model_max_length": 512, "pad_to_multiple_of": null, "pad_token": "<pad>", "pad_token_type_id": 0, "padding_side": "right", "sep_token": "</s>", "stride": 0, "tokenizer_class": "XLMRobertaTokenizer", "truncation_side": "right", "truncation_strategy": "longest_first", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:28d3fcc69ed3e4534a220a2539b38068689fcc6c6e0ea834961f048a8f6f4498size 5304.gitattributes+1
README.mdAdded+52
config.jsonAdded+38
model.safetensorsAdded+3
runs/May07_13-43-39_9fe1c8cf7083/events.out.tfevents.1746625505.9fe1c8cf7083.244.0Added+3
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+51
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+62
training_args.binAdded+3