Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ All the models have a comparable model size between 90 MB and 150 MB, BPE tokeni
|
|
18 |
### Model Sources
|
19 |
|
20 |
- **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
|
21 |
-
- **Manuscript:** [Versatile applications of foundation DNA language models in plant genomes]()
|
22 |
|
23 |
### Architecture
|
24 |
|
@@ -47,7 +47,7 @@ tokenizer = AutoTokenizer.from_pretrained(f'zhangtaolab/{model_name}', trust_rem
|
|
47 |
sequences = ['TACTCTAATCGTATCAGCTGCACTTGCGTACAGGCTACCGGCGTCCTCAGCCACGTAAGAAAAGGCCCAATAAAGGCCCAACTACAACCAGCGGATATATATACTGGAGCCTGGCGAGATCACCCTAACCCCTCACACTCCCATCCAGCCGCCACCAGGTGCAGAGTGTT',
|
48 |
'ATTTCAAAACTAGTTTTCTATAAACGAAAACTTATATTTATTCCGCTTGTTCCGTTTGATCTGCTGATTCGACACCGTTTTAACGTATTTTAAGTAAGTATCAGAAATATTAATGTGAAGATAAAAGAAAATAGAGTAAATGTAAAGGAAAATGCATAAGATTTTGTTGA']
|
49 |
pipe = pipeline('text-classification', model=model, tokenizer=tokenizer,
|
50 |
-
trust_remote_code=True,
|
51 |
results = pipe(sequences)
|
52 |
print(results)
|
53 |
|
|
|
18 |
### Model Sources
|
19 |
|
20 |
- **Repository:** [Plant DNA LLMs](https://github.com/zhangtaolab/plant_DNA_LLMs)
|
21 |
+
- **Manuscript:** [Versatile applications of foundation DNA large language models in plant genomes]()
|
22 |
|
23 |
### Architecture
|
24 |
|
|
|
47 |
sequences = ['TACTCTAATCGTATCAGCTGCACTTGCGTACAGGCTACCGGCGTCCTCAGCCACGTAAGAAAAGGCCCAATAAAGGCCCAACTACAACCAGCGGATATATATACTGGAGCCTGGCGAGATCACCCTAACCCCTCACACTCCCATCCAGCCGCCACCAGGTGCAGAGTGTT',
|
48 |
'ATTTCAAAACTAGTTTTCTATAAACGAAAACTTATATTTATTCCGCTTGTTCCGTTTGATCTGCTGATTCGACACCGTTTTAACGTATTTTAAGTAAGTATCAGAAATATTAATGTGAAGATAAAAGAAAATAGAGTAAATGTAAAGGAAAATGCATAAGATTTTGTTGA']
|
49 |
pipe = pipeline('text-classification', model=model, tokenizer=tokenizer,
|
50 |
+
trust_remote_code=True, function_to_apply="none")
|
51 |
results = pipe(sequences)
|
52 |
print(results)
|
53 |
|