Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ for kn in np.linspace(0.2, 2, 100):
|
|
44 |
def plot_curve(kn, kd):
|
45 |
fig = plt.figure()
|
46 |
plt.plot(kns, overheads, color="black")
|
47 |
-
plt.scatter([kn], [compute_overhead(kn, kd)*100], marker="D",
|
48 |
plt.xlabel("Fraction of compute optimal model size")
|
49 |
plt.ylabel("Compute overhead (%)")
|
50 |
plt.legend(loc="best")
|
|
|
44 |
def plot_curve(kn, kd):
|
45 |
fig = plt.figure()
|
46 |
plt.plot(kns, overheads, color="black")
|
47 |
+
plt.scatter([kn], [compute_overhead(kn, kd)*100], marker="D", c="red", label="You are here!")
|
48 |
plt.xlabel("Fraction of compute optimal model size")
|
49 |
plt.ylabel("Compute overhead (%)")
|
50 |
plt.legend(loc="best")
|