output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)This is openai-community/gpt2, converted to the GGUF format.
The full-precision GGUF model is provided along with q8_0 and q4_K_S quantizations.
Conversion and quantization is performed with llama.cpp commit ed9d285.
- Downloads last month
- 30
Hardware compatibility
Log In to add your hardware
4-bit
8-bit
32-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ddh0/GPT-2-GGUF", filename="", )