chkla / Copilot-CCCP

Workshop on AI-Assisted Programming w/ GitHub Copilot @ CCCP (University of Cologne)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI-Assisted Programming Tools Workshop @ CCCP UCologne

Welcome to the AI-assisted programming workshop! You can find the slides of the workshop here Google Slides. In this workshop, we covering a winde range of topics including generative language models, auto-completion tools (πŸ§‘πŸ½β€πŸš€ GitHub Copilot, πŸ’« StarCoder etc.), chat-based tools (πŸ’¬ HuggingChat, etc.), and the limits and open challenges of these new types of models.

πŸ› οΈ Setup

  • Before we can start using GitHub Copilot, we need to install Visual Studio Code. Download the Visual Code installer for Windows/ MAC from the Visual Studio Code Download page.
  • After installing VS Code, you can add the GitHub Copilot extension Name: GitHub Copilot

🧱 Pre-Setup

If you are using Python on your system for the first time, please follow the next steps to install it on your computer:

Windows

Step 1: Install Anaconda

Anaconda is a free and open-source distribution of Python and R for scientific computing. It simplifies package management and deployment. Here is how you can install it:

  • Download the Anaconda installer for Windows from the Anaconda Downloads page.
  • Run the installer. During the installation process, you'll see an option to add Anaconda to your PATH environment variable. It is recommended to leave this unchecked and instead use Anaconda command prompts.
  • Once the installation is complete, you can verify it by opening the Anaconda Prompt from your Start menu and typing the following command: conda --version

Step 2: Install Packages with Anaconda

After installing Anaconda, you can install additional Python packages using the conda command. For example, to install a package named pandas, you would use the following command: conda install pandas

Unix/Mac

Step 1: Install Homebrew

Homebrew is a package manager for macOS that simplifies the installation of software. If you don't have Homebrew installed, open Terminal and run the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step 2: Install Python and Pip

Python comes pre-installed on macOS, but you might want to install a different version. To do so, you can use Homebrew: brew install python

This will also install Pip, which is a package manager for Python. To confirm that Python and Pip were installed correctly, in Terminal, run: python3 --version and pip3 --version

πŸ“š Additional Resources/ Tools/ Literature

Literature

  • Alammar (2023) "What a time for language models" [Blog]
  • Walsh (2021) "The BERT for Humanists Project" [Blog]
  • Strubell et al. (2019) "Energy and Policy Considerations for Deep Learning in NLP" [Paper]
  • Devlin et al. (2019) "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding" [Paper]
  • Bender et al. (2021) "On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?" 🦜 [Paper]
  • Brown et al. (2020) "Language Models are Few-Shot Learners" [Paper]
  • Wang et al. (2022) "SELF-INSTRUCT: Aligning Language Model with Self Generated Instructions" [Paper]
  • Gilardi et al. (2023) "ChatGPT Outperforms Crowd-Workers for Text-Annotation Tasks" [Paper]
  • Dai et al. (2023) "AugGPT: Leveraging ChatGPT for Text Data Augmentation" [Paper]
  • Reiss (2023) "Testing the Reliability of ChatGPT for Text Annotation and Classification: A Cautionary Remark" [Paper]
  • Kuzman et al. (2023) "ChatGPT: Beginning of an End of Manual Linguistic Data Annotation? Use Case of Automatic Genre Identification" [Paper]
  • Luccioni et al. (2022) "ESTIMATING THE CARBON FOOTPRINT OF BLOOM, A 176B PARAMETER LANGUAGE MODEL" [Paper]
  • Levy et al. (2022): "SAFETEXT: A Benchmark for Exploring Physical Safety in Language Models" [Paper]
  • Bubeck et al. (2023) "Sparks of Artificial General Intelligence: Early experiments with GPT-4" [Paper]
  • ... and many more!

πŸ‘€ Author

Christopher Klamm

πŸ“ License

This talk is licensed under the MIT License.

About

Workshop on AI-Assisted Programming w/ GitHub Copilot @ CCCP (University of Cologne)