Standardize config.json for native Transformers integration

#56

Summary

This PR updates the config.json to support the native NomicBert implementation currently being merged into transformers: PR#43067

Changes

  • Internalization: Removedauto_mapto favor the native library implementation
  • Standardization: Mapped legacy keys to standard Transformer keys for compatibility
  • Cleanup: Added add_pooling_layer: false to eliminate initialization warnings for standard BERT poolers.

Also replied on the PR in transformers but let's rather change to the base native config, i.e. NomicBertConfig().save_pretrained("your_folder") from the PR. The values should match (otherwise we need to fix the values on the config)

Cannot merge
This branch has merge conflicts in the following files:
  • config.json

Sign up or log in to comment