misc/py-evaluate: New port: HuggingFace community-driven open-source library of evaluation

This commit is contained in:
Yuri Victorovich
2026-03-17 00:23:19 -07:00
parent 2b309f349f
commit 332fbdcfda
4 changed files with 55 additions and 0 deletions
+1
View File
@@ -455,6 +455,7 @@
SUBDIR += py-einops
SUBDIR += py-emoji
SUBDIR += py-equinox
SUBDIR += py-evaluate
SUBDIR += py-ezc3d
SUBDIR += py-facenet-pytorch
SUBDIR += py-fast-histogram
+43
View File
@@ -0,0 +1,43 @@
PORTNAME= evaluate
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.6
CATEGORIES= misc python # machine-learning
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= HuggingFace community-driven open-source library of evaluation
WWW= https://github.com/huggingface/evaluate \
https://huggingface.co/docs/evaluate/index
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}datasets>=2.0.0:misc/py-datasets@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fsspec>=2021.05.0:filesystems/py-fsspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.7.0:misc/py-huggingface-hub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}multiprocess>0:devel/py-multiprocess@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.19.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.62.1:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xxhash>0:devel/py-xxhash@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}transformers>0:misc/py-transformers@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= huggingface
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
USE_TF=NO USE_TORCH=YES MPLBACKEND=Agg HF_ALLOW_CODE_EVAL=1
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1773720456
SHA256 (huggingface-evaluate-v0.4.6_GH0.tar.gz) = f504992d7dc5a526a3b8e1fc0f7b990874ae0b3576d5cab92db6438f62e255c4
SIZE (huggingface-evaluate-v0.4.6_GH0.tar.gz) = 299324
+8
View File
@@ -0,0 +1,8 @@
sigopt is an open source version of SigOpt API, performing hyperparameter
optimization and visualization.
Sigopt-server is an open-source tool for managing adaptive experiments,
especially for hyperparameter optimization. It uses algorithms to determine
the best spots in parameter space for metric optimization, and includes web
visualizations so you can improve your models. For more information you can
read about our service offering. Our documentation is here.