transformers

Package — Deep LearningPython 3.8+Advanced

Hugging Face: state-of-the-art NLP/vision/audio models (BERT, GPT, etc.)

Quick Info

Documentation
Official Docs
Python Version
3.8+
Dependencies
huggingface-hub, NumPy, packaging, PyYAML, regex, requests, tokenizers, safetensors, tqdm, filelock
Install
pip install transformers

Learn by Difficulty

Quick Example

python
# Install: pip install transformers
import transformers

# Basic transformers usage
print(f"Using transformers")
# See documentation for detailed examples

transformers is a third-party package. Hugging Face: state-of-the-art NLP/vision/audio models (BERT, GPT, etc.). Install with: pip install transformers

Try in Playground

Tags

packagedeep-learningnlpllmpretrained-models

Related Items