Skip to content

Refactor SLAF tokenizer interfaces#54

Closed
alam-shahul wants to merge 17 commits into
slaf-project:mainfrom
alam-shahul:feature/tokenizer-reorg
Closed

Refactor SLAF tokenizer interfaces#54
alam-shahul wants to merge 17 commits into
slaf-project:mainfrom
alam-shahul:feature/tokenizer-reorg

Conversation

@alam-shahul

Copy link
Copy Markdown
Contributor

Rework SLAFDataLoader and DistributedSLAFDataLoader to accept instantiated tokenizers instead of selecting tokenizers by type.

Add tokenizer-owned apply(), tokenize_grouped(), tokenizer_name, and
get_factory_kwargs() entrypoints so local and distributed preprocessing depend on the tokenizer interface rather than tokenizer.window internals.

Update dataset and worker tokenization paths to preserve scGPT dual-stream values output while keeping the shared
schema rooted in slaf.core.tabular_schema.

alam-shahul and others added 17 commits April 20, 2026 16:43
Rework SLAFDataLoader and DistributedSLAFDataLoader to accept instantiated tokenizers instead of selecting tokenizers by type.

Add tokenizer-owned apply(), tokenize_grouped(), tokenizer_name, and
  get_factory_kwargs() entrypoints so local and distributed preprocessing depend on the tokenizer interface rather than tokenizer.window internals.

Update dataset and worker tokenization paths to preserve scGPT dual-stream values output while keeping the shared
  schema rooted in slaf.core.tabular_schema.
Update uv.lock with OmegaConf + dependencies.
Update uv.lock.
@alam-shahul alam-shahul marked this pull request as ready for review May 13, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant