Instructions to use davanstrien/flyswot_iiif with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davanstrien/flyswot_iiif with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="davanstrien/flyswot_iiif") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("davanstrien/flyswot_iiif") model = AutoModelForImageClassification.from_pretrained("davanstrien/flyswot_iiif") - Notebooks
- Google Colab
- Kaggle
Commit ·
d8b0a08
1
Parent(s): f9bcdb8
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- f1
|
| 7 |
+
model-index:
|
| 8 |
+
- name: flyswot_iiif
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# flyswot_iiif
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [facebook/convnext-base-224-22k](https://huggingface.co/facebook/convnext-base-224-22k) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 6.1280
|
| 20 |
+
- F1: 0.0034
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 2e-05
|
| 40 |
+
- train_batch_size: 64
|
| 41 |
+
- eval_batch_size: 64
|
| 42 |
+
- seed: 666
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 8
|
| 46 |
+
- mixed_precision_training: Native AMP
|
| 47 |
+
- label_smoothing_factor: 0.1
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 52 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
| 53 |
+
| 8.5184 | 0.26 | 500 | 7.9280 | 0.0005 |
|
| 54 |
+
| 7.7409 | 0.52 | 1000 | 7.5824 | 0.0007 |
|
| 55 |
+
| 7.4649 | 0.78 | 1500 | 7.3841 | 0.0010 |
|
| 56 |
+
| 7.3285 | 1.04 | 2000 | 7.2652 | 0.0012 |
|
| 57 |
+
| 7.1404 | 1.3 | 2500 | 7.1559 | 0.0014 |
|
| 58 |
+
| 7.0322 | 1.56 | 3000 | 7.0551 | 0.0016 |
|
| 59 |
+
| 6.9197 | 1.82 | 3500 | 6.9449 | 0.0019 |
|
| 60 |
+
| 6.7822 | 2.09 | 4000 | 6.8773 | 0.0018 |
|
| 61 |
+
| 6.6506 | 2.35 | 4500 | 6.7980 | 0.0020 |
|
| 62 |
+
| 6.5811 | 2.61 | 5000 | 6.7382 | 0.0022 |
|
| 63 |
+
| 6.538 | 2.87 | 5500 | 6.6582 | 0.0022 |
|
| 64 |
+
| 6.4136 | 3.13 | 6000 | 6.6013 | 0.0024 |
|
| 65 |
+
| 6.3325 | 3.39 | 6500 | 6.5369 | 0.0024 |
|
| 66 |
+
| 6.2566 | 3.65 | 7000 | 6.4875 | 0.0025 |
|
| 67 |
+
| 6.2285 | 3.91 | 7500 | 6.4342 | 0.0027 |
|
| 68 |
+
| 6.1281 | 4.17 | 8000 | 6.4066 | 0.0027 |
|
| 69 |
+
| 6.0762 | 4.43 | 8500 | 6.3674 | 0.0027 |
|
| 70 |
+
| 6.0309 | 4.69 | 9000 | 6.3336 | 0.0027 |
|
| 71 |
+
| 6.0123 | 4.95 | 9500 | 6.2932 | 0.0030 |
|
| 72 |
+
| 5.9089 | 5.21 | 10000 | 6.2835 | 0.0029 |
|
| 73 |
+
| 5.8901 | 5.47 | 10500 | 6.2481 | 0.0030 |
|
| 74 |
+
| 5.86 | 5.74 | 11000 | 6.2295 | 0.0030 |
|
| 75 |
+
| 5.8586 | 6.0 | 11500 | 6.2068 | 0.0033 |
|
| 76 |
+
| 5.7768 | 6.26 | 12000 | 6.1937 | 0.0031 |
|
| 77 |
+
| 5.7591 | 6.52 | 12500 | 6.1916 | 0.0032 |
|
| 78 |
+
| 5.7443 | 6.78 | 13000 | 6.1579 | 0.0033 |
|
| 79 |
+
| 5.7125 | 7.04 | 13500 | 6.1478 | 0.0033 |
|
| 80 |
+
| 5.6751 | 7.3 | 14000 | 6.1379 | 0.0035 |
|
| 81 |
+
| 5.6648 | 7.56 | 14500 | 6.1304 | 0.0035 |
|
| 82 |
+
| 5.6644 | 7.82 | 15000 | 6.1280 | 0.0034 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
### Framework versions
|
| 86 |
+
|
| 87 |
+
- Transformers 4.17.0.dev0
|
| 88 |
+
- Pytorch 1.10.0+cu111
|
| 89 |
+
- Datasets 1.18.3
|
| 90 |
+
- Tokenizers 0.11.6
|