razent justinphan3110 commited on
Commit
485aefe
1 Parent(s): 742f5f0

Update README.md (#1)

Browse files

- Update README.md (d76f5bb3b7061561bb388e9414b9c8969a33e8d1)


Co-authored-by: Long Phan <justinphan3110@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ tokenizer = AutoTokenizer.from_pretrained("razent/SciFive-large-PMC")
29
  model = AutoModelForSeq2SeqLM.from_pretrained("razent/SciFive-large-PMC")
30
 
31
  sentence = "Identification of APC2 , a homologue of the adenomatous polyposis coli tumour suppressor ."
32
- text = "ncbi_ner: " + sentence + " </s>"
33
 
34
  encoding = tokenizer.encode_plus(text, pad_to_max_length=True, return_tensors="pt")
35
  input_ids, attention_masks = encoding["input_ids"].to("cuda"), encoding["attention_mask"].to("cuda")
29
  model = AutoModelForSeq2SeqLM.from_pretrained("razent/SciFive-large-PMC")
30
 
31
  sentence = "Identification of APC2 , a homologue of the adenomatous polyposis coli tumour suppressor ."
32
+ text = sentence + " </s>"
33
 
34
  encoding = tokenizer.encode_plus(text, pad_to_max_length=True, return_tensors="pt")
35
  input_ids, attention_masks = encoding["input_ids"].to("cuda"), encoding["attention_mask"].to("cuda")