Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,7 @@ examples = [
|
|
17 |
|
18 |
title = "InstructionGen: Flan T5 Small & Bart Base"
|
19 |
description = "This demo compares the [flan-t5-small-instructiongen](https://huggingface.co/pszemraj/flan-t5-small-instructiongen) and [bart-base-instructiongen](https://huggingface.co/pszemraj/bart-base-instructiongen) models on 'creating' an instruction for arbitrary text."
|
20 |
-
article = "
|
21 |
-
|
22 |
|
23 |
def inference(text):
|
24 |
output_flan_t5 = pipe_flan_t5(
|
|
|
17 |
|
18 |
title = "InstructionGen: Flan T5 Small & Bart Base"
|
19 |
description = "This demo compares the [flan-t5-small-instructiongen](https://huggingface.co/pszemraj/flan-t5-small-instructiongen) and [bart-base-instructiongen](https://huggingface.co/pszemraj/bart-base-instructiongen) models on 'creating' an instruction for arbitrary text."
|
20 |
+
article = "These models generate instructions for Large Language Models (LLMs) from arbitrary text. They are fine-tuned on the [fleece2instructions](https://huggingface.co/datasets/pszemraj/fleece2instructions) dataset, which is a filtered/formatted version of the [alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca) dataset."
|
|
|
21 |
|
22 |
def inference(text):
|
23 |
output_flan_t5 = pipe_flan_t5(
|