Skip to content

Commit 8bec9e3

Browse files
docs: add import for example usage for ColConfig and ColModel in documentation
1 parent 62e3950 commit 8bec9e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • lightning_ir/models/bi_encoders

lightning_ir/models/bi_encoders/col.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
To enable XTR in-batch token retrieval during training, set the `k_train` parameter in the configuration
2424
to the desired number of top-k document tokens to retrieve (e.g., 128):
2525
26+
>>> from lightning_ir import ColConfig, ColModel
2627
>>> config = ColConfig(k_train=128)
2728
>>> model = ColModel(config)
2829

0 commit comments

Comments
 (0)