marksverdhei commited on
Commit
6a9e5a7
1 Parent(s): 650a281

Update src/text.py

Browse files
Files changed (1) hide show
  1. 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? The capybara is twice that big—the biggest rodent on Earth. 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. They’re closely related to guinea pigs and rock cavies, and more distantly related to chinchillas and agouti.
 
 
 
40
 
41
- Like beavers, capybaras are strong swimmers. Their pig-shaped bodies are adapted for life in bodies of water found in forests, seasonally flooded savannas, and wetlands. 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. 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.
 
 
 
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():