Spaces:
Paused
Paused
Update koalpaca.py
Browse files- 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):
|