`<|endoftext|>` in other model variants

#6
by yumemio - opened

First of all, great job releasing the model! It's fantastic to see all the members of the Phi-3 family in one place.

I have a question regarding the prompt format. Phi-3 has three size variants (mini, small and medium), and only this variant (small) seems to have the <|endoftext|> token in the official prompt format.

  • Phi-3-small-128k-instruct

    <|endoftext|><|user|>
    I am going to Paris, what should I see?<|end|>
    <|assistant|>
    Paris, the capital of France, is known for its stunning architecture, art museums, historical landmarks, and romantic atmosphere. Here are some of the top attractions to see in Paris:\n\n1. The Eiffel Tower: The iconic Eiffel Tower is one of the most recognizable landmarks in the world and offers breathtaking views of the city.\n2. The Louvre Museum: The Louvre is one of the world's largest and most famous museums, housing an impressive collection of art and artifacts, including the Mona Lisa.\n3. Notre-Dame Cathedral: This beautiful cathedral is one of the most famous landmarks in Paris and is known for its Gothic architecture and stunning stained glass windows.\n\nThese are just a few of the many attractions that Paris has to offer. With so much to see and do, it's no wonder that Paris is one of the most popular tourist destinations in the world."<|end|>
    <|user|>
    What is so great about #1?<|end|>
    <|assistant|>
    
  • Phi-3-mini-128k-instruct and Phi-3-medium-128k-instruct

    <|user|>
    I am going to Paris, what should I see?<|end|>
    <|assistant|>
    Paris, the capital of France, is known for its stunning architecture, art museums, historical landmarks, and romantic atmosphere. Here are some of the top attractions to see in Paris:\n\n1. The Eiffel Tower: The iconic Eiffel Tower is one of the most recognizable landmarks in the world and offers breathtaking views of the city.\n2. The Louvre Museum: The Louvre is one of the world's largest and most famous museums, housing an impressive collection of art and artifacts, including the Mona Lisa.\n3. Notre-Dame Cathedral: This beautiful cathedral is one of the most famous landmarks in Paris and is known for its Gothic architecture and stunning stained glass windows.\n\nThese are just a few of the many attractions that Paris has to offer. With so much to see and do, it's no wonder that Paris is one of the most popular tourist destinations in the world."<|end|>
    <|user|>
    What is so great about #1?<|end|>
    <|assistant|>
    

Is this subtle difference intentional? And does it imply the small model was trained differently from the other two variants?

Thanks in advance!πŸ€—

Microsoft org

Thank you for your interest! Yes the difference is intentional and we highly suggest you to follow the recommended format.

@nguyenbh Thanks for the clarification!

yumemio changed discussion status to closed

Sign up or log in to comment