ligeti commited on
Commit
e9b646e
1 Parent(s): b045f46

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -15,7 +15,7 @@ tags:
15
 
16
  This finetuned model is specifically designed for promoter identification and is based on the [ProkBERT-mini-long model](https://huggingface.co/neuralbioinfo/prokbert-mini-long).
17
 
18
- For more details, refer to the [pahge dataset description](https://huggingface.co/datasets/neuralbioinfo/phage-test-10k) used for training and evaluating this model.
19
 
20
  ### Example Usage
21
 
@@ -44,7 +44,7 @@ shift= 2
44
  tok_params = {'kmer' : kmer,
45
  'shift' : shift}
46
  tokenizer = ProkBERTTokenizer(tokenization_params=tok_params)
47
- model = BertForBinaryClassificationWithPooling.from_pretrained(finetuned_model)
48
  sequence = 'CACCGCATGGAGATCGGCACCTACTTCGACAAGCTGGAGGCGCTGCTGAAGGAGTGGTACGAGGCGCGCGGGGGTGAGGCATGACGGACTGGCAAGAGGAGCAGCGTCAGCGC'
49
  inputs = tokenizer(sequence, return_tensors="pt")
50
  # Ensure that inputs have a batch dimension
 
15
 
16
  This finetuned model is specifically designed for promoter identification and is based on the [ProkBERT-mini-long model](https://huggingface.co/neuralbioinfo/prokbert-mini-long).
17
 
18
+ For more details, refer to the [phage dataset description](https://huggingface.co/datasets/neuralbioinfo/phage-test-10k) used for training and evaluating this model.
19
 
20
  ### Example Usage
21
 
 
44
  tok_params = {'kmer' : kmer,
45
  'shift' : shift}
46
  tokenizer = ProkBERTTokenizer(tokenization_params=tok_params)
47
+ model = MegatronBertForSequenceClassification.from_pretrained(finetuned_model)
48
  sequence = 'CACCGCATGGAGATCGGCACCTACTTCGACAAGCTGGAGGCGCTGCTGAAGGAGTGGTACGAGGCGCGCGGGGGTGAGGCATGACGGACTGGCAAGAGGAGCAGCGTCAGCGC'
49
  inputs = tokenizer(sequence, return_tensors="pt")
50
  # Ensure that inputs have a batch dimension