Skip to content

Instantly share code, notes, and snippets.

View fw42's full-sized avatar

Florian Weingarten fw42

View GitHub Profile
@fw42
fw42 / gist:93727d046b827fab4751
Last active August 29, 2015 14:08
Module#prepend with C extensions
#!/usr/bin/env ruby
require 'socket'
require 'openssl'
module Foo
end
OpenSSL::SSL::SSLSocket.prepend(Foo)
# This line crashes with the prepend() but works without it
@fw42
fw42 / beir.tsv
Created May 31, 2024 09:14
beir datasets
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 3 columns, instead of 1. in line 8.
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/msmarco.zip 4108225863 244067daf65d982533ea17ebd59501e4
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/trec-covid.zip 73876720 ce62140cb23feb9becf6270d0d1fe6d1
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/nfcorpus.zip 2448432 a89dba18a62ef92f7d323ec890a0d38d
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/nq.zip 498307926 d4d3d2e48787a744b6f6e691ff534307
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/hotpotqa.zip 654025350 f412724f78b0d91183a0e86805e16114
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/fiqa.zip 17948027 17918ed23cd04fb15047f73e6c3bd9d9
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/arguana.zip 3773617 8ad3e3c2a5867cdced806d6503f29b99
https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/webis-touche2020.zip 227132363 46f650ba5a527fc69e0a6521c5a23563
https://public.ukp.informatik.tu-darmstadt.de/t