xzuyn commited on
Commit
3ee0b08
·
1 Parent(s): d0d9c07

Update make_manythings-translations-alpaca.py

Browse files
make_manythings-translations-alpaca.py CHANGED
@@ -91,6 +91,8 @@ def create_instruction(from_lang, to_lang):
91
  # Randomly decide to add a question mark
92
  if random.random() < 0.5:
93
  phrase += "?"
 
 
94
  return phrase
95
 
96
  # Initialize the final list to hold the formatted JSON data
 
91
  # Randomly decide to add a question mark
92
  if random.random() < 0.5:
93
  phrase += "?"
94
+ elif random.random() < 0.5:
95
+ phrase += "."
96
  return phrase
97
 
98
  # Initialize the final list to hold the formatted JSON data