Update koalpaca.py

#7
by 4n3mone - opened
Files changed (1) hide show
  1. koalpaca.py +1 -0
koalpaca.py CHANGED
@@ -2,6 +2,7 @@ import torch
2
  from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig, GenerationConfig
3
  from peft import PeftModel, PeftConfig
4
  from model import Model
 
5
 
6
  class KoAlpaca(Model):
7
  def __init__(self):
 
2
  from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig, GenerationConfig
3
  from peft import PeftModel, PeftConfig
4
  from model import Model
5
+ from accelerate import Accelerator
6
 
7
  class KoAlpaca(Model):
8
  def __init__(self):