File size: 225 Bytes
0d5ed90
 
 
1864df7
 
 
 
1
2
3
4
5
6
7
8
import os
# Set the Hugging Face cache directory to a writable location
os.environ["TRANSFORMERS_CACHE"] = "/tmp/huggingface_cache"
from model import train_sms_classifier

# Train the model and save it
train_sms_classifier()