/llmcompletion

Exploring and using the capabilities of large language models (LLMs).

Primary LanguagePythonMIT LicenseMIT

llmcompletion

Exploring and using the capabilities of large language models (LLMs). By providing prompts and adjusting parameters, I observe and control the model's text generation behaviour without actively trying to deconstruct or replicate the model itself.

Install Dependencies

Use the package manager pip to install following:

## Prerequisites
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
python3 -m pip install --upgrade pip

Usage

## For GPT-2
python3 gpt2_completion.py

## For GPT-3
python3 gpt3_completion.py

License

This project is licensed under the MIT License.

Copyright

(c) 2024 Finbarrs Oketunji.