Briefly introduce yourself:
- What is your name?
- What do you work on?
- Why did you join the course?
-
What AI powered tools are available?
- What can these tools do well?
- What don't they do well?
-
Tips and tricks, pros and cons, lots of discussion
-
Ethical, security, and privacy issues
-
Practical applications (try things out)
- A chat interface? Is ELIZA an AI?
- Statistical inference
- Machine learning
- Symbolic reasoning
- Large Language Models (LLMs)
- A statistical model of language => multi-dimensional distribution
- Model inferred ("trained") from a "large" volume of data
- Training result is a high-dimensional statistical distribution
- Sampling from the distribution produces a "token"
- Training often optimizes for observing "human like" sequences of sampled tokens
- Building programs from scratch
- Adding features to existing programs
- Fixing bugs in existing programs
- Refactoring existing programs
- Collaborating with other programmers
- Testing
- Deployment
- Maintenance
- Code review
- Learning new tools/libraries/techniques/...
- Trying to understand code
- Design
- Editors (with LSP)
- Static analysis (linters, type checkers)
- Dynamic analysis (valgrind, profilers)
- Tests
- Version control
- Build tools
- Debuggers
- Code generation
- Logging and monitoring
- Dependency management
- Project management
- Documentation
- Databases
--{{0}}--
In-editor autocomplete
Write a docstring for the
Token
class and all of it's methods
Generate a function called
make_tokens
based on the tests provided intest_make_tokens
Generate pytest style unit tests for the
make_tokens
function and theToken
class
Convert the
tokenize
function into idiomatic Perl
- Refactoring
- Explaining code
What libraries are available to parse YAML in Python? What are their pros and cons?
!?What YAML libraries are available in Python
What libraries are available to decode YAML documents in the Elm language?
!?Example of bad search engine results
Review the code in
inference.py
and make concise suggestions about quality, security, readability, and performance.
There's a bug in the program where it doesn't print the last generated word. Can you suggest fixes?
Brainstorm
you are a machine learning developper in python. You use lightning-pytorch. You work in research field.
I have eye tracking time-series data for patients with a certain age. I want to classify this time series based on age. Please suggest a list of good deep learning models.
Generate python code with the LSTM model
!?ChatGPT Machine learning code
!?q tool
Goal: Make a real-world open-source contribution (or equivalent).
Now is a good time to install anything you would like to try out locally. Also a good time to log into (or create accounts for) any services you might want to use:
Try to understand the advantages and limitations of each tool.
Some possibilities you could consider:
- Go to Replit and sign up
- Import a github project using the link: https://github.com/vibbits/ai-coding-course
You will need to find out:
- How do I run a Haskell project?
- How do I build a Haskell project?
- What does the code do?
- Can you add tests to the project?
- Code review the project
- Does the code have bugs?
- Can you add a feature?
-
What worked well? Which use-case/tool combinations worked well?
-
Maybe useful / situational / it depends
-
Definitely not useful?
Do not give online models private or sensitive information
Do not blindly trust the output
Explore your options: things in this domain change very quickly
Are you planning to use any of the tools in this workshop?