File size: 853 Bytes
3cc58a2
753194f
0e74637
cf4f63b
 
 
753194f
0e74637
cf4f63b
3cc58a2
 
cf4f63b
3cc58a2
cf4f63b
3cc58a2
 
 
 
 
cf4f63b
 
 
 
 
 
3cc58a2
 
 
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
from dashboard_utils.main_metrics import get_main_metrics
import streamlit as st
import wandb
from streamlit_observable import observable

from dashboard_utils.bubbles import get_new_bubble_data

wandb.login(anonymous="must")

st.title("Training transformers together dashboard")
st.header("Training Loss")

steps, losses, alive_peers = get_main_metrics()

st.line_chart(data={"steps": steps, "loss":losses})

st.header("Collaborative training participants")
st.header("Snapshot")
serialized_data, profiles = get_new_bubble_data()
observers = observable(
    "Participants",
    notebook="d/9ae236a507f54046",  # "@huggingface/participants-bubbles-chart",
    targets=["c_noaws"],
    redefine={"serializedData": serialized_data, "profileSimple": profiles},
)

st.header("Overtime")
st.line_chart(data={"steps": steps, "alive participants":alive_peers})