Donutllmcore

Latest version: v1.0.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

Donut LLM Core Library
This library will be used by future versions of Donut-LLM-Tools, instead of CreateLLM library.

Usage
LLM Creation
python
import DonutLLMCore
path = input("Enter path to dataset : ")
model = DonutLLMCore.ModelTrainer(path,max_iters=100)
model = model.trainer()


LLM Usage
python
import DonutLLMCore
path = input("Enter the path of the model : ")
model = DonutLLMCore.LLMModel(path)
prompt = input("Enter prompt : ")
print(model.generate(prompt))

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.