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

Clarification about prompts and Result in Table 4 #1

Open
kushagra414 opened this issue May 13, 2024 · 1 comment
Open

Clarification about prompts and Result in Table 4 #1

kushagra414 opened this issue May 13, 2024 · 1 comment

Comments

@kushagra414
Copy link

kushagra414 commented May 13, 2024

Hi,
I have some doubts about the paper, it would be grateful if you could clear them up:

  1. Could you please provide the system prompt and the user prompt you used as the input to Llama-2-7B?
  2. What parameters did you set in llama-2-7b, temperature, top_p, etc. It would be helpful if you could provide the code.
  3. Did you the Llama-2-7B-chat or Llama-2-7B to generate descriptions whose results are mentioned in Table 4, in the paper?
@Reza-esfandiarpoor
Copy link
Member

Hi,

To generate the results of the original Llama model, we use the following prompt:

You are a knowledgeable teacher.

For the following objects, generate captions that represent the distinguishing visual differences between the photos of the two objects.
Generate as many captions as you can.

Object 1: Field sparrow
Object 2: acadian flycatcher

Visual characteristic: Bill shape
Caption 1: A photograph of a field sparrow, a type of bird, with cone bill shape.
Caption 2: A photograph of a acadian flycatcher, a type of bird, with all-purpose bill shape.

Visual characteristic: Breast color
Caption 1: A photograph of a field sparrow, a type of bird, with buff breast color.
Caption 2: A photograph of a acadian flycatcher, a type of bird, with white breast color.

Visual characteristic: Back pattern
Caption 1: A photo of a field sparrow, a type of bird, with striped back pattern.
Caption 2: A photo of a acadian flycatcher, a type of bird, with solid back pattern.

For the following objects, generate captions that represent the distinguishing visual differences between the photos of the two objects.
Generate as many captions as you can.

Object 1: CLASS_NAME_ONE
Object 2: CLASS_NAME_TWO

We use these parameters:

top_k = 10
max_length = 1024
temperature = 0.1
top_p = 0.1
do_sample = True

We use Llama 2 - 7B in our experiments.

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