selfcheckgpt
SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
File Explorer
Download Latest Version (.zip)- README.md
- llama_logprob_inference.py
- README.md
- openai_gpt3_prompt.py
- README.md
- probability-based-baselines.ipynb
- selfcheckgpt-nli-on-wikibio.ipynb
- hallucination_detection.ipynb
- MQAG_demo1.ipynb
- SelfCheck_demo1.ipynb
- selfcheck_qa_prompt.png
- __init__.py
- modeling_mqag.py
- modeling_ngram.py
- modeling_selfcheck.py
- modeling_selfcheck_apiprompt.py
- utils.py
- version.py
- .gitignore
- DESCRIPTION.txt
- LICENSE
- MANIFEST.in
- README.md
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/potsawee/selfcheckgpt
Downloads the entire project code from GitHub to your computer.
cd selfcheckgpt
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install selfcheckgpt
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install selfcheckgpt
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
