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

Bert tf_model.h5 was skipped during a hdf5 scan: Model Config not found #181

Open
rmtuckerphx opened this issue Jul 22, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@rmtuckerphx
Copy link

Describe the bug
Downloaded https://huggingface.co/google-bert/bert-base-uncased/blob/main/tf_model.h5 to local machine and ran modelscan --show-skipped -p ./models/bert-base-uncased/tf_model.h5 and model file is skipped.

To Reproduce
Steps to reproduce the behavior:

  1. Download to local machine: https://huggingface.co/google-bert/bert-base-uncased/blob/main/tf_model.h5
  2. Execute: modelscan --show-skipped -p ./models/bert-base-uncased/tf_model.h5
  3. Output is:

No settings file detected at /myproj/modelscan-settings.toml. Using defaults.
Model Config not found in: /myproj/models/bert-base-uncased/tf_model.h5
Scanning /myproj/models/bert-base-uncased/tf_model.h5 using modelscan.scanners.H5LambdaDetectScan model scan
--- Summary ---
No issues found! 🎉
--- Skipped ---
Total skipped: 1 - run with --show-skipped to see the full list.
Skipped files list:
The following file
/myproj/models/bert-base-uncased/tf_model.h5 was skipped during a hdf5 scan:
Model Config not found

Expected behavior
The h5 file to be scanned not skipped.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS Ubuntu Linux
  • Modelscan Version 0.7.6

Additional context
Maybe all that is needed is clarification that this scenario is OK to skip.

@rmtuckerphx rmtuckerphx added the bug Something isn't working label Jul 22, 2024
@newverma276
Copy link

same for me

@nandy6666
Copy link

same for me as well, it's not scanning the Mistral7B bin file

No settings file detected at /Users/nandy/Downloads/ModelScan/modelscan-settings.toml. Using defaults.

Scanning /Users/nandy/Downloads/ModelScan/t5-small-lm-adapt/pytorch_model.bin:archive/data.pkl using modelscan.scanners.PickleUnsafeOpScan model scan

--- Summary ---

No issues found! 🎉

--- Skipped ---

Total skipped: 191 - run with --show-skipped to see the full list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants