Spaces:
Runtime error
Runtime error
AingHongsin
commited on
Commit
•
7a916ca
1
Parent(s):
733b08a
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,10 @@
|
|
1 |
import spaces
|
2 |
|
3 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
4 |
-
from datasets import Dataset, DatasetDict
|
5 |
-
from trl import ModelConfig, SFTTrainer, get_kbit_device_map, get_peft_config, get_quantization_config
|
6 |
import pandas as pd
|
7 |
import torch
|
8 |
-
import optimum
|
9 |
import pprint
|
10 |
import json
|
11 |
-
from torcheval.metrics.functional.text import bleu_score
|
12 |
import gradio as gr
|
13 |
|
14 |
|
|
|
1 |
import spaces
|
2 |
|
3 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
|
4 |
import pandas as pd
|
5 |
import torch
|
|
|
6 |
import pprint
|
7 |
import json
|
|
|
8 |
import gradio as gr
|
9 |
|
10 |
|