LLM that predicts text diffs.
Project description
DiffLLM
Extending the next token prediction setting into "diff prediction".
Setup
Create virtual environment:
conda create -n diff-llm python=3.9
conda activate diff-llm
pip install -r requirements.txt
Export secrets:
export $(grep -v '^#' secrets.txt | xargs)
Export env vars:
export PYTHONPATH=.
Usage
Create dataset
python src/create_dataset.py \
--output-dir ./dataset \
--page-names '["Deep learning", "Ancient Greece", "Ted Chiang"]' \
--n-revisions 10
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diff-llm-0.0.0a0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for diff_llm-0.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe8a8d60173b2a7bf53973c2d9d82c54dda5a91a41ff39b62a9233da719ac20 |
|
MD5 | a0d67b5466384bce384ce39bb44e5733 |
|
BLAKE2b-256 | 683d3249a4b82dac47cf314164643361d9dcf9188bebfbb81452904db55773e0 |