Search Criteria
Package Details: python-transformers 4.49.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-transformers.git (read-only, click to copy) |
---|---|
Package Base: | python-transformers |
Description: | State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow |
Upstream URL: | https://github.com/huggingface/transformers |
Keywords: | huggingface transformers |
Licenses: | Apache-2.0 |
Submitter: | filipg |
Maintainer: | daskol |
Last Packager: | daskol |
Votes: | 15 |
Popularity: | 1.07 |
First Submitted: | 2021-10-23 09:30 (UTC) |
Last Updated: | 2025-02-27 10:43 (UTC) |
Dependencies (22)
- python-filelock
- python-huggingface-hub (python-huggingface-hub-gitAUR)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-packaging
- python-regex (python-regex-gitAUR)
- python-requests
- python-safetensorsAUR (python-safetensors-binAUR)
- python-tokenizersAUR
- python-tqdm
- python-yaml (python-yaml-gitAUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-bitsandbytes (python-bitsandbytes-rocm-gitAUR, python-bitsandbytes-gitAUR) (optional) – 8-bit support for PyTorch
- python-flaxAUR (optional) – JAX support
- python-keras (python-keras-gitAUR) (optional) – Support for models in Keras 3
- python-onnxconverter-commonAUR (optional) – TensorFlow support
- python-pytorch (python-pytorch-cxx11abiAUR, python-pytorch-cxx11abi-optAUR, python-pytorch-cxx11abi-cudaAUR, python-pytorch-cxx11abi-opt-cudaAUR, python-pytorch-cxx11abi-rocmAUR, python-pytorch-cxx11abi-opt-rocmAUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm) (optional) – PyTorch support
- python-tensorflow (python-tensorflow-cuda-keplerAUR, python-tensorflow-computecppAUR, python-tensorflow-rocmAUR, python-tensorflow-opt-rocmAUR, python-tensorflow-cuda, python-tensorflow-opt, python-tensorflow-opt-cuda) (optional) – TensorFlow support
- Show 2 more dependencies...
Required by (39)
- coqui-tts (optional)
- dsnote (optional)
- dsnote-git (optional)
- localai-git
- localai-git-cuda
- localai-git-rocm
- manga-ocr-git
- monailabel (optional)
- open-webui-no-venv
- pix2tex
- python-assistant
- python-auralis
- python-bark-git
- python-bitsandbytes-git
- python-colbert-ai
- python-compressed-tensors
- python-compressed-tensors (check)
- python-deepmultilingualpunctuation
- python-deepspeed
- python-dmt
- Show 19 more...
Latest Comments
1 2 3 4 Next › Last »
daskol commented on 2025-02-27 10:44 (UTC)
@mistersmee
optdepends
has been updated withpython-keras
andpython-tf-keras
(aka Keras 2).mistersmee commented on 2025-02-26 14:42 (UTC)
@daskol, please add
python-tf-keras
as dependency, as per my bug report upstream: https://github.com/huggingface/transformers/issues/36410, it is required until upstream fully moves to Keras 3, whenever that may be.mistersmee commented on 2025-02-26 05:09 (UTC)
Just to give additional context, I was attempting to create a BART pipeline when it failed, I believe the some of the relevant lines of code that led to this error are: https://github.com/huggingface/transformers/blob/41925e42135257361b7f02aa20e3bbdab3f7b923/src/transformers/modeling_tf_utils.py#L91-L103
And yes, setting the TF_USE_LEGACY_KERAS environment variable did not work, for me, at least. The environment variable and the
try: import tf_keras
bits seem to try to fix the same problem but in two different ways, I'll try to go to upstream and try to figure the approach out.mistersmee commented on 2025-02-26 04:35 (UTC)
transformers gives me an error message about how Keras 3 isn't supported and to install the tf_keras pip package. I don't know if anyone else has had the same error, but I packaged tf-keras as
python-tf-keras
, so if anyone else has the same issue and the error is reproducable, try installing it and check if it fixes the issue, it does for me. Also, if it does, addingpython-tf-keras
as a dependency/optdepends to this package might help.BluePyTheDeer251 commented on 2024-10-04 02:35 (UTC)
The thing failed and threw this:
[code] python-transformers - exit status 8 python-optax - exit status 8 python-flax - exit status 8 python-orbax-checkpoint - exit status 8 python-chex - exit status 8 python-safetensors - exit status 8 python-jax - exit status 8 [/code]
BluePyTheDeer251 commented on 2024-10-03 23:48 (UTC)
I hope this helps an LLM I'm working on, it's a coding AI assistant I'm making as a passion project, like Linus Torvalds said: "It won't be as big as GNU", GNU in this case being GitHub Copilot.
daskol commented on 2024-05-07 09:58 (UTC)
@carsme Typo is fixed.
carsme commented on 2024-05-07 09:53 (UTC)
Tests fail both on my system and in a chroot:
daskol commented on 2023-09-20 20:25 (UTC) (edited on 2023-09-20 20:25 (UTC) by daskol)
@rekman Enforced constraint on
python-tokenizers
in order to prevent its updates with system update.Thank you for important news.
rekman commented on 2023-09-20 20:07 (UTC) (edited on 2023-09-20 20:09 (UTC) by rekman)
transformers
4.33.2 requirestokenizers<0.14
. Currently the AUR hastokenizers 0.14.0.
. Downgrade to0.13.3
to usetransformers
for now.This will be fixed once upstream provides a release including this pull request (it has been merged, just not released yet).
1 2 3 4 Next › Last »