24 April, 2024
| Assistant | Provider | Privacy | LLM | Capabilities | Pricing model |
|---|---|---|---|---|---|
| ChatGPT | OpenAI | 👎🏼 | GPT-3.5, GPT-4 | Web search, DALLE, GPTs, multimodal input | 💶 |
| Copilot | Microsoft | 👍🏼 | GPT-3.5, GPT-4 | Web search, DALLE, multimodal input | 🆓 for BFH employees and students |
| Gemini | 👎🏼 | Gemini Ultra, Gemini Pro, and Gemini Nano | Web search, multimodal input | 💶 | |
| HuggingChat | 🤗 Hugging Face | 👍🏼 | Various open models, e.g. CodeLlama, Llama 2, Mistral, Gemma | 🆓 |
Haltung der BFH: Technologien, die den Lernprozess unterstützen und praxisrelevant sind, sollen in die Lehre einbezogen werden.
Einsatz von KI in der Lehre: Die Mehrheit der Studierenden wird KI-Tools nutzen. Studierende sollen lernen, Technologien kompetent einzusetzen und kritisch zu hinterfragen.
A branch of computer science that aims to create machines that can perform tasks that typically require human intelligence.
An LLM is a type of generative AI model that is trained to predict the next word following the input (prompt).


Text is generated one word at a time (actually tokens, not words).
\[ P(w_{w+1} | w_1, w_2, ..., w_t) \]
Generated text is dependent on the context.
Every token is given an equal amount time (computation per token is constant).
A foundation model, or large language model (LLM):
: What is the capital of France?
: What is the capital of Germany? What is the capital of Italy? . ..
Figure courtesy of Andrej Karpathy
Figure courtesy of Andrej Karpathy
Trained (fine-tuned) to have conversations: turn-taking, question answering, not being [rude/sexist/racist].

Model is aligned with the values of the fine-tuner.


: What is the capital of Uzbekistan?
: Tashkent
It looks like the LLM knows the capital of Uzbekistan1.
ask (retrieve) and tell (store) facts.
PROMPT : Write a haiku about a workshop on large language models.
ASSISTANT : Whispers of circuits,
Knowledge blooms in bytes and bits,
Model learns and fits.
OpenAI give a set of strategies for using their models effectively:
These include:
: You are an expert on learning techniques. Explain the concept of ‘flipped classroom’ in one paragraph.
: You are an expert financial derivatives. Explain the concept of ‘flipped classroom’ in one paragraph.
think step-by-step or Take a deep breath and work on this problem step-by-step (Yang et al. 2023).Instead of this:
: The odd numbers in this group add up to an even number: 4, 8, 9, 15, 12, 2, 1. Yes or no?
Do this:
: Is this statement correct? The odd numbers in this group add up to an even number: 4, 8, 9, 15, 12, 2, 1.
Reason through the problem step-by-step. Start by identifying the odd numbers. Next, add them up. Finally, determine if the sum is even or odd. Write down your reasoning steps in a numbered list.
: The odd numbers in this group add up to an even number: 4, 8, 9, 15, 12, 2, 1. Take a deep breath and think step-by-step.
: Improve this haiku:
Words weave through the air,
Minds meld with machine’s deep thought,
Knowledge blooms anew.
It is about about a workshop on large language models. I’m not happy with it.
Show me all the text. Format your edits as **TEXT** and show the deleted text as ~~TEXT~~. Keep you review short (max 100 words).
Try this example in ChatGPT.
For more advanced prompting techniques, see these websites:
and explore this activity.
Figure courtesy of Pinecone
Hardware requirements: