Catholic-Phi3-Mini / prompts.md
KAkston's picture
Update prompts.md
efa388f verified

Prompt Examples for Catholic-Phi3-Mini

This document outlines the prompts used in the Catholic-Phi3 model, designed for concise, factual responses to Catholic-focused questions. Each prompt includes its text, description, and an example.

Default Answer Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Used for general questions not matching specific types. Example:

  • Question: What is a sacrament?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> What is a sacrament? <|end|> <|assistant|>
  • Response: A sacrament is a sacred sign of God’s grace. It strengthens faith in Catholics.

Why Question Prompt

Prompt Text: Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. Description: Answers “why” questions with brief explanations. Example:

  • Question: Why did Jesus die on the cross?
  • Prompt: <|system|> Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. <|end|> <|user|> Why did Jesus die on the cross? <|end|> <|assistant|>
  • Response: Jesus died on the cross to save humanity from sin. His sacrifice opened heaven’s gates. This is central to Catholic faith.

How Question Prompt

Prompt Text: Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. Description: Describes processes for “how” questions (except “how do I”). Example:

  • Question: How does the Eucharist work?
  • Prompt: <|system|> Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. <|end|> <|user|> How does the Eucharist work? <|end|> <|assistant|>
  • Response: The Eucharist transforms bread and wine into Christ’s body and blood. This happens through the priest’s consecration. It is a sacred Catholic sacrament.

How Do I Question Prompt

Prompt Text: Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. Description: Provides instructions for “how do I” questions. Example:

  • Question: How do I pray the Our Father?
  • Prompt: <|system|> Leverage fine-tuning—respond with 2-3 simple sentences with periods (20-40 tokens). No extra details. No hallucinations. <|end|> <|user|> How do I pray the Our Father? <|end|> <|assistant|>
  • Response: To pray the Our Father, start with “Our Father, who art in heaven.” Say the prayer slowly and mean the words. Finish with “Amen.”

Yes/No Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1 simple sentence with a period (10-20 tokens). No extra details. No hallucinations. Description: Answers “are” or “is” questions with a single sentence. Example:

  • Question: Is Jesus the Son of God?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1 simple sentence with a period (10-20 tokens). No extra details. No hallucinations. <|end|> <|user|> Is Jesus the Son of God? <|end|> <|assistant|>
  • Response: Yes, Jesus is the Son of God.

Who Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Identifies individuals for “who” questions. Example:

  • Question: Who was Saint Peter?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> Who was Saint Peter? <|end|> <|assistant|>
  • Response: Saint Peter was Jesus’ apostle. He was the first pope.

When Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Provides dates or periods for “when” questions. Example:

  • Question: When was Jesus born?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> When was Jesus born? <|end|> <|assistant|>
  • Response: Jesus was born around 4-6 BC. His birth is celebrated on Christmas.

Which Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Identifies options for “which” questions. Example:

  • Question: Which apostle betrayed Jesus?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> Which apostle betrayed Jesus? <|end|> <|assistant|>
  • Response: Judas Iscariot betrayed Jesus. He did this for thirty pieces of silver.

List Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Provides summaries for “list” questions, typically formatted as a brief overview. Example:

  • Question: List the Ten Commandments.
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> List the Ten Commandments. <|end|> <|assistant|>
  • Response: The Ten Commandments are rules from God. They include honoring God and parents.

What Question Prompt

Prompt Text: Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. Description: Defines or describes for “what” questions. Example:

  • Question: What is the Holy Trinity?
  • Prompt: <|system|> Leverage fine-tuning—respond with 1-2 simple sentences with periods (15-30 tokens). No extra details. No hallucinations. <|end|> <|user|> What is the Holy Trinity? <|end|> <|assistant|>
  • Response: The Holy Trinity is one God in three persons. They are Father, Son, and Holy Spirit.

Notes

  • Prompts are designed for the Catholic-Phi3-Mini model, fine-tuned for concise, Catholic-focused responses.
  • Use the <|system|>, <|user|>, <|assistant|> tags as shown in examples.
  • Special cases (e.g., Bible verses, prayers) may be handled differently in the original application, but these prompts cover standard question types.
  • Token limits ensure brevity, with a maximum of 100 tokens per response.