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
Training in progress, step 5000
Browse files- config.json +1 -1
- last-checkpoint/config.json +31 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/pytorch_model.bin +3 -0
- last-checkpoint/rng_state.pth +3 -0
- last-checkpoint/scaler.pt +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/trainer_state.json +0 -0
- last-checkpoint/training_args.bin +3 -0
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/projects/copenlu/data/nadav/pixel/PretarinedPHD_v5/checkpoint-
|
| 3 |
"architectures": [
|
| 4 |
"PIXELForPreTraining"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/projects/copenlu/data/nadav/pixel/PretarinedPHD_v5/checkpoint-1200000",
|
| 3 |
"architectures": [
|
| 4 |
"PIXELForPreTraining"
|
| 5 |
],
|
last-checkpoint/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/projects/copenlu/data/nadav/pixel/PretarinedPHD_v5/checkpoint-1200000",
|
| 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
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffdf2f530a5f33603899c9c681131487a54ae63acd2afb1e96be3a919faec497
|
| 3 |
+
size 893438545
|
last-checkpoint/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9754db5b215a49d9b4e5070be0e2fae661615c01007c303a67eaba0dbfdf93a9
|
| 3 |
+
size 449471589
|
last-checkpoint/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:009557009bca686b849ad347cf4a3c2b82d37f11c681dc7c9f316c835a706e67
|
| 3 |
+
size 21579
|
last-checkpoint/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c0fb6357a20be0b8c2fb2087eb756787b432327aa5ae8730c3c382c3aad69e8
|
| 3 |
+
size 559
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be69a70906d61ecc89ddf06554ddfd4cc79b1ef0b0bfee1b0e437c4a423d8c64
|
| 3 |
+
size 623
|
last-checkpoint/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53e8736258484cfcb467cf4f0f3c14adb0088a4294b76ef57e9527bd2149b6d2
|
| 3 |
+
size 5615
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 449471589
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9754db5b215a49d9b4e5070be0e2fae661615c01007c303a67eaba0dbfdf93a9
|
| 3 |
size 449471589
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5615
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53e8736258484cfcb467cf4f0f3c14adb0088a4294b76ef57e9527bd2149b6d2
|
| 3 |
size 5615
|