Here, let's also set return_full_text = False | |
so that output doesn't contain the prompt: | |
thon | |
torch.manual_seed(1) # doctest: +IGNORE_RESULT | |
prompt = """Return a list of named entities in the text. |
Here, let's also set return_full_text = False | |
so that output doesn't contain the prompt: | |
thon | |
torch.manual_seed(1) # doctest: +IGNORE_RESULT | |
prompt = """Return a list of named entities in the text. |