Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
import pandas as pd
|
4 |
-
from datasets import Dataset, load_dataset
|
5 |
from peft import LoraConfig, PeftModel, prepare_model_for_kbit_training, get_peft_model
|
6 |
from transformers import (AutoTokenizer, BitsAndBytesConfig, TrainingArguments, AutoModelForSequenceClassification, Trainer, EarlyStoppingCallback, DataCollatorWithPadding)
|
7 |
import bitsandbytes as bnb
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
import pandas as pd
|
4 |
+
from datasets import Dataset, DatasetDict, load_dataset
|
5 |
from peft import LoraConfig, PeftModel, prepare_model_for_kbit_training, get_peft_model
|
6 |
from transformers import (AutoTokenizer, BitsAndBytesConfig, TrainingArguments, AutoModelForSequenceClassification, Trainer, EarlyStoppingCallback, DataCollatorWithPadding)
|
7 |
import bitsandbytes as bnb
|