Instructions to use fixthemusic/ftm-zone-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fixthemusic/ftm-zone-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="fixthemusic/ftm-zone-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("fixthemusic/ftm-zone-classifier") model = AutoModelForTokenClassification.from_pretrained("fixthemusic/ftm-zone-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -21,11 +21,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [jhu-clsp/mmBERT-base](https://huggingface.co/jhu-clsp/mmBERT-base) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
-
- Loss: 0.
|
| 25 |
-
- Precision: 0.
|
| 26 |
-
- Recall: 0.
|
| 27 |
-
- F1: 0.
|
| 28 |
-
- Accuracy: 0.
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
@@ -44,7 +44,7 @@ More information needed
|
|
| 44 |
### Training hyperparameters
|
| 45 |
|
| 46 |
The following hyperparameters were used during training:
|
| 47 |
-
- learning_rate:
|
| 48 |
- train_batch_size: 8
|
| 49 |
- eval_batch_size: 16
|
| 50 |
- seed: 42
|
|
@@ -52,16 +52,16 @@ The following hyperparameters were used during training:
|
|
| 52 |
- total_train_batch_size: 64
|
| 53 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 54 |
- lr_scheduler_type: linear
|
| 55 |
-
- lr_scheduler_warmup_ratio: 0.
|
| 56 |
-
- num_epochs:
|
|
|
|
| 57 |
|
| 58 |
### Training results
|
| 59 |
|
| 60 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 61 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.4073 | 3.0 | 1026 | 0.4387 | 0.6786 | 0.7252 | 0.7011 | 0.8255 |
|
| 65 |
|
| 66 |
|
| 67 |
### Framework versions
|
|
|
|
| 21 |
|
| 22 |
This model is a fine-tuned version of [jhu-clsp/mmBERT-base](https://huggingface.co/jhu-clsp/mmBERT-base) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.7960
|
| 25 |
+
- Precision: 0.6647
|
| 26 |
+
- Recall: 0.7145
|
| 27 |
+
- F1: 0.6887
|
| 28 |
+
- Accuracy: 0.8221
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 44 |
### Training hyperparameters
|
| 45 |
|
| 46 |
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 1e-05
|
| 48 |
- train_batch_size: 8
|
| 49 |
- eval_batch_size: 16
|
| 50 |
- seed: 42
|
|
|
|
| 52 |
- total_train_batch_size: 64
|
| 53 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 54 |
- lr_scheduler_type: linear
|
| 55 |
+
- lr_scheduler_warmup_ratio: 0.15
|
| 56 |
+
- num_epochs: 2
|
| 57 |
+
- label_smoothing_factor: 0.1
|
| 58 |
|
| 59 |
### Training results
|
| 60 |
|
| 61 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 62 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 63 |
+
| 0.8178 | 1.0 | 342 | 0.8293 | 0.5955 | 0.7124 | 0.6488 | 0.8050 |
|
| 64 |
+
| 0.7927 | 2.0 | 684 | 0.7960 | 0.6647 | 0.7145 | 0.6887 | 0.8221 |
|
|
|
|
| 65 |
|
| 66 |
|
| 67 |
### Framework versions
|