Spaces:
Runtime error
Runtime error
Commit
·
f9bf4f8
1
Parent(s):
675e604
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,8 @@ import gradio as gr
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
from functools import partial
|
|
|
|
|
|
|
| 5 |
|
| 6 |
ai4code_ds = load_dataset("CarperAI/pile-v2-small", data_dir="data/AI4Code/data.json")
|
| 7 |
amps_ds = load_dataset("CarperAI/pile-v2-small", data_dir="data/AMPS/data.json")
|
|
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
import numpy as np
|
| 4 |
from functools import partial
|
| 5 |
+
import datasets
|
| 6 |
+
from datasets import load_dataset
|
| 7 |
|
| 8 |
ai4code_ds = load_dataset("CarperAI/pile-v2-small", data_dir="data/AI4Code/data.json")
|
| 9 |
amps_ds = load_dataset("CarperAI/pile-v2-small", data_dir="data/AMPS/data.json")
|