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
8 changes: 4 additions & 4 deletions helical/models/c2s/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class Cell2SenConfig:
If True, the attention implementation will be set to "flash_attention_2".
If False, the attention implementation will be set to "sdpa".

max_genes: int = None
Maximum number of genes to use for the model. Default is None.
max_genes: int = 200
Maximum number of genes to use for the model. Default is 200.
If None, all genes will be used.
If a number is provided, the genes will be sorted by expression level and the top max_genes will be used.

Expand All @@ -73,7 +73,7 @@ def __init__(
organism: str = None,
perturbation_column: str = None,
max_new_tokens: int = 200,
max_genes: int = None,
max_genes: int = 200,
return_fit: bool = False,
dtype: str = "bfloat16",
model_size: str = "2B",
Expand Down Expand Up @@ -138,4 +138,4 @@ def __init__(
"use_flash_attn": use_flash_attn,
"max_genes": max_genes,
"device": device,
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "helical"
version = "1.4.18"
version = "1.4.19"
authors = [
{ name="Helical Team", email="support@helical-ai.com" },
]
Expand Down
Loading