Quando tento rodar no colab
resultado_previsao = modelo_analise_sentimento.predict(dados['Resenha'])
Ele me pede um API Key para continuar
Map: 100%
40/40 [00:00<00:00, 675.07 examples/s]
/usr/local/lib/python3.12/dist-packages/torch/utils/data/dataloader.py:666: UserWarning: 'pin_memory' argument is set as true but no accelerator is found, then device pinned memory won't be used.
warnings.warn(warn_msg)
wandb: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server)
wandb: You can find your API key in your browser here: https://wandb.ai/authorize?ref=models
wandb: Paste an API key from your profile and hit enter:
__________________
Onde consigo essa API key?
Pesquisando um pouco mais vi que não preciso da biblioteca wandb.ai para a aula então simplesmente a desabilitei com
import os
os.environ["WANDB_DISABLED"] = "true"