microsoft / DeBERTa

The implementation of DeBERTa
MIT License
1.99k stars 227 forks source link

Install fails due to use of deprecated `sklearn` package #134

Open benfogelson opened 1 year ago

benfogelson commented 1 year ago

The requirements.txt file lists sklearn as a dependency. This is deprecated, and intermittently raises an error on install (see https://github.com/scikit-learn/sklearn-pypi-package).

I've made a PR to fix the issue: https://github.com/microsoft/DeBERTa/pull/133

ceferisbarov commented 3 weeks ago

A temporary fix:

  1. Update requirements.txt yourself.
  2. Run pip install -e . in the base folder.
  3. Verify with pip show deberta