From 352e2e6c8a9fb33ac28f8a526bb08416515c2cb0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 12:39:18 +0000 Subject: automatic import of torchtext --- torchtext.spec | 106 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/torchtext.spec b/torchtext.spec index cddbf12..4a01001 100644 --- a/torchtext.spec +++ b/torchtext.spec @@ -1,54 +1,54 @@ -Name: torchtext -Version: 0.16.2 -Release: 1%{?dist} -Summary: Natural Language Processing library for PyTorch - -License: BSD -URL: https://github.com/pytorch/text -Source0: https://github.com/pytorch/text/archive/v%{version}.tar.gz - - -BuildRequires: cmake -BuildRequires: ninja-build -BuildRequires: utf8proc-devel -BuildRequires: re2-devel -BuildRequires: double-conversion-devel -BuildRequires: sentencepiece - -BuildRequires: python3-numpy -BuildRequires: python3-scipy -BuildRequires: python3-scikit-learn -BuildRequires: python3-tqdm -BuildRequires: python3-requests -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel -BuildRequires: python3-hatchling - -BuildRequires: python3-pytorch - -%description -torchtext is a Natural Language Processing (NLP) library for PyTorch. It provides data -processing, datasets, and models for tasks such as text classification, language -modeling, and sequence-to-sequence learning. - -%prep -%autosetup -n text-0.16.2 - -%build -%py3_build - -%install -%py3_install - -%files -%doc *.md -%license LICENSE -%{python3_sitearch}/* - -%changelog -* Mon Apr 15 2024 chelsey<20011128@gmail.com> +Name: torchtext +Version: 0.16.2 +Release: 1%{?dist} +Summary: Natural Language Processing library for PyTorch + +License: BSD +URL: https://github.com/pytorch/text +Source0: https://github.com/pytorch/text/archive/v%{version}.tar.gz + + +BuildRequires: cmake +BuildRequires: ninja-build +BuildRequires: utf8proc-devel +BuildRequires: re2-devel +BuildRequires: double-conversion-devel +BuildRequires: sentencepiece + +BuildRequires: python3-numpy +BuildRequires: python3-scipy +BuildRequires: python3-scikit-learn +BuildRequires: python3-tqdm +BuildRequires: python3-requests +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +BuildRequires: python3-pytorch + +%description +torchtext is a Natural Language Processing (NLP) library for PyTorch. It provides data +processing, datasets, and models for tasks such as text classification, language +modeling, and sequence-to-sequence learning. + +%prep +%autosetup -n text-0.16.2 + +%build +%py3_build + +%install +%py3_install + +%files +%doc *.md +%license LICENSE +%{python3_sitearch}/* + +%changelog +* Mon Apr 15 2024 chelsey<20011128@gmail.com> - Initial package -- cgit v1.2.3