Update main.py
Browse files
main.py
CHANGED
|
@@ -1,13 +1,20 @@
|
|
| 1 |
-
from
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from simplet5 import SimpleT5
|
| 2 |
+
model = SimpleT5()
|
| 3 |
|
| 4 |
+
model.load_model("t5","snrspeaks/t5-one-line-summary")
|
| 5 |
|
| 6 |
+
abstract = """We describe a system called Overton, whose main design goal is to
|
| 7 |
+
support engineers in building, monitoring, and improving production machine learning systems.
|
| 8 |
+
Key challenges engineers face are monitoring fine-grained quality, diagnosing errors in
|
| 9 |
+
sophisticated applications, and handling contradictory or incomplete supervision data.
|
| 10 |
+
Overton automates the life cycle of model construction, deployment, and monitoring by providing a
|
| 11 |
+
set of novel high-level, declarative abstractions. Overton's vision is to shift developers to
|
| 12 |
+
these higher-level tasks instead of lower-level machine learning tasks. In fact, using Overton,
|
| 13 |
+
engineers can build deep-learning-based applications without writing any code
|
| 14 |
+
in frameworks like TensorFlow. For over a year, Overton has been used in production to support multiple
|
| 15 |
+
applications in both near-real-time applications and back-of-house processing.
|
| 16 |
+
In that time, Overton-based applications have answered billions of queries in multiple
|
| 17 |
+
languages and processed trillions of records reducing errors 1.7-2.9 times versus production systems.
|
| 18 |
+
"""
|
| 19 |
+
|
| 20 |
+
model.predict(abstract)
|