Instructions to use Nadav/Pixel-real-scans-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nadav/Pixel-real-scans-v5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForPreTraining model = AutoModelForPreTraining.from_pretrained("Nadav/Pixel-real-scans-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files
last-checkpoint/config.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "/projects/copenlu/data/nadav/pixel/PretarinedPHD_v5/checkpoint-1100000",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"PIXELForPreTraining"
|
| 5 |
-
],
|
| 6 |
-
"attention_probs_dropout_prob": 0.1,
|
| 7 |
-
"decoder_hidden_size": 512,
|
| 8 |
-
"decoder_intermediate_size": 2048,
|
| 9 |
-
"decoder_num_attention_heads": 16,
|
| 10 |
-
"decoder_num_hidden_layers": 8,
|
| 11 |
-
"hidden_act": "gelu",
|
| 12 |
-
"hidden_dropout_prob": 0.1,
|
| 13 |
-
"hidden_size": 768,
|
| 14 |
-
"image_size": [
|
| 15 |
-
368,
|
| 16 |
-
368
|
| 17 |
-
],
|
| 18 |
-
"initializer_range": 0.02,
|
| 19 |
-
"intermediate_size": 3072,
|
| 20 |
-
"layer_norm_eps": 1e-12,
|
| 21 |
-
"mask_ratio": 0.29,
|
| 22 |
-
"model_type": "pixel",
|
| 23 |
-
"norm_pix_loss": true,
|
| 24 |
-
"num_attention_heads": 12,
|
| 25 |
-
"num_channels": 3,
|
| 26 |
-
"num_hidden_layers": 12,
|
| 27 |
-
"patch_size": 16,
|
| 28 |
-
"qkv_bias": true,
|
| 29 |
-
"torch_dtype": "float32",
|
| 30 |
-
"transformers_version": "4.17.0"
|
| 31 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/optimizer.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:581c06a6000ad7aae7dc759e68b09f286cf80744e3a121409e857a8f45eed591
|
| 3 |
-
size 893439185
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/pytorch_model.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:706f98ec08b95f829def95010a81a3cc4a3fb6704e4e630ebe7af45245508c62
|
| 3 |
-
size 449471589
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/rng_state.pth
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:afc2aab8ad21873aba826d41f1cab4b99a6e1f87128205442ffbd546c2db91e6
|
| 3 |
-
size 21579
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/scaler.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7f46c198476bc3528c1fbe297abd4165bde2a58d3142da1a2e1971bbc4e60e43
|
| 3 |
-
size 559
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/scheduler.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f92cd92bf6b1f746b6c46ea1c5703b75b5aa1c9827eb8d07febe043f62acb085
|
| 3 |
-
size 623
|
|
|
|
|
|
|
|
|
|
|
|
last-checkpoint/trainer_state.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/training_args.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d82debee2f623f56cff7e77b66034215090069b6e75ff478fda2b682b96b88a4
|
| 3 |
-
size 5615
|
|
|
|
|
|
|
|
|
|
|
|