Skip to content

Generalize tokenizer, enable future parametrization of architectures#38

Merged
ranieri merged 8 commits intomainfrom
feature/generalize-tokenizer
May 8, 2026
Merged

Generalize tokenizer, enable future parametrization of architectures#38
ranieri merged 8 commits intomainfrom
feature/generalize-tokenizer

Conversation

@akaIDIOT
Copy link
Copy Markdown
Member

No description provided.

Comment thread asmtransformers/tests/test_asmsentencebert.py
if hasattr(self, 'model'):
self.model.tokenizer = tokenizer

def preprocess(self, inputs, prompt=None, architecture='arm64', **kwargs):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This handles the actual forwarding. The test now passes locally.

@ranieri ranieri force-pushed the feature/generalize-tokenizer branch from 5a14296 to 67de0d1 Compare May 8, 2026 09:10
@ranieri ranieri merged commit 8c8cd52 into main May 8, 2026
4 checks passed
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.

2 participants