Home Projects DoLa
DoLa
Python

DoLa

Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"

by voidism · GitHub
Stars
Forks
Created
Last commit
Category
Language
factualityhallucinationslarge-language-modelsPython
View on GitHub
In plain words

Use a method to improve the accuracy of large language models by reducing incorrect information.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
DoLa — GitHub preview card
📈 Star history
558556
2026-07-202026-08-31
📈 Track DoLa

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"

DoLa has 558 stars on GitHub. It has been forked 68 times. DoLa is written mainly in Python. It has been in active development since 2023. Its main topics are factuality, hallucinations, large-language-models.

Frequently asked questions

What is DoLa?

Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"

Is DoLa open source?

DoLa is an open-source project.

Is DoLa free?

Yes. DoLa is free and open source — you can use, modify and self-host it.

What language is DoLa written in?

DoLa is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — DoLa

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=voidism-dola)](https://olud.ai/project/voidism-dola.html)
More badge options →
🧬 Shares DNA with

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.