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

Finetuning H5-File #44

Open
JanFreise opened this issue Jan 4, 2023 · 0 comments
Open

Finetuning H5-File #44

JanFreise opened this issue Jan 4, 2023 · 0 comments

Comments

@JanFreise
Copy link

JanFreise commented Jan 4, 2023

I pretrained a new LM using the below stated tutorial.
https://keras.io/examples/nlp/pretraining_BERT/

This produces a TensorFlow checkpoint tf_model.h5 file for subsequent Finetuning.
Can i somehow finetune this with T-NER or is an pytorch_model.bin file obligatory?
The ERROR-Message suggest a way to do so - so i guess there can be done implementing a switch in T-NER:

YOURMODEL does not appear to have a file named pytorch_model.bin but there is a file for TensorFlow weights.
Use from_tf=True to load this model from those weights.

Files available:
README.md
config.json
special_tokens_map.json
tf_model.h5
tokenizer.json
tokenizer_config.json
vocab.txt

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

No branches or pull requests

1 participant