python3Packages.spacy-transformers: add passthru annotation test

This commit is contained in:
Daniël de Kok
2021-05-17 23:29:28 -07:00
committed by Jonathan Ringer
parent 51f398613c
commit 636b3581f6
3 changed files with 94 additions and 0 deletions
@@ -1,4 +1,5 @@
{ lib
, callPackage
, fetchPypi
, buildPythonPackage
, pytorch
@@ -30,6 +31,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "spacy_transformers" ];
passthru.tests.annotation = callPackage ./annotation-test { };
meta = with lib; {
description = "spaCy pipelines for pretrained BERT, XLNet and GPT-2";
homepage = "https://github.com/explosion/spacy-transformers";