Anupam251272's picture
Create catch
0bda6a3 verified
raw
history blame contribute delete
157 Bytes
from transformers import pipeline
pipeline_cache_dir = "./pipeline_cache"
sentiment_pipeline = pipeline("sentiment-analysis", cache_dir=pipeline_cache_dir)