Skip to main content

Study information

Programming for Prompt Engineering - 2024 entry

MODULE TITLEProgramming for Prompt Engineering CREDIT VALUE15
MODULE CODECOM2019 MODULE CONVENERDr Avon Huxor (Coordinator)
DURATION: TERM 1 2 3
DURATION: WEEKS 11
Number of Students Taking Module (anticipated) 30
DESCRIPTION - summary of the module content

Prompt engineering is the art and science of interacting with large language models. These models are increasingly important in computer science and is being rolled out into applications. In this module you will program in Python to access both public large language modules, such as GPT-4, and local language models. To undertake this module you need to have some experience of using language models (through a chat interface) and of basic programming.

AIMS - intentions of the module

This model aims to give you skills to programmatically access the contents of large language models, using the Python language. This will allow you to batch process texts and/or images to undertake tasks across a range of applications. These might include, for example, sentiment analysis, text/image classification, text summarisation. It also allows you to undertake studies of language models by probing their behaviours in an experimental manner.hat do lecturers hope to cover in this module in terms of knowledge and learning opportunities for the students? Include details of research-enriched learning/ teaching and links to employment.

INTENDED LEARNING OUTCOMES (ILOs) (see assessment section below for how ILOs will be assessed)

On successful completion of this module you should be able to:

Module Specific Skills and Knowledge

1. Write, test and debug a computer programme
2. Design appropriate prompts to language models

Discipline Specific Skills and Knowledge

3. Undertake analysis of text and image data through language model prompts to address stated problems
4. Learn a range of computing techniques that can be applied accross many application areas

Personal and Key Transferable / Employment Skills and Knowledge

5. Analyse a problem and design an appropriate solution
6. Use technical documentation to interpret specifications and technical errors.

 

SYLLABUS PLAN - summary of the structure and academic content of the module

The syllabus includes:

  • The history of AI, ML and language models, putting them in context
  • The technology of language models
  • Programming techniques to access language models
  • Legal and ethical issues of applications built with language models
LEARNING AND TEACHING
LEARNING ACTIVITIES AND TEACHING METHODS (given in hours of study time)
Scheduled Learning & Teaching Activities 33 Guided Independent Study 117 Placement / Study Abroad 0
DETAILS OF LEARNING ACTIVITIES AND TEACHING METHODS
Category Hours of study time Description
Scheduled Learning and Teaching activities 22 Lectures and seminars
Scheduled Learning and Teaching activities 11 Workshops - Practical worked examples and project work
Guided independent study 117 Background reading

 

ASSESSMENT
FORMATIVE ASSESSMENT - for feedback and development purposes; does not count towards module grade
SUMMATIVE ASSESSMENT (% of credit)
Coursework 100 Written Exams 0 Practical Exams 0
DETAILS OF SUMMATIVE ASSESSMENT
Form of Assessment % of Credit Size of Assessment (e.g. duration/length) ILOs Assessed Feedback Method
Project proposal 25 Three page written report 2-6 Written
Project report 75 Eight page report and code 1-6 Written

 

DETAILS OF RE-ASSESSMENT (where required by referral or deferral)
Original Form of Assessment Form of Re-assessment ILOs Re-assessed Time Scale for Re-assessment
Project proposal Project proposal 2-6 Referral/deferral period
Project report Project report 1-6 Referral/deferral period

 

RE-ASSESSMENT NOTES

Deferral – if you have been deferred for any assessment you will be expected to submit the relevant assessment. The mark given for a re-assessment taken as a result of deferral will not be capped and will be treated as it would be if it were your first attempt at the assessment.

Referral – if you have failed the module overall (i.e. a final overall module mark of less than 40%) you will be expected to submit the relevant assessment. The mark given for a re-assessment taken as a result of referral will be capped at 40%

 

RESOURCES
INDICATIVE LEARNING RESOURCES - The following list is offered as an indication of the type & level of
information that you are expected to consult. Further guidance will be provided by the Module Convener

Basic reading:

  • Subject too new currently for a good textbook to be published.

Web based and Electronic Resources:

  • “Demystifying Application Programming Interfaces (APIs): Unlocking the Power of Large Language Models and Other Web-based AI Services in Social Work Research” Perron et al. https://arxiv.org/abs/2410.20211

Other Resources:

  • https://platform.openai.com/docs/api-reference/introduction
  • ChatGPT system: https://openai.com/

 

Reading list for this module:

There are currently no reading list entries found for this module.

CREDIT VALUE 15 ECTS VALUE 7.5
PRE-REQUISITE MODULES None
CO-REQUISITE MODULES None
NQF LEVEL (FHEQ) 5 AVAILABLE AS DISTANCE LEARNING No
ORIGIN DATE Thursday 12th December 2024 LAST REVISION DATE Thursday 12th December 2024
KEY WORDS SEARCH Prompt engineering, large language models

Please note that all modules are subject to change, please get in touch if you have any questions about this module.