FarhanAK128 commited on
Commit
dd8df04
·
verified ·
1 Parent(s): 11080a7

Update model_class.py

Browse files
Files changed (1) hide show
  1. model_class.py +1 -1
model_class.py CHANGED
@@ -174,7 +174,7 @@ class TicketGPT(
174
  logits = self.out_head(x) #[2,4,50257]
175
  return logits
176
 
177
- def predict(self, text, tokenizer, max_length=None, pad_token_id=50256):
178
  lookup = {
179
  0:"Hardware",
180
  1:"HR Support",
 
174
  logits = self.out_head(x) #[2,4,50257]
175
  return logits
176
 
177
+ def predict(self, text, tokenizer, max_length=1024, pad_token_id=50256):
178
  lookup = {
179
  0:"Hardware",
180
  1:"HR Support",