justinphan3110 commited on
Commit
d76f5bb
1 Parent(s): 742f5f0

Update README.md

Browse files
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")