Hi,
I have two questions regarding the focal loss in torchvision library (focal loss)
- Can I use it for text classification?
if yes: - I have an imbalanced dataset in which class 0 has 100 examples and class 1 has 30. How should I set the alpha parameter?
Thanks