kpshinnik's picture
Upload folder using huggingface_hub
d4bcd5c verified
Raw
History Blame Contribute Delete
2.93 kB
Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s] Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 17.89it/s] Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 17.87it/s]
loaded llava-hf/llava-1.5-7b-hf on mps/torch.float16
POPE: 150 examples, methods=['vanilla', 'split', 'random', 'attn'], budgets=[192, 128, 64]
10/150 151s (15.1s/ex)
20/150 315s (15.8s/ex)
30/150 464s (15.5s/ex)
40/150 618s (15.4s/ex)
50/150 770s (15.4s/ex)
60/150 957s (15.9s/ex)
70/150 1155s (16.5s/ex)
80/150 1273s (15.9s/ex)
90/150 1383s (15.4s/ex)
100/150 1815s (18.1s/ex)
110/150 2033s (18.5s/ex)
120/150 2238s (18.6s/ex)
130/150 2462s (18.9s/ex)
140/150 2671s (19.1s/ex)
150/150 2860s (19.1s/ex)
{
"vanilla@576": {
"correct": 122,
"total": 150,
"tp": 58,
"tn": 64,
"fp": 11,
"fn": 17,
"accuracy": 81.33333333333333,
"f1": 80.55555555555556
},
"split@192": {
"correct": 118,
"total": 150,
"tp": 53,
"tn": 65,
"fp": 10,
"fn": 22,
"accuracy": 78.66666666666667,
"f1": 76.81159420289855
},
"split@128": {
"correct": 116,
"total": 150,
"tp": 50,
"tn": 66,
"fp": 9,
"fn": 25,
"accuracy": 77.33333333333333,
"f1": 74.6268656716418
},
"split@64": {
"correct": 116,
"total": 150,
"tp": 45,
"tn": 71,
"fp": 4,
"fn": 30,
"accuracy": 77.33333333333333,
"f1": 72.58064516129033
},
"random@192": {
"correct": 118,
"total": 150,
"tp": 54,
"tn": 64,
"fp": 11,
"fn": 21,
"accuracy": 78.66666666666667,
"f1": 77.14285714285715
},
"random@128": {
"correct": 118,
"total": 150,
"tp": 52,
"tn": 66,
"fp": 9,
"fn": 23,
"accuracy": 78.66666666666667,
"f1": 76.4705882352941
},
"random@64": {
"correct": 118,
"total": 150,
"tp": 52,
"tn": 66,
"fp": 9,
"fn": 23,
"accuracy": 78.66666666666667,
"f1": 76.4705882352941
},
"attn@192": {
"correct": 123,
"total": 150,
"tp": 60,
"tn": 63,
"fp": 12,
"fn": 15,
"accuracy": 82.0,
"f1": 81.6326530612245
},
"attn@128": {
"correct": 123,
"total": 150,
"tp": 58,
"tn": 65,
"fp": 10,
"fn": 17,
"accuracy": 82.0,
"f1": 81.11888111888113
},
"attn@64": {
"correct": 122,
"total": 150,
"tp": 54,
"tn": 68,
"fp": 7,
"fn": 21,
"accuracy": 81.33333333333333,
"f1": 79.41176470588236
}
}
wrote outputs/pope_results.json