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

About applying the headline classification task to the finLLaMA2 #121

Open
JJYyyyy090 opened this issue Nov 14, 2023 · 2 comments
Open

About applying the headline classification task to the finLLaMA2 #121

JJYyyyy090 opened this issue Nov 14, 2023 · 2 comments

Comments

@JJYyyyy090
Copy link

I would like to perform headline classification using finllama2. Can anyone tell me what format of input I should use for this model?
Where can I find explanations or examples on the input format for headline classification?

@Noir97
Copy link
Member

Noir97 commented Nov 17, 2023

I have no idea what finllama2 refers to. If you want to perform headline classification using the llama2 base model, I don't think there's a specific format required.

You can either do a zero-shot/few-shot in-context learning in your favored ways or refer to FinGPT_Benchmark' task-specific training phase and just use our format for training (in this way you're actually using it as a bert-like model).

But if you want to use the llama2-chat model, you can refer to this https://gpus.llm-utils.org/llama-2-prompt-template/
Modify the template_dict here might help you.

@JJYyyyy090
Copy link
Author

JJYyyyy090 commented Nov 21, 2023 via email

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