• University of Beira Interior

    INTERACTION WITH LARGE SCALE MODELS


2024/25, Spring

NEWS

20/01/2025: The course web page is available.



PROGRAM

- Introduction to Generative AI and Prompt Engineering

- Large Language Models: Architecture and Behavior

- Prompt Design Strategies

- Domain-Specific Prompting

- Evaluation and Iteration

- Prompt Debugging

- Multimodal Prompting

- Advanced Prompting

- Collaborative Prompting

- Open-ended Prompting

- Constrained Prompting

- Ethics and Prompting


BIBLIOGRAPHY

- ?


EVALUATION CRITERIA

- Assiduity (A) To get approved at this course, students should attend to - at least - 80% of the theoretical and practical classes;

- Practical Project (P) The practical projects of this course weights 50% (10/20) of the final mark.

- To get approved at the course, a minimal mark of 5/20 should be obtained in the practical project part;

- The pratical project mark is conditioned to an individual presentation and discussion by each student;

- Written Test (F) Tuesday, June 3rd, 2025, 14:00. Room 6.17

- Mark (M) M = (A >= 0.8) * (P * 10/20 + F * 10/20)

- Admission to Exams Students with M >= 6 are admitted to final exams

- The practical projects mark is considered in all exam epochs;




CLASSES

Theoretical slides (Introduction): [pdf]

Practical Sheet 1: [pdf]

Practical Sheet 1 (Solutions): [pdf]

Practical Work Course: [pdf]

(Continuation):

Theorethical slides (Tokenization, Embeddings): [pdf]

Help Practical ProjectI (csv creation): [py]

Theorethical slides (Context Length and Hyperparameters): [pdf]

Practical Sheet II (Context): [pdf]

Theorethical slides (Prompt Design): [pdf]

Practical Sheet 3 (Prompt Design): [pdf]

Theorethical slides (Prompt Evaluation): [pdf]

Practical Sheet 4 (Prompt Evaluation): [pdf]

Theorethical slides (Prompt Debugging): [pdf]

Practical Sheet 5 (Prompt Debugging): [pdf]

Theorethical slides (Multimodal Prompting): [pdf]

Practical Sheet 6 (Multimodal Prompting): [pdf]

Theoretical slides (RNNs): [pdf]

Practical Sheet 7 (RNNs): [pdf]

Help Practical Sheet 7 (Example RNN): [py]

Help Practical Sheet 7 (Example Corpus): [txt]

Theoretical slides (Attention, Transformers): [pdf]

Theoretical slides (Hands-On Transformers): [pdf]

(Project Presentations)

(Written Test)





EVALUATION



FACULTY

HUGO PEDRO PROENÇA


Informatics Department

Theoretical + Practical classes