razent justinphan3110 commited on
Commit
7fe8d55
1 Parent(s): 23bcbd7

Update README.md (#1)

Browse files

- Update README.md (ce746855159bef1b094a044f770144313f73dbf5)


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-base-PMC")
29
  model = AutoModelForSeq2SeqLM.from_pretrained("razent/SciFive-base-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-base-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")