Instructions to use leomaurodesenv/bert-base-uncased-nvidia-aegis-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leomaurodesenv/bert-base-uncased-nvidia-aegis-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leomaurodesenv/bert-base-uncased-nvidia-aegis-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leomaurodesenv/bert-base-uncased-nvidia-aegis-v2") model = AutoModelForSequenceClassification.from_pretrained("leomaurodesenv/bert-base-uncased-nvidia-aegis-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-base-uncased-nvidia-aegis-v2
This model is a fine-tuned version of google-bert/bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3392
- Accuracy: 0.8490
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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Use 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: 50
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.7479 | 1.0 | 1203 | 0.3392 | 0.8486 |
| 0.6064 | 2.0 | 2406 | 0.3646 | 0.8517 |
| 0.5975 | 3.0 | 3609 | 0.4533 | 0.8655 |
| 0.1199 | 4.0 | 4812 | 0.5675 | 0.8646 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 146
Model tree for leomaurodesenv/bert-base-uncased-nvidia-aegis-v2
Base model
google-bert/bert-base-uncased