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
gberton changed pull request status to merged

Sign up or log in to comment

Free AI Image Generator No sign-up. Instant results. Open Now