elplaguister 4n3mone commited on
Commit
126a8c6
β€’
1 Parent(s): 717cb6d

Update koalpaca.py (#7)

Browse files

- Update koalpaca.py (8a03b34caf2fcdadeb8a6dfed987e9dbc2eedf26)


Co-authored-by: yongsang yoo <4n3mone@users.noreply.huggingface.co>

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