4n3mone commited on
Commit
8a03b34
β€’
1 Parent(s): 717cb6d

Update koalpaca.py

Browse files
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):