Instructions to use remva/base2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use remva/base2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="remva/base2")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("remva/base2") model = AutoModelForTokenClassification.from_pretrained("remva/base2") - Notebooks
- Google Colab
- Kaggle
base2
This model is a fine-tuned version of bert-base-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7291
- Precision: 0.5945
- Recall: 0.3128
- F1: 0.4099
- Accuracy: 0.9107
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: 0.0001
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2254 | 1.0 | 976 | 0.3347 | 0.5725 | 0.3430 | 0.4290 | 0.9090 |
| 0.1157 | 2.0 | 1952 | 0.3224 | 0.6249 | 0.3386 | 0.4392 | 0.9129 |
| 0.0652 | 3.0 | 2928 | 0.5334 | 0.6116 | 0.2517 | 0.3567 | 0.9072 |
| 0.0437 | 4.0 | 3904 | 0.4335 | 0.5189 | 0.2763 | 0.3606 | 0.9066 |
| 0.0311 | 5.0 | 4880 | 0.5181 | 0.4966 | 0.3247 | 0.3927 | 0.9074 |
| 0.0204 | 6.0 | 5856 | 0.7521 | 0.6343 | 0.2750 | 0.3837 | 0.9100 |
| 0.0146 | 7.0 | 6832 | 0.5582 | 0.5241 | 0.3354 | 0.4091 | 0.9086 |
| 0.0073 | 8.0 | 7808 | 0.7195 | 0.6151 | 0.2977 | 0.4012 | 0.9092 |
| 0.0059 | 9.0 | 8784 | 0.6984 | 0.5773 | 0.2983 | 0.3934 | 0.9091 |
| 0.0021 | 10.0 | 9760 | 0.7291 | 0.5945 | 0.3128 | 0.4099 | 0.9107 |
Framework versions
- Transformers 4.35.0
- Pytorch 2.1.0+cu118
- Datasets 2.14.6
- Tokenizers 0.14.1
- Downloads last month
- 2
Model tree for remva/base2
Base model
google-bert/bert-base-cased