Spaces:
Runtime error
Runtime error
marksverdhei
commited on
Commit
•
6a9e5a7
1
Parent(s):
650a281
Update src/text.py
Browse files- src/text.py +8 -2
src/text.py
CHANGED
@@ -36,9 +36,15 @@
|
|
36 |
# We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.
|
37 |
# """
|
38 |
target_text = """
|
39 |
-
You thought the beaver was a rodent of unusual size?
|
|
|
|
|
|
|
40 |
|
41 |
-
Like beavers, capybaras are strong swimmers.
|
|
|
|
|
|
|
42 |
"""
|
43 |
|
44 |
def get_text():
|
|
|
36 |
# We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.
|
37 |
# """
|
38 |
target_text = """
|
39 |
+
You thought the beaver was a rodent of unusual size?
|
40 |
+
The capybara is twice that big—the biggest rodent on Earth.
|
41 |
+
These impressive semi-aquatic mammals are found throughout much of northern and central South America, though a small invasive population has been seen in Florida.
|
42 |
+
They’re closely related to guinea pigs and rock cavies, and more distantly related to chinchillas and agouti.
|
43 |
|
44 |
+
Like beavers, capybaras are strong swimmers.
|
45 |
+
Their pig-shaped bodies are adapted for life in bodies of water found in forests, seasonally flooded savannas, and wetlands.
|
46 |
+
Their toes are partially webbed for paddling around, and their reddish to dark brown fur is long and brittle—perfect for drying out quickly on land.
|
47 |
+
Small eyes, noses, and hairless ears are located high on their heads so that their faces remain exposed and alert when most of their body is submerged.
|
48 |
"""
|
49 |
|
50 |
def get_text():
|