Spaces:
Running
Running
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
import streamlit as st
|
4 |
+
from huggingface_hub import hf_hub_download
|
5 |
+
from unsloth import FastLanguageModel,is_bfloat16_supported
|
6 |
+
import torch
|
7 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
8 |
+
import importlib
|
9 |
+
import random
|
10 |
+
from datasets import load_dataset
|
11 |
+
|
12 |
+
|
13 |
+
#Sidebar Text
|
14 |
+
st.sidebar.write("📥 Downloading models from Hugging Face...WIP")
|
15 |
+
|
16 |
+
# Streamlit UI
|
17 |
+
st.title("🧠 Math LLM Demo")
|
18 |
+
st.write("💬 Ask me anything!")
|