Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ tags:
|
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# molcrawl-genome-sequence-
|
| 11 |
|
| 12 |
## Model Description
|
| 13 |
|
|
@@ -23,8 +23,8 @@ GPT-2 medium (345M parameters) foundation model pre-trained on human genome DNA
|
|
| 23 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
import torch
|
| 25 |
|
| 26 |
-
model = AutoModelForCausalLM.from_pretrained("kojima-lab/molcrawl-genome-sequence-
|
| 27 |
-
tokenizer = AutoTokenizer.from_pretrained("kojima-lab/molcrawl-genome-sequence-
|
| 28 |
|
| 29 |
# Generate DNA/genome sequence
|
| 30 |
prompt = "ATCGATCGATCGATCGATCGATCGATCGATCG"
|
|
@@ -57,10 +57,10 @@ If you use this model, please cite:
|
|
| 57 |
|
| 58 |
```bibtex
|
| 59 |
@misc{molcrawl_genome_sequence_medium_gpt2,
|
| 60 |
-
title={molcrawl-genome-sequence-
|
| 61 |
author={{RIKEN}},
|
| 62 |
year={2026},
|
| 63 |
publisher={{Hugging Face}},
|
| 64 |
-
url={{https://huggingface.co/kojima-lab/molcrawl-genome-sequence-
|
| 65 |
}
|
| 66 |
```
|
|
|
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# molcrawl-genome-sequence-gpt2-medium
|
| 11 |
|
| 12 |
## Model Description
|
| 13 |
|
|
|
|
| 23 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 24 |
import torch
|
| 25 |
|
| 26 |
+
model = AutoModelForCausalLM.from_pretrained("kojima-lab/molcrawl-genome-sequence-gpt2-medium")
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained("kojima-lab/molcrawl-genome-sequence-gpt2-medium")
|
| 28 |
|
| 29 |
# Generate DNA/genome sequence
|
| 30 |
prompt = "ATCGATCGATCGATCGATCGATCGATCGATCG"
|
|
|
|
| 57 |
|
| 58 |
```bibtex
|
| 59 |
@misc{molcrawl_genome_sequence_medium_gpt2,
|
| 60 |
+
title={molcrawl-genome-sequence-gpt2-medium},
|
| 61 |
author={{RIKEN}},
|
| 62 |
year={2026},
|
| 63 |
publisher={{Hugging Face}},
|
| 64 |
+
url={{https://huggingface.co/kojima-lab/molcrawl-genome-sequence-gpt2-medium}}
|
| 65 |
}
|
| 66 |
```
|