Project for a university course
Back up dataset: https://www.kaggle.com/datasets/victorcallejasf/multimodal-hate-speech/data
Some models have gated access which means you have to authenticate first. Do this do the following:
transformers library with pip install transformershuggingface-cli login, or add this to a notebook:from huggingface_hub import login
login()
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
Required for training
pip install transformers[torch]
Jupyter Notebook
99.7%
Project for a university course
Back up dataset: https://www.kaggle.com/datasets/victorcallejasf/multimodal-hate-speech/data
Some models have gated access which means you have to authenticate first. Do this do the following:
transformers library with pip install transformershuggingface-cli login, or add this to a notebook:from huggingface_hub import login
login()
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
Required for training
pip install transformers[torch]
Jupyter Notebook
99.7%