Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about regression #63

Closed
Jacobluke- opened this issue Mar 13, 2022 · 1 comment
Closed

Questions about regression #63

Jacobluke- opened this issue Mar 13, 2022 · 1 comment

Comments

@Jacobluke-
Copy link

If I want to use FinBERT for regression, what should I do with the prepare_model() function? Since there is no classification label like ['positive', 'neutral', 'negative'] to input.

@doguaraci
Copy link
Member

Hi, you don't need to change anything. The code already supports regression. You need to set the output mode as regression when you instantiate the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants