Skip to content

Commit

Permalink
[tokenizer] Print out warning in model_zoo_importer (#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Aug 24, 2023
1 parent 6b73831 commit e196216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/tokenizers/src/main/python/model_zoo_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def main():
temp_dir = f"{args.output_dir}/tmp"

models = huggingface_models.list_models(args)
if not models:
logging.warning(f"model not found: {args}")

for model in models:
task = model["task"]
Expand Down

0 comments on commit e196216

Please sign in to comment.