FlawedLLM commited on
Commit
195deb6
·
verified ·
1 Parent(s): e74adc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -45,10 +45,10 @@ import torch
45
  # tokenizer = AutoTokenizer.from_pretrained("FlawedLLM/Bhashini")
46
  from unsloth import FastLanguageModel
47
  model, tokenizer = FastLanguageModel.from_pretrained(
48
- model_name = "BhashiniLLama", # YOUR MODEL YOU USED FOR TRAINING
49
- max_seq_length = max_seq_length,
50
- dtype = dtype,
51
- load_in_4bit = load_in_4bit,)
52
  FastLanguageModel.for_inference(model)
53
 
54
  @spaces.GPU(duration=300)
 
45
  # tokenizer = AutoTokenizer.from_pretrained("FlawedLLM/Bhashini")
46
  from unsloth import FastLanguageModel
47
  model, tokenizer = FastLanguageModel.from_pretrained(
48
+ model_name = "FlawedLLM/Bhashini_2", # YOUR MODEL YOU USED FOR TRAINING
49
+ max_seq_length = 2048,
50
+ dtype = torch.float16,
51
+ load_in_4bit = True,)
52
  FastLanguageModel.for_inference(model)
53
 
54
  @spaces.GPU(duration=300)