File size: 262 Bytes
c3bf538
c6fb015
c3bf538
 
 
 
1
2
3
4
5
6
from transformers import pipeline

print("Downloading NEW model 'ProsusAI/finbert'...")
# Using the pipeline API is the easiest way to download all necessary files
classifier = pipeline('text-classification', model='ProsusAI/finbert')
print("Download complete!")