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-1100000",
|
| 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-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
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccca5ecd0cb759e906879804b6e4e1b25857e2ce87675cb3b0f6baeb8ace397e
|
| 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:f18982668f182e51c7683de9511cad77bf1a4a2a7730cb42173a823995966611
|
| 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:576497a017e568c84b21779947310bd9450a078bf8dd1a138c51ed42a5cab3eb
|
| 3 |
+
size 559
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0ef4f0f61d6fe06ae27ae5cae0249725a1e07a68fa725c8a57083a7b12b401c
|
| 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:d82debee2f623f56cff7e77b66034215090069b6e75ff478fda2b682b96b88a4
|
| 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:f18982668f182e51c7683de9511cad77bf1a4a2a7730cb42173a823995966611
|
| 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:d82debee2f623f56cff7e77b66034215090069b6e75ff478fda2b682b96b88a4
|
| 3 |
size 5615
|