Skip to content

How to use tokenizer.json in ExecuTorch Android demo (without tokenizer.model)? #10745

@jordanqi

Description

@jordanqi

📚 The doc issue

I'm trying to deploy a language or vision-language model on Android using the ExecuTorch Android demo app.
The model I'm working with only provides tokenizer.json, but the current Android implementation appears to expect a tokenizer.model file instead.

Is tokenizer.model mandatory for the ExecuTorch demo app?

If I only have a tokenizer.json file (from HuggingFace), is there any recommended way to convert or load it in the app?

Suggest a potential alternative/fix

No response

cc @kirklandsign @cbilgin

Metadata

Metadata

Assignees

Labels

module: androidIssues related to Android code, build, and executiontriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions