Instructions to use victoriamgdln/dga-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use victoriamgdln/dga-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="victoriamgdln/dga-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("victoriamgdln/dga-classification") model = AutoModelForSequenceClassification.from_pretrained("victoriamgdln/dga-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
dga-classification
This model is a fine-tuned version of bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.5156
- Accuracy: 0.7556
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: 128
- eval_batch_size: 5
- seed: 42
- optimizer: Use 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: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3561 | 1.0 | 1000 | 0.4766 | 0.7561 |
| 0.3647 | 2.0 | 2000 | 0.4171 | 0.7671 |
| 0.3307 | 3.0 | 3000 | 0.4476 | 0.7624 |
| 0.2957 | 4.0 | 4000 | 0.4898 | 0.7565 |
| 0.2708 | 5.0 | 5000 | 0.5156 | 0.7556 |
Framework versions
- Transformers 4.46.1
- Pytorch 2.2.2
- Datasets 3.1.0
- Tokenizers 0.20.1
- Downloads last month
- 6
Model tree for victoriamgdln/dga-classification
Base model
google-bert/bert-base-uncased