Downloads · 30 days
25
8% of all-time downloads
McClain/naive-dna-llama-6mer
naive-dna-llama-6mer is a text generation model from McClain. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Randomly initialized LLaMA model for DNA sequence generation using a custom 6-mer tokenizer (A,C,G,T) with stride 2.
Downloads · 30 days
25
8% of all-time downloads
All-time downloads
295
Public
Parameters
210M
839 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors839 MB · 100%
From the Hugging Face model README
Randomly initialized LLaMA model for DNA sequence generation using a custom 6-mer tokenizer (A,C,G,T) with stride 2.
This repository contains:
tokenization_naive_dna_kmer.py) implementing 6-mer tokenization with stride 2auto_map so AutoTokenizer.from_pretrained(..., trust_remote_code=True) worksLlamaForCausalLM config and weights sized per the provided hyperparametersIntended usage:
Example:
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "McClain/naive-dna-llama-6mer"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
Notes: