Skip to content

Commit

Permalink
Delete results.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelsty committed Aug 8, 2024
1 parent 2fa3c53 commit a3fcc3d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 37 deletions.
48 changes: 24 additions & 24 deletions giga_cherche/utils/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@ class KDProcessing:
Examples
--------
>>> from datasets import load_dataset
>>> from giga_cherche import utils
... train = load_dataset(
... path="./msmarco_fr",
... name="train",
... cache_dir="./msmarco_fr"
... )
>>> queries = load_dataset(
... path="./msmarco_fr",
... name="queries",
... cache_dir="./msmarco_fr"
... )
>>> documents = load_dataset(
... path="./msmarco_fr", name="documents", cache_dir="./msmarco_fr"
... )
>>> train = train.map(
... utils.DatasetProcessing(
... queries=queries, documents=documents
... ).transform,
... )
from datasets import load_dataset
from giga_cherche import utils
train = load_dataset(
path="./msmarco_fr",
name="train",
cache_dir="./msmarco_fr"
)
queries = load_dataset(
path="./msmarco_fr",
name="queries",
cache_dir="./msmarco_fr"
)
documents = load_dataset(
path="./msmarco_fr", name="documents", cache_dir="./msmarco_fr"
)
train = train.map(
utils.DatasetProcessing(
queries=queries, documents=documents
).transform,
)
"""

Expand Down
13 changes: 0 additions & 13 deletions results.csv

This file was deleted.

0 comments on commit a3fcc3d

Please sign in to comment.