datamaestro-text 2023.12.12__py3-none-any.whl → 2024.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- from .base import Entry, ConversationDataset
1
+ from .base import Entry, ConversationDataset, Conversation, AnswerEntry, DecontextualizedEntry
@@ -261,8 +261,8 @@ class TrainingTripletsLines(TrainingTriplets):
261
261
  class PairwiseSample:
262
262
  """A a query with positive and negative samples"""
263
263
 
264
- topic: Topic
265
- """The topic"""
264
+ topics: List[Topic]
265
+ """The topic(s)"""
266
266
 
267
267
  positives: List[Document]
268
268
  """Relevant documents"""
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2023.12.12'
16
- __version_tuple__ = version_tuple = (2023, 12, 12)
15
+ __version__ = version = '2024.1.5'
16
+ __version_tuple__ = version_tuple = (2024, 1, 5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datamaestro-text
3
- Version: 2023.12.12
3
+ Version: 2024.1.5
4
4
  Summary: Datamaestro module for text-related datasets
5
5
  Author-email: Benjamin Piwowarski <benjamin@piwowarski.fr>
6
6
  License: GPL-3
@@ -19,6 +19,7 @@ Requires-Python: >=3.8
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
21
  Requires-Dist: datamaestro >=0.8.16
22
+ Requires-Dist: ir-datasets
22
23
  Requires-Dist: attrs
23
24
 
24
25
  [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![PyPI version](https://badge.fury.io/py/datamaestro-text.svg)](https://badge.fury.io/py/datamaestro-text)
@@ -1,5 +1,5 @@
1
1
  datamaestro_text/__init__.py,sha256=hU8jZpkXl3F74qIfqnJl7v4nJ9YxfoR7IpJpUREFNRI,248
2
- datamaestro_text/version.py,sha256=VZXVckR_vXa9FiYA1ju8Nq6CTGMqdvgq-SfQ3rz-1S0,421
2
+ datamaestro_text/version.py,sha256=Mgt8o-Jy2FBau6wBA7KhfN2teWMrW-INIqHgx0PGrww,417
3
3
  datamaestro_text/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  datamaestro_text/config/ai/quac.yaml,sha256=h1D7UJo2z1nZ_9MXpDHuQNJG9Ma2oayUdJV6lyumAIg,1103
5
5
  datamaestro_text/config/com/oscar-corpus.py,sha256=dDfdy_uhG6esRQQzUOOORwK8KvEq4c4hZbWt22pv-zY,733
@@ -43,11 +43,11 @@ datamaestro_text/data/embeddings.py,sha256=AskX7Ggvkpqhb-Je_hBTFp_vfkiWzWtJH1gFQ
43
43
  datamaestro_text/data/recommendation.py,sha256=MatelpJQiCMpNDuaQVBkRY809J1qiQo-8QO9XD2J_dU,303
44
44
  datamaestro_text/data/tagging.py,sha256=yWm7bNLks77cAySa1aZNCmLFxTTqhqXZ0PaoaEYU6hI,697
45
45
  datamaestro_text/data/text.py,sha256=pOI8nrEd6RoQA28DVH1JufHTunr9vG3FQzwElR8YirI,499
46
- datamaestro_text/data/conversation/__init__.py,sha256=tRugZqWGtShGz9CWj8Py1wfxFrYlpS7uDm7mUyUUO_U,45
46
+ datamaestro_text/data/conversation/__init__.py,sha256=5VkV39Oxl5BcjMpXDp0izRXZ1nO9-NpQaA7f4U2KbOc,95
47
47
  datamaestro_text/data/conversation/base.py,sha256=7FaHpDL-rfs0M7_fz9LZONmL2yMMM2BKbry68Fv6Vq0,1738
48
48
  datamaestro_text/data/conversation/canard.py,sha256=DdTZk3ahhLXE6Cm7Ve0gUs8jNSZYQ2uNEeO9j72lYhI,1918
49
49
  datamaestro_text/data/conversation/orconvqa.py,sha256=yK1BvnbGg5m0phNk_tVdgMqrSHmL40Cd6vDkW2nzkfE,3052
50
- datamaestro_text/data/ir/__init__.py,sha256=o1EDu1TfhtfMfrD1yfA2ISmPqowQ2tF1JKb0cBSn4P0,8389
50
+ datamaestro_text/data/ir/__init__.py,sha256=cvMATzHSB5HWJ8Wo9A2kwENFwCSGCHYGbll-lN7Bc9Y,8399
51
51
  datamaestro_text/data/ir/base.py,sha256=7FUh4ursVdLMaqUEngZ-TSFki_3xxdEihpVe09hl1Ec,1984
52
52
  datamaestro_text/data/ir/cord19.py,sha256=JN31EQeg0UFAJlIkg0Ie0_pq-f-oS1OstZGJLJBeKyY,1130
53
53
  datamaestro_text/data/ir/csv.py,sha256=vgBNOeayEALwO01LmrzVOEVbs_MWJn3eIm-o0KiXjiE,1836
@@ -74,9 +74,9 @@ datamaestro_text/utils/files.py,sha256=n6ZGl5LNrZbHLcV9RFwd7cFT0vPUezit-2dsBzs1v
74
74
  datamaestro_text/utils/iter.py,sha256=-m0Y_0YjSlEVbotzZYIA0Ca0Hq0G_bF9GfAZR2yxrAk,520
75
75
  datamaestro_text/utils/randomstream.py,sha256=_-boH4IIqN8qcl3IktjpNp9vmF4TWRzHUSNVwg7WAr8,973
76
76
  datamaestro_text/utils/shuffle.py,sha256=o8JTz3mr0lYWyv0zEh91jEK12ci1etMiUnzh5GkOHCM,3490
77
- datamaestro_text-2023.12.12.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
78
- datamaestro_text-2023.12.12.dist-info/METADATA,sha256=YYoyl-_XL58GbzeG3MV5vYhdc9WbK_HCTtvx1rvRvu8,1579
79
- datamaestro_text-2023.12.12.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
80
- datamaestro_text-2023.12.12.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
81
- datamaestro_text-2023.12.12.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
82
- datamaestro_text-2023.12.12.dist-info/RECORD,,
77
+ datamaestro_text-2024.1.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
78
+ datamaestro_text-2024.1.5.dist-info/METADATA,sha256=EYRkO7wiYyfH6mqd7hxVbNBrIiVyxzG6lCBTKuEFJfc,1604
79
+ datamaestro_text-2024.1.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
80
+ datamaestro_text-2024.1.5.dist-info/entry_points.txt,sha256=lO1P5hE183L5qEEVHlG8d_ik0HNXnX7Eo87cQLdcl-Y,111
81
+ datamaestro_text-2024.1.5.dist-info/top_level.txt,sha256=gYSeqViE8r7eCxSdqFJL74OwljOwKsGPaIhEcCXqc-o,17
82
+ datamaestro_text-2024.1.5.dist-info/RECORD,,