Haxxord's picture
Initial release of TurkishLLM Generative V1 (52.5M custom decoder-only transformer)
995c64d verified
Raw History Blame Contribute Delete
532 Bytes
"""
example.py
Minimal Quickstart Example for TurkishLLM Generative V1.
"""
from inference import TurkishLLMInference
def main():
# Initialize inference engine using local release assets
engine = TurkishLLMInference()
question = "Türkiye'nin başkenti neresidir?"
print(f"Soru: {question}")
response = engine.generate(
prompt=question,
max_new_tokens=48,
temperature=0.0,
repetition_penalty=1.1
)
print(f"Cevap: {response}")
if __name__ == "__main__":
main()