Skip to content

Commit e4ef335

Browse files
authored
Improvement to S3 client (#44)
* improvements to client * bumped version * improvements * message
1 parent f54b702 commit e4ef335

File tree

3 files changed

+241
-42
lines changed

3 files changed

+241
-42
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "smashed"
3-
version = "0.15.2"
3+
version = "0.15.3"
44
description = "Sequential MAppers for Sequences of HEterogeneous Dictionaries is a set of Python interfaces designed to apply transformations to samples in datasets, which are often implemented as sequences of dictionaries."
55
authors = [
66
{name = "Allen Institute for Artificial Intelligence", email = "contact@allenai.org" },

src/smashed/recipes/promptsource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(
1616
self,
1717
tokenizer: PreTrainedTokenizerBase,
1818
jinja_template: str,
19-
num_shots: Union[int, Literal["max"]] = 0,
19+
num_shots: int = 0,
2020
max_source_content_length: Optional[int] = None,
2121
max_target_content_length: Optional[int] = None,
2222
truncation_strategy: Literal["longest", "uniform"] = "longest",

0 commit comments

Comments
 (0)