Add free_dimension_overrides

#4

Based on https://github.com/huggingface/transformers.js/blob/main/src/models.js#L239 , WebNN requires free_dimension_overrides to be set in config.json as a field within "transformers.js_config".

Based on https://github.com/huggingface/transformers.js/pull/1276 and further discussions, will prioritize some of the more popular models, and make automated PRs for models which ordinarily only support static shapes. Need to close this PR.

Cannot merge
This branch has merge conflicts in the following files:
  • config.json
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment