SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.14314 · NeurIPS · 2023

QLORA: Efficient Finetuning of Quantized LLMs

Luke Zettlemoyer, Tim Dettmers, Artidoro Pagnoni, Ari Holtzman

arXiv · PDF · Open in the Atlas

Code that ran

18 of 26 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 2 violated it and 2 have no contract verdict; 12 failures of our instrument; 8 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.14314.json · badge: /api/ran/2305.14314.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
artidoro/qlora canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
Rain9876/ShareLoRA community
Papers with Code archive
4 ran · 5 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 1 no recorded run
georgesung/llm_qlora reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
shuxueslpi/chatGLM-6B-QLoRA reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
pilancilab/caldera community
Papers with Code archive
1 ran · 1 no recorded run
daniel-furman/sft-demos community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
KohakuBlueleaf/guanaco-lora extension (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
openmedlab/pulse community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
FunctionStatusWhere it lives
read_yaml_file Ran
ran; our contract draft was wrong, not the code
georgesung/llm_qlora/inference.py
code served (permissive licence) · get_code("38a41485b6f05e08")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:18:22Z). If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
import yaml

# Create a temporary YAML file with valid content
temp_dir = tempfile.mkdtemp()
yaml_file_path = os.path.join(temp_dir, "test.yaml")

# Write a valid YAML file
yaml_content = {
    "name": "test_config",
    "version": 1,
    "parameters": {
        "learning_rate": 0.001,
        "batch_size": 32,
        "epochs": 10
    },
    "layers": [1, 2, 3, 4]
}

with open(yaml_file_path, 'w') as f:
    yaml.dump(yaml_content, f)

ARGS = {
    "file_path": yaml_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LowMemoryQuantizer Ran
ran on a synthesized input · constructed an object; no result was computed
pilancilab/caldera/src/caldera/utils/quantization.py
pointer only (licence: NONE) · get_code("cec1d4e0b363b8b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pilancilab/caldera when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dequantize_module_weight Ran
ran, honoured the contract we drafted
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("21811f6ec0830792")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_alpaca_dataset Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from eugenepentland/landmark-attention-qlora
pointer only · get_code("b5445674ab17410f")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_unnatural_instructions_data Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from eugenepentland/landmark-attention-qlora
pointer only · get_code("f82430123a91cf21")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

formatting_prompts_func Ran
ran on a synthesized input
daniel-furman/sft-demos/_peft/falcon/peft_falcon_180b_instruct.py
code served (permissive licence) · get_code("ba51656a6aaea3b7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function expects a dataset dict with 'prompt' and 'response' keys
# Each key maps to a list-like structure with indexed access

dataset = {
    'prompt': [
        'What is machine learning?',
        'Explain neural networks.'
    ],
    'response': [
        'Machine learning is a field of AI that enables systems to learn from data.',
        'Neural networks are computational models inspired by biological neurons.'
    ]
}

ARGS = {
    'dataset': dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gather_params_ctx Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("1c29706f4a8bd965")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_prompt Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from eugenepentland/landmark-attention-qlora
pointer only · get_code("b9c4c8084f5cc40a")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_prompt Ran
ran; our contract draft was wrong, not the code
KohakuBlueleaf/guanaco-lora/finetune.py
code served (permissive licence) · get_code("a87961e99cab3b49")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a dict with keys: 'input', 'instruction', 'output'
# The 'input' key is checked for truthiness to determine which format to use

data_point_with_input = {
    'instruction': 'Translate the following text to French',
    'input': 'Hello, how are you?',
    'output': 'Bonjour, comment allez-vous?'
}

data_point_without_input = {
    'instruction': 'Write a haiku about nature',
    'input': '',
    'output': 'Leaves fall gently down\nEarth receives them with open arms\nCycle continues'
}

ARGS = {
    'data_point': data_point_with_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_bnb_param_type Ran
ran, violated the contract we drafted
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("1386e6b11e2ef9e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_last_checkpoint Ran
ran; our contract draft was wrong, not the code
artidoro/qlora/examples/guanaco_generate.py
code served (permissive licence) · get_code("89ce33341af66037")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()

# Create a checkpoint directory with some checkpoint subdirectories
checkpoint_dir = os.path.join(temp_dir, 'checkpoints')
os.makedirs(checkpoint_dir, exist_ok=True)

# Create some checkpoint directories
os.makedirs(os.path.join(checkpoint_dir, 'checkpoint-100'), exist_ok=True)
os.makedirs(os.path.join(checkpoint_dir, 'checkpoint-200'), exist_ok=True)
os.makedirs(os.path.join(checkpoint_dir, 'checkpoint-50'), exist_ok=True)

ARGS = {
    'checkpoint_dir': checkpoint_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_prompt Ran
ran; our contract draft was wrong, not the code
georgesung/llm_qlora/inference.py
code served (permissive licence) · get_code("8bdd290bac0f9c85")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def get_prompt(human_prompt):
    prompt_template = f'### HUMAN:\n{human_prompt}\n\n### RESPONSE:\n'
    return prompt_template

# The function takes a single parameter: human_prompt
# It expects a string that will be formatted into a template
human_prompt_value = "What is the meaning of life?"

ARGS = {
    "human_prompt": human_prompt_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_score Ran
ran, violated the contract we drafted
artidoro/qlora/eval/eval_gpt_review.py
code served (permissive licence) · get_code("8049b382893c73dd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging

logger = logging.getLogger(__name__)

def parse_score(review):
    try:
        score_pair = review.split('\n')[0]
        score_pair = score_pair.replace(',', ' ')
        sp = score_pair.split(' ')
        if len(sp) == 2:
            return [float(sp[0]), float(sp[1])]
        else:
            raise Exception('Invalid score pair.')
    except Exception as e:
        logger.error(f'{e}\nContent: {review}\nYou must manually fix the score pair.')
        return [-1, -1]

# Valid review string with score pair on first line
review_valid = "8.5 9.2\nThis is a great product with excellent quality."

ARGS = {
    "review": review_valid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_text Ran
ran; our contract draft was wrong, not the code
openmedlab/pulse/web_demo_gradio.py
code served (permissive licence) · get_code("826ceb601fb31250")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for parse_text function

ARGS = {
    "text": """Here is some code:

def hello():
    print('world')


And here is more text with special chars: < > * _ - . ! ( ) $

javascript
console.log('test');


Final line."""
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_three_class_score Ran
ran, honoured the contract we drafted
artidoro/qlora/eval/eval_gpt_review.py
code served (permissive licence) · get_code("2155c3b1b19d8ab9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging

logger = logging.getLogger(__name__)

def parse_three_class_score(review):
    try:
        score = int(review.strip().split('\n')[-1].strip())
        return score
    except Exception as e:
        logger.error(f'{e}\nContent: {review}\nYou must manually fix the score pair.')
        return -1

# Setup code
ARGS = {
    "review": "This is a great product.\nVery satisfied with the quality.\n5"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
quantize Ran
ran; our contract draft was wrong, not the code
shuxueslpi/chatGLM-6B-QLoRA/merge_lora_and_quantize.py
pointer only (licence: NONE) · get_code("9b9c46fa571c5690")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shuxueslpi/chatGLM-6B-QLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tokenize_func Ran
ran; our contract draft was wrong, not the code
shuxueslpi/chatGLM-6B-QLoRA/train_qlora.py
pointer only (licence: NONE) · get_code("f63e332bb59704df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shuxueslpi/chatGLM-6B-QLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

transpose Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("5aaa7db51b41253b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

AbstractQuantizer Not yet run
unverified (harvested, no recorded run)
pilancilab/caldera/src/caldera/utils/quantization.py
pointer only (licence: NONE) · get_code("a4ade271d27a6b35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pilancilab/caldera when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

BaseTunerLayer Not yet run
unverified (harvested, no recorded run)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("c75ab97e2e86199a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

BufferDict Not yet run
unverified (harvested, no recorded run)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("d628ec92a2bbbdd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

DoraLinearLayer Not yet run
unverified (harvested, no recorded run)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("9eb99d2625ca1e2f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

LoraLayer Not yet run
unverified (harvested, no recorded run)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("d2729dc566040484")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dequantize_bnb_weight Not yet run
unverified (harvested, no recorded run)
Rain9876/ShareLoRA/sharelora/peft/tuners/lora/layer.py
pointer only (licence: NONE) · get_code("221e70695f549713")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Rain9876/ShareLoRA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_llm_response Not yet run
unverified (harvested, no recorded run)
georgesung/llm_qlora/inference.py
code served (permissive licence) · get_code("0798e321dcc227ed")
How it ran

no invocation recorded.

local_dataset Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from eugenepentland/landmark-attention-qlora
pointer only · get_code("ec8bb649218d4f43")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 26 samples lifted from this paper's linked repositories, 26 carry a function identity and 0 do not. Of the 26 distinct functions with an identity, 10 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 6 the same month, 8 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
parse_text 9 other papers
1 dated earlier, 2 the same month, 6 later
2203.13474 (2022-03)
CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
2305.12524 (2023-05)
TheoremQA: A Theorem-driven Question Answering Dataset ♠
2305.16355 (2023-05)
PandaGPT: One Model To Instruction-Follow Them All
and 6 more not named here
extract_alpaca_dataset 8 other papers
1 the same month, 7 later
2305.16300 (2023-05)
Random-Access Infinite Context Length for Transformers
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
2308.07269 (2023-08)
EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Models
and 5 more not named here
extract_unnatural_instructions_data 7 other papers
1 the same month, 6 later
2305.16300 (2023-05)
Random-Access Infinite Context Length for Transformers
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
2310.07676 (2023-10)
Composite Backdoor Attacks Against Large Language Models
and 4 more not named here
parse_score 7 other papers
1 the same month, 6 later
2305.12031 (2023-05)
Clinical Camel: An Open Expert-Level Medical Language Model with Dialogue-Based Knowledge Encoding
2307.02762 (2023-07)
PRD: Peer Rank and Discussion Improve Large Language Model based Evaluations
2308.03279 (2023-08)
UniversalNER: TARGETED DISTILLATION FROM LARGE LANGUAGE MODELS FOR OPEN NAMED ENTITY RECOGNITION
and 4 more not named here
get_last_checkpoint 5 other papers
5 later
2310.05910 (2023-10)
SALMON: Self-Alignment with Instructable Reward Models
2405.11165 (2024-05)
Automated Multi-level Preference for MLLMs
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
and 2 more not named here
BufferDict
brick of this paper's assembly: helper
2 other papers
2 later · 2 only as an assembly brick
2412.06071 (2024-12)
KaSA: Knowledge-Aware Singular-Value Adaptation of Large Language Models
2503.12576 (2025-03)
RaSA: Rank-Sharing Low-Rank Adaptation
parse_three_class_score 2 other papers
2 later
2307.02762 (2023-07)
PRD: Peer Rank and Discussion Improve Large Language Model based Evaluations
2312.00374 (2023-12)
The Philosopher's Stone: Trojaning Plugins of Large Language Models
generate_prompt 1 other paper
1 the same month
2305.16300 (2023-05)
Random-Access Infinite Context Length for Transformers
local_dataset 1 other paper
1 the same month
2305.16300 (2023-05)
Random-Access Infinite Context Length for Transformers
transpose
brick of this paper's assembly: helper
1 other paper
1 later
2410.13618 (2024-10)
LoLDU: Low-Rank Adaptation via Lower-Diag-Upper Decomposition for Parameter-Efficient Fine-Tuning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present QLORA, an efficient finetuning approach that reduces memory usage enough to finetune a 65B parameter model on a single 48GB GPU while preserving full 16-bit finetuning task performance. QLORA backpropagates gradients through a frozen, 4-bit quantized pretrained language model into Low Rank Adapters (LoRA). Our best model family, which we name Guanaco, outperforms all previous openly released models on the Vicuna benchmark, reaching 99.3% of the performance level of ChatGPT while only requiring 24 hours of finetuning on a single GPU. QLORA introduces a number of innovations to save memory without sacrificing performance: (a) 4-bit NormalFloat (NF4), a new data type that is information theoretically optimal for normally distributed weights (b) Double Quantization to reduce the average memory footprint by quantizing the quantization constants, and (c) Paged Optimizers to manage memory spikes. We use QLORA to finetune more than 1,000 models, providing a detailed analysis of instruction following and chatbot performance across 8 instruction datasets, multiple model types (LLaMA, T5), and model scales that would be infeasible to run with regular finetuning (e.g. 33B and 65B parameter models). Our results show that QLoRA finetuning on a small high-quality dataset leads to state-of-the-art results, even when using smaller models than the previous SoTA. We provide a detailed analysis of chatbot performance based on both human and GPT-4 evaluations showing that GPT-4 evaluations are a cheap and reasonable alternative to human evaluation. Furthermore, we find that current chatbot benchmarks are not trustworthy to accurately evaluate the performance levels of chatbots. A lemon-picked analysis demonstrates where Guanaco fails compared to ChatGPT. We release all of our models and code, including CUDA kernels for 4-bit training. 2 * Equal contribution. 2

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2305.14314")
get_code_for_paper("2305.14314")
have("2305.14314")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2305.14314.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2305.14314.svg)](https://syntology.ai/paper/2305.14314)

Connect an agent — have() is free.