iiif_manuscript_vit / config.json
davanstrien's picture
davanstrien HF staff
Training in progress, epoch 1
cad8eda
{
"_name_or_path": "google/vit-base-patch16-224-in21k",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "cover",
"1": "flyleaf",
"2": "1st upper flyleaf verso",
"3": "2nd upper flyleaf verso",
"4": "3rd upper flyleaf verso",
"5": "fol",
"6": "1st lower flyleaf verso",
"7": "2nd lower flyleaf verso",
"8": "3rd lower flyleaf verso",
"9": "Lower flyleaf verso",
"10": "Upper flyleaf verso",
"11": "Blank leaf recto",
"12": "Blank leaf verso"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"1st lower flyleaf verso": 6,
"1st upper flyleaf verso": 2,
"2nd lower flyleaf verso": 7,
"2nd upper flyleaf verso": 3,
"3rd lower flyleaf verso": 8,
"3rd upper flyleaf verso": 4,
"Blank leaf recto": 11,
"Blank leaf verso": 12,
"Lower flyleaf verso": 9,
"Upper flyleaf verso": 10,
"cover": 0,
"flyleaf": 1,
"fol": 5
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.16.2"
}