Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
ml-intern
text-embeddings-inference
Instructions to use cfan233/sst2-roberta-sft-baseline-no-trackio with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cfan233/sst2-roberta-sft-baseline-no-trackio with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cfan233/sst2-roberta-sft-baseline-no-trackio")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cfan233/sst2-roberta-sft-baseline-no-trackio") model = AutoModelForSequenceClassification.from_pretrained("cfan233/sst2-roberta-sft-baseline-no-trackio", device_map="auto") - Notebooks
- Google Colab
- Kaggle
sst2-roberta-sft-baseline-no-trackio
This model is a fine-tuned version of roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2621
- Accuracy: 0.9060
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: 16
- eval_batch_size: 16
- 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
- num_epochs: 2
Training results
Framework versions
- Transformers 5.12.1
- Pytorch 2.12.0+cu130
- Datasets 5.0.0
- Tokenizers 0.22.1
Generated by ML Intern
This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.
- Try ML Intern: https://smolagents-ml-intern.hf.space
- Source code: https://github.com/huggingface/ml-intern
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = 'cfan233/sst2-roberta-sft-baseline-no-trackio'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
For non-causal architectures, replace AutoModelForCausalLM with the appropriate AutoModel class.
- Downloads last month
- 2
Model tree for cfan233/sst2-roberta-sft-baseline-no-trackio
Base model
FacebookAI/roberta-base