pszemraj commited on
Commit
f3ec6f4
·
1 Parent(s): fe74aab

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -89,7 +89,7 @@ pipeline_tag: text2text-generation
89
 
90
  # bart-large-mnli: instruction tuned - v1
91
 
92
- <a href="https://colab.research.google.com/gist/pszemraj/298557e36e5d4abb6b636bb8fc0d1910/bart-large-mnli-instruct-example.ipynb">
93
  <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
94
  </a>
95
 
@@ -116,7 +116,7 @@ assistant = pipeline(
116
  cfg = GenerationConfig.from_pretrained(model_name)
117
 
118
  # pass an 'instruction' as the prompt to the pipeline
119
- prompt = "Explain how to make a sandwich using quantum physics."
120
  result = assistant(prompt, generation_config=cfg)[0]["generated_text"]
121
  print(result)
122
  ```
 
89
 
90
  # bart-large-mnli: instruction tuned - v1
91
 
92
+ <a href="https://colab.research.google.com/gist/pszemraj/43431a164e2e3ab0640182f3419c584d/bart-large-instruct-example.ipynb">
93
  <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
94
  </a>
95
 
 
116
  cfg = GenerationConfig.from_pretrained(model_name)
117
 
118
  # pass an 'instruction' as the prompt to the pipeline
119
+ prompt = "Write a guide on how to become a ninja while working a 9-5 job."
120
  result = assistant(prompt, generation_config=cfg)[0]["generated_text"]
121
  print(result)
122
  ```