Prompting Techniques

  1. Zero Shot Prompting
  2. One Shot Prompting
  3. Few Shot Prompting
  4. Chain-of-Thought (CoT) Prompting
  5. Auto Chain-of-Thought (Auto-CoT)
  6. Persona-Based Prompting

Prompt Serialization

  1. Alpaca Prompting
  2. ChatML Prompting
  3. INST Prompting

Fine Tuning Model

System Prompt Method

  1. Create Modelfile

    from give-model-name-which-you-want-to-extend
    parameter temperature 0.7
    
    system """ Write System Prompt here """
    
  2. Create Model

    ollama create new-model-name-here -f ./Modelfile-path-here
    
  3. Run your model

    ollama run new-model-name-here