Installation

We recommend Python 3.10+,`PyTorch 1.4.0+ <https://pytorch.org/get-started/locally/>`_, and transformers v4.41.0+.

Install with pip

YESciEval is available on the Python Package Index at pypi.org for installation.

pip install -U yescieval

The following pip install will install the latest version of YESciEval from the main branch of the YESciEval at GitHub using pip.

pip install git+https://github.com/sciknoworg/YESciEval.git

Install from Source

You can install YESciEval directly from source to take advantage of the bleeding edge main branch for development.

  1. Clone the repository:

git clone https://github.com/sciknoworg/YESciEval.git
cd YESciEval
  1. (Optional but recommended) Create and activate a virtual environment:

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies and the library

pip install -e .

Hint

The -e flag installs the package in editable mode, which is ideal for development—changes in the code reflect immediately.