Update files for transformers integration

#1
by guarin HF Staff - opened

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
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment