osanseviero commited on
Commit
132082a
1 Parent(s): 3394268

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -12,7 +12,7 @@ tags:
12
  datasets:
13
  - Wikihow
14
  widget:
15
- - min_length: 10
16
  - text: "Lack of fluids can lead to dry mouth, which is a leading cause of bad breath. Water
17
  can also dilute any chemicals in your mouth or gut that are causing bad breath., Studies show that
18
  eating 6 ounces of yogurt a day reduces the level of odor-causing compounds in the mouth. In
@@ -86,7 +86,7 @@ problem, you must change your diet. Or, you can combat the smell in one of these
86
  water to dilute the ketones.Chew sugarless gum or suck on sugarless mints.Chew mint leaves.
87
  """
88
 
89
- preprocess_text = text.strip().replace("\\\\\\\\
90
  ","")
91
  tokenized_text = tokenizer.encode(preprocess_text, return_tensors="pt").to(device)
92
 
@@ -101,8 +101,8 @@ summary_ids = model.generate(
101
 
102
  output = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
103
 
104
- print ("\\\\\\\\
105
- \\\\\\\\
106
- Summarized text: \\\\\\\\
107
  ",output)
108
  ```
 
12
  datasets:
13
  - Wikihow
14
  widget:
15
+ - max_length: 10
16
  - text: "Lack of fluids can lead to dry mouth, which is a leading cause of bad breath. Water
17
  can also dilute any chemicals in your mouth or gut that are causing bad breath., Studies show that
18
  eating 6 ounces of yogurt a day reduces the level of odor-causing compounds in the mouth. In
 
86
  water to dilute the ketones.Chew sugarless gum or suck on sugarless mints.Chew mint leaves.
87
  """
88
 
89
+ preprocess_text = text.strip().replace("\\\\\\\\\\\\\\\\
90
  ","")
91
  tokenized_text = tokenizer.encode(preprocess_text, return_tensors="pt").to(device)
92
 
 
101
 
102
  output = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
103
 
104
+ print ("\\\\\\\\\\\\\\\\
105
+ \\\\\\\\\\\\\\\\
106
+ Summarized text: \\\\\\\\\\\\\\\\
107
  ",output)
108
  ```