Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchFromGitHub, datasets, dill, fsspec, huggingface-hub, multiprocess, numpy, packaging, pandas, requests, setuptools, tqdm, xxhash,}:
buildPythonPackage rec { pname = "evaluate"; version = "0.4.6"; pyproject = true;
src = fetchFromGitHub { owner = "huggingface"; repo = "evaluate"; tag = "v${version}"; hash = "sha256-wK50bPJSwCNFJO0l6+15+GrbaFQNfAr/djn9JTOlwpw="; };
build-system = [ setuptools ];
dependencies = [ datasets numpy dill pandas requests tqdm xxhash multiprocess fsspec huggingface-hub packaging ];
# most tests require internet access. doCheck = false;
pythonImportsCheck = [ "evaluate" ];
meta = { homepage = "https://huggingface.co/docs/evaluate/index"; description = "Easily evaluate machine learning models and datasets"; changelog = "https://github.com/huggingface/evaluate/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bcdarwin ]; mainProgram = "evaluate-cli"; };}