allenai / mmda

multimodal document analysis
Apache License 2.0
159 stars 18 forks source link

Proof of concept for MagicLookup #187

Open soldni opened 1 year ago

soldni commented 1 year ago

Tested with magic_v2.py (1000 iterations, done 500 times to get std); it's about a 7% performance hit, which feels ok:

$ python scripts/magic_v2.py 
try_new: 7.94e-03 +/- 4.70e-04 s
try_old: 7.36e-03 +/- 3.82e-04 s