Instructions to use ssykee/tool-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ssykee/tool-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ssykee/tool-bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ssykee/tool-bert") model = AutoModelForSequenceClassification.from_pretrained("ssykee/tool-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tool-bert
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6197
- Accuracy: 0.6923
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: 2
- eval_batch_size: 2
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 8
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 0.9969 | 243 | 0.6225 | 0.6923 |
| No log | 1.9979 | 487 | 0.6202 | 0.6923 |
| 0.6846 | 2.9990 | 731 | 0.6198 | 0.6923 |
| 0.6846 | 3.9877 | 972 | 0.6197 | 0.6923 |
Framework versions
- Transformers 4.45.1
- Pytorch 2.4.1+cu121
- Datasets 3.0.1
- Tokenizers 0.20.0
- Downloads last month
- 4
Model tree for ssykee/tool-bert
Base model
distilbert/distilbert-base-uncased