Spaces:
No application file
No application file
meg-huggingface
commited on
Commit
•
785c7b1
1
Parent(s):
35e6b80
Switching to colab
Browse files- app.py +0 -16
- fineweb_bias_eval.ipynb +0 -0
- tdidf.py +0 -0
app.py
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import json
|
3 |
-
import numpy as np
|
4 |
-
import pandas as pd
|
5 |
-
from sklearn.feature_extraction.text import TfidfVectorizer
|
6 |
-
|
7 |
-
from datasets import load_dataset
|
8 |
-
|
9 |
-
dataset = load_dataset("HuggingFaceFW/fineweb")
|
10 |
-
|
11 |
-
def greet(name):
|
12 |
-
print(dataset)
|
13 |
-
return "Hello " + name + "!!"
|
14 |
-
|
15 |
-
app = gr.Interface(fn=greet, inputs="text", outputs="text")
|
16 |
-
app.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fineweb_bias_eval.ipynb
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tdidf.py
ADDED
File without changes
|