transformers — Easy Playground
Hugging Face: state-of-the-art NLP/vision/audio models (BERT, GPT, etc.)
Getting started with transformersRun locally
Install
pip install transformersPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: transformers)
transformers is a third-party package. Hugging Face: state-of-the-art NLP/vision/audio models (BERT, GPT, etc.). Install with: pip install transformers
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?