Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ for kn in kns:
|
|
49 |
overheads.append(compute_overhead(kn, kd)*100)
|
50 |
|
51 |
def plot_curve(kn, kd):
|
52 |
-
fig, ax = plt.subplots(dpi=200, figsize=(5,
|
53 |
plt.plot(kns, overheads, color="black", zorder=1)
|
54 |
plt.scatter([kn], [compute_overhead(kn, kd)*100], s=100, marker="o", c="red", label="You are here!", zorder=2)
|
55 |
plt.scatter([1.0], [0.0], marker="o", s=100, c="blue", label="Chinchilla optimal", zorder=2)
|
|
|
49 |
overheads.append(compute_overhead(kn, kd)*100)
|
50 |
|
51 |
def plot_curve(kn, kd):
|
52 |
+
fig, ax = plt.subplots(dpi=200, figsize=(5, 3))
|
53 |
plt.plot(kns, overheads, color="black", zorder=1)
|
54 |
plt.scatter([kn], [compute_overhead(kn, kd)*100], s=100, marker="o", c="red", label="You are here!", zorder=2)
|
55 |
plt.scatter([1.0], [0.0], marker="o", s=100, c="blue", label="Chinchilla optimal", zorder=2)
|