Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any support for 'google/tapas-mini-finetuned-wtq' tokenizer? #1114

Closed
memetrusidovski opened this issue Nov 26, 2022 · 5 comments
Closed
Labels

Comments

@memetrusidovski
Copy link

I'm trying to run a tokenizer in java then eventually compile it to run on android for an open domain question and answer project. I'm wondering why 'google/tapas-mini-finetuned-wtq' doesn't work with DeepJavaLibrary. For more popular models the tokenizer is working. I'm assuming there is no fast tokenizer for tapas, so i was wondering if anyone had any advice on how to go about running tapas tokenizer and model on android/java?

@Narsil
Copy link
Collaborator

Narsil commented Nov 26, 2022

You should probably check out https://github.com/huggingface/transformers/blob/main/src/transformers/models/tapas/tokenization_tapas.py

This is where the code you're interested lives.

And yes tapas probably uses a regular tokenizer, but it also works on tables which this library is not make for.

@memetrusidovski
Copy link
Author

Do you think there would be any way to run the tapas tokenizer running in machine code or in Java? Im trying to get it running in the native pytorch engine, but havent had any luck

@memetrusidovski
Copy link
Author

Does anyone know if Tapas Tokenizer can compile with Cython to run on android?

@memetrusidovski
Copy link
Author

I am going to work on a rust version of the Table Parser as a directed research project under one of my professors next semester

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jan 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants