1# Use a pipeline as a high-level helper
2from transformers import pipeline
3
4pipe = pipeline("text-generation", model="not-lain/PyGPT")
5prompt = """
6Below is an instruction that describes a task. Write a response that
7appropriately completes the request.
8
9
10### Instruction:
11
12Create a function to calculate the sum of a sequence of integers.
13
14
15### Input:
16
17[1, 2, 3, 4, 5]
18
19
20### Output:
21"""
22
23pipe(prompt)
model may produce biased ,erroneous and output.
it is not advised to use this model as it is just a product of testing a finetuning script