from huggingface_hub import hf_hub_download import joblib REPO_ID = "kompiangg/svm-hate-speech-classification" def load_hugging_face_model(filename): return joblib.load( hf_hub_download( REPO_ID, filename, cache_dir="./.cache", local_dir="./.cache" ) )