Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pseudolab
/
KOMUChat
like
11
Paused
App
Files
Files
Community
10
refs/pr/2
KOMUChat
/
model.py
ElPlaguister
WRAP Models
c90fdd5
about 1 year ago
raw
Copy download link
history
blame
Safe
252 Bytes
class
Model
:
def
__init__
(
self
):
self.model =
None
self.tokenizer =
None
self.gen_config =
None
self.INPUT_FORMAT =
None
def
generate
(
self, inputs:
str
) ->
str
:
outputs = inputs
return
outputs