guarin HF Staff commited on
Commit
b160241
·
verified ·
1 Parent(s): 44ff952

Update files for transformers integration

Browse files

Updates the repo to smoothly integrate with transformers.

PR: https://github.com/huggingface/transformers/pull/46347

Changes:
- Update `config.json` to match transformers structure
- Update config classes to handle new `config.json`
- Add processor and tokenizer configs
- Update DPT `model.safetensors` files to include DPT head + backbone weights
- Update DPT model code to handle extra weights in `model.safetensors` file

4 files changed +142 -47
Files changed (4)
config.json+82-16
configuration_tips.py+32-31
processor_config.jsonAdded+16
tokenizer_config.jsonAdded+12