def __init__(self, batch_size: int = 32, log_every: int = 1000):
    """Initializes a retriever.

    Args:
      batch_size: Batch size for the batched retrieval.
      log_every: Logging frequency.
    """
    self._batch_size = batch_size
    self._log_every = log_every
Initializes a retriever.

    Args:
      batch_size: Batch size for the batched retrieval.
      log_every: Logging frequency.
    
language/casper/retrieve/query_retrievers.py