Skip to content

gauthamnair2005/donutllmcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donut LLM Core Library

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

Usage

LLM Creation

import DonutLLMCore
model = DonutLLMCore.ModelTrainer(path,max_iters=100)
model = model.trainer()

LLM Usage

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

About

Donut LLM Core Library (Required by Donut-LLM-Tools)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages