Contents

transformers 4.45.2

0

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Stars: 133276, Watchers: 133276, Forks: 26617, Open Issues: 1415

The huggingface/transformers repo was created 5 years ago and the last code push was 4 hours ago.
The project is extremely popular with a mindblowing 133276 github stars!

How to Install transformers

You can install transformers using pip

pip install transformers

or add it to a project with poetry

poetry add transformers

Package Details

Author
The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
License
Apache 2.0 License
Homepage
https://github.com/huggingface/transformers
PyPi:
https://pypi.org/project/transformers/
GitHub Repo:
https://github.com/huggingface/transformers

Classifiers

  • Scientific/Engineering/Artificial Intelligence
No  transformers  pypi packages just yet.

Errors

A list of common transformers errors.

Code Examples

Here are some transformers code examples and snippets.

GitHub Issues

The transformers package has 1415 open issues on GitHub

  • Error when running the T5 pre-training script
  • Ignored unknown kwarg option direction, while running run_mlm.py (pytorch)
  • WIP Create test_speech_recognition_deepspeed.py
  • Fix TFLEDModel
  • GeneratorExp aren't supported by torch.jit.script when I try to export a previously trained model 'google/vit-base-patch16-224-in21k'.
  • Allow relative imports in dynamic code
  • Fix KerasMetricCallback prediction with generate() and inference of column names
  • A few minor questions regarding run_summarization.py in examples
  • DebertaV2 For run_qa.py
  • wav2vec with LM leads to CPU OOM
  • Fix bad_word_ids not working with sentencepiece-based tokenizers
  • random word masking index shouble be great than 0
  • ValueError: No valid checkpoint found in output directory
  • CPU OOM when using IterableDataset with dataloader_num_workers > 0
  • how can i write tensorboard when i train model with the script "run_speech_recognition_ctc.py"

See more issues on GitHub

Related Packages & Articles

thinc 9.1.1

A refreshing functional take on deep learning, compatible with your favorite libraries

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

spacy 3.8.2

Industrial-strength Natural Language Processing (NLP) in Python

keras 3.6.0

Keras is a deep learning API written in Python, running on top of the machine learning platform TensorFlow. The core data structures of Keras are layers and models. The philosophy is to keep simple things simple, while allowing the user to be fully in control when they need to (the ultimate control being the easy extensibility of the source code via subclassing).

tensorflow 2.17.0

TensorFlow is an open source machine learning framework for everyone.

gensim 4.3.3

Python framework for fast Vector Space Modelling