Modify datatype from `int32` to `float` for pearsonr, spearmanr.
MEMBER
@Woodywarhol9 good catch, thanks for reporting.

We are fixing this.
2022-03-29T08:33:36Z
https://github.com/huggingface/datasets/issues/4053#issuecomment-1081586871
https://api.github.com/repos/huggingface/datasets/issues/4053
IC_kwDODunzps5Ad7S3
https://api.github.com/repos/huggingface/datasets/issues/comments/1081586871/reactions
2022-03-29T08:33:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1081586871
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
**Is your feature request related to a problem? Please describe.**
- Now [Pearsonr](https://github.com/huggingface/datasets/blob/master/metrics/pearsonr/pearsonr.py) and [Spearmanr](https://github.com/huggingface/datasets/blob/master/metrics/spearmanr/spearmanr.py) both get input data as 'int32'. 


**Describe the solution you'd like**
- Considering that those metrics are widely used for the STS task(labels are in 'float' data type),
it would be better to modify datatype from 'int32' to 'float' for getting exact values of similarity.