Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datafast/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def push_to_hub(
self,
repo_id: str,
token: str | None = None,
private: bool = False,
private: bool = True,
commit_message: str | None = None,
train_size: float | None = None,
seed: int | None = None,
Expand Down
3 changes: 2 additions & 1 deletion datafast/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def _get_mcq_specific_factors(config: MCQDatasetConfig) -> dict[str, int]:

def _get_mcq_num_expected_rows(config: MCQDatasetConfig, llms: list[LLMProvider], source_data_num_rows: int) -> int:
# factors = _get_mcq_specific_factors(config) # Not specific factors
source_data_num_rows = min(source_data_num_rows, config.sample_count)
if config.sample_count is not None:
source_data_num_rows = min(source_data_num_rows, config.sample_count)
num_llms = len(llms)
if config.prompts is None:
num_expanded_prompts = 1
Expand Down
Loading