red1xe commited on
Commit
da172aa
1 Parent(s): 2856ccc

Add application file

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -1,4 +1,15 @@
 
 
 
 
 
 
 
1
  import streamlit as st
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
1
+ from datasets import load_dataset
2
+ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, GenerationConfig, TrainingArguments, Trainer
3
+ import torch
4
+ import time
5
+ import evaluate
6
+ import pandas as pd
7
+ import numpy as np
8
  import streamlit as st
9
 
10
+ huggingface_dataset_name = "red1xe/code_instructions"
11
+
12
+ dataset = load_dataset(huggingface_dataset_name)
13
+
14
+ st.spinner("Loading model...")
15
+ st.write(dataset)