File size: 1,336 Bytes
e6f0893
 
2bdd84f
e6f0893
e37cfd0
2bdd84f
e6f0893
e37cfd0
2bdd84f
 
 
 
e6f0893
 
e37cfd0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import streamlit as st

st.set_page_config(page_title="Gemma LLM Fine-Tuning UI", layout="wide")

# Main Page Title and Description
st.title("Gemma LLM Fine-Tuning Suite πŸš€")
st.markdown("""
### πŸ”₯ Multi-page AI Model Trainer
- **Chat**: Interact with the model.
- **Fine-tuning**: Train on `train_data.csv` or upload new datasets.
- **Conversion**: Export models to TorchScript and ONNX.
- **Dataset Management**: View and add to your training data.
""")

# Sidebar Navigation with Custom Labels
st.sidebar.title("Navigation")
nav_options = [
    "πŸ”Ή Chat",
    "πŸ”Ή Fine-tuning",
    "πŸ”Ή Conversion",
    "πŸ”Ή Dataset Management"
]
selected_page = st.sidebar.radio("Go to", nav_options)

# Page Content based on Navigation Selection
if selected_page == "πŸ”Ή Chat":
    st.header("Chat with Gemma")
    st.write("Interact with the model in a conversational interface. Coming soon!")
elif selected_page == "πŸ”Ή Fine-tuning":
    st.header("Fine-tuning Gemma")
    st.write("Fine-tune your Gemma model using your dataset. Coming soon!")
elif selected_page == "πŸ”Ή Conversion":
    st.header("Model Conversion")
    st.write("Convert your model to various formats. Coming soon!")
elif selected_page == "πŸ”Ή Dataset Management":
    st.header("Dataset Management")
    st.write("Manage your training datasets. Coming soon!")