MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / BEIRConfig

Class BEIRConfig

vector/beir/config.py:26–32  ·  view source on GitHub ↗

BEIR dataset configuration.

Source from the content-addressed store, hash-verified

24
25@dataclass
26class BEIRConfig:
27 """BEIR dataset configuration."""
28 dataset_name: str = os.getenv("DATASET_NAME", "scifact")
29 embedding_model: str = os.getenv("EMBEDDING_MODEL", "all-MiniLM-L6-v2")
30 batch_size: int = int(os.getenv("BATCH_SIZE", "32"))
31 insert_batch_size: int = int(os.getenv("INSERT_BATCH_SIZE", "1000"))
32 data_dir: str = "./data"
33
34
35@dataclass

Callers 1

__post_init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected