File size: 331 Bytes
c064332 e92b857 |
1 2 3 4 5 6 7 |
#!/bin/bash
# Install Python dependencies
pip install -r requirements.txt
# Download the model during build (prevents timeout on first request)
python -c "from transformers import AutoTokenizer, AutoModelForSeq2SeqLM; AutoTokenizer.from_pretrained('tscholak/cxmefzzi'); AutoModelForSeq2SeqLM.from_pretrained('tscholak/cxmefzzi')" |