Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Reads raw DNA inside a chat and answers in English, judging whether variants look benign or pathogenic, for researchers who want a DNA language model on their own GPU.
Carbon-X is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U transformers
Carbon-X is a 14.8B language model from the Carbon family, trained on DNA sequences and English text together. You paste raw DNA into an ordinary chat and it replies in English, with its reasoning. It starts from Qwen3-14B as its base.
It suits researchers in genetics and biology who work with DNA sequences and want a model they can run on their own hardware.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Genetics research | Variant analysts | Judge whether a changed sequence looks harmless or disease-linked | Paste a reference and a variant, then ask for a call |
| Bioinformatics | Computational biologists | Sort sequences into organism groups | Ask which group a sequence belongs to |
| Genomics labs | Teams with unpublished data | Keep sequences on their own servers | Run the model on one GPU in the lab |
If you do not work with DNA sequences or have no GPU, you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| Variant effect | Geneticists | A benign or pathogenic call with an explanation |
| Gene control regions | Biologists | Regions flagged as steering gene activity |
| Organism group | Bioinformaticians | A group label for a sequence |
| Next bases | Researchers | A predicted continuation of a sequence |
You need Python, a GPU with room for the weights, and Transformers version 5 or later.
pip install -U transformers
pip install -U huggingface_hub hf download HuggingFaceBio/Carbon-X
Put your DNA into a chat message and ask a question about it. The sample builds a message with a reference sequence and a variant, applies the chat template with thinking turned off, and prints the reply.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "HuggingFaceBio/Carbon-X"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="cuda")
messages = [
{
"role": "user",
"content": (
"Reference: ATGGTGCATCTGACTCCTGAGGAGAAGTCTGCCGTTACTGCCCTGTGGGGCAAGG\n"
"Variant: ATGGTGCATCTGACTCCTGTGGAGAAGTCTGCCGTTACTGCCCTGTGGGGCAAGG\n\n"
"Is this variant likely to be benign or pathogenic? Explain your reasoning."
),
}
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
enable_thinking=False,
return_tensors="pt",
return_dict=True,
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))| Tool | What it does |
|---|---|
| AutoTokenizer | Loads the hybrid text and DNA tokenizer |
| AutoModelForCausalLM | Loads the model onto the GPU in bfloat16 |
| apply_chat_template | Turns your message into the model's prompt, with thinking off |
| generate | Writes the reply, up to the token limit you set |
You paste a reference sequence and a copy with one changed letter, then ask whether the change is likely benign or pathogenic and why. The model replies in English with a call and its reasoning, and the reply can quote DNA as well.
Think of it as a chat assistant that can read DNA as well as English. A first small test is the sample script with one short sequence pair. Read the answer as a research aid, and check it against your own data.
DNA and text share one token stream in one decoder, with no separate DNA encoder. The hybrid tokenizer keeps the Qwen3 text vocabulary and adds 5,515 DNA tokens. Of those, 4,096 are 6-mers, so each DNA token stands for 6 base pairs. The model has 40 layers, hidden size 5120 and grouped-query attention with 8 key-value heads. It first saw 302B tokens of mixed DNA, biology and English data, then was tuned with supervised examples and reinforcement learning on DNA tasks.
The authors report an average of 66.7% across five DNA benchmarks with thinking off, 27 points above Qwen3-14B. They estimate that scoring 2.4 million ClinVar variants of uncertain significance would cost about $300, against $32,000 to $4 million for the frontier models they tested. The context window is 40,960 tokens. The card also has a section on using the model as an agent tool.
Reads raw DNA inside a chat and answers in English, judging whether variants look benign or pathogenic, for researchers who want a DNA language model on their own GPU.
Made by HuggingFaceBio on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Carbon-X is a 14.8B language model from the Carbon family, trained on DNA sequences and English text together. You paste raw DNA into an ordinary chat and it replies in English, with its reasoning. It starts from Qwen3-14B as its base.
Who it suits: It suits researchers in genetics and biology who work with DNA sequences and want a model they can run on their own hardware.
Title: Who uses this model
Industry | Who uses it | How they use it | Example
Genetics research | Variant analysts | Judge whether a changed sequence looks harmless or disease-linked | Paste a reference and a variant, then ask for a call
Bioinformatics | Computational biologists | Sort sequences into organism groups | Ask which group a sequence belongs to
Genomics labs | Teams with unpublished data | Keep sequences on their own servers | Run the model on one GPU in the lab
If you do not work with DNA sequences or have no GPU, you can skip it.
Where to use it:
Title: Jobs it does
Use case | Who | What they get back
Variant effect | Geneticists | A benign or pathogenic call with an explanation
Gene control regions | Biologists | Regions flagged as steering gene activity
Organism group | Bioinformaticians | A group label for a sequence
Next bases | Researchers | A predicted continuation of a sequence
How to set it up: You need Python, a GPU with room for the weights, and Transformers version 5 or later.
pip install -U transformers
pip install -U huggingface_hub
hf download HuggingFaceBio/Carbon-X
How to use it: Put your DNA into a chat message and ask a question about it. The sample builds a message with a reference sequence and a variant, applies the chat template with thinking turned off, and prints the reply.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "HuggingFaceBio/Carbon-X"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="cuda")
messages = [
{
"role": "user",
"content": (
"Reference: ATGGTGCATCTGACTCCTGAGGAGAAGTCTGCCGTTACTGCCCTGTGGGGCAAGG\n"
"Variant: ATGGTGCATCTGACTCCTGTGGAGAAGTCTGCCGTTACTGCCCTGTGGGGCAAGG\n\n"
"Is this variant likely to be benign or pathogenic? Explain your reasoning."
),
}
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
enable_thinking=False,
return_tensors="pt",
return_dict=True,
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Title: Main calls in the sample
Tool | What it does
AutoTokenizer | Loads the hybrid text and DNA tokenizer
AutoModelForCausalLM | Loads the model onto the GPU in bfloat16
apply_chat_template | Turns your message into the model's prompt, with thinking off
generate | Writes the reply, up to the token limit you set
Example: You paste a reference sequence and a copy with one changed letter, then ask whether the change is likely benign or pathogenic and why. The model replies in English with a call and its reasoning, and the reply can quote DNA as well.
For newcomers and experts: Think of it as a chat assistant that can read DNA as well as English. A first small test is the sample script with one short sequence pair. Read the answer as a research aid, and check it against your own data.
DNA and text share one token stream in one decoder, with no separate DNA encoder. The hybrid tokenizer keeps the Qwen3 text vocabulary and adds 5,515 DNA tokens. Of those, 4,096 are 6-mers, so each DNA token stands for 6 base pairs. The model has 40 layers, hidden size 5120 and grouped-query attention with 8 key-value heads. It first saw 302B tokens of mixed DNA, biology and English data, then was tuned with supervised examples and reinforcement learning on DNA tasks.
Raw DNA inside a chat message
Hybrid tokenizer tags and splits it
One decoder reads DNA and text
English answer with reasoning
Good to know: The authors report an average of 66.7% across five DNA benchmarks with thinking off, 27 points above Qwen3-14B. They estimate that scoring 2.4 million ClinVar variants of uncertain significance would cost about $300, against $32,000 to $4 million for the frontier models they tested. The context window is 40,960 tokens. The card also has a section on using the model as an agent tool.
Title: Average score on five DNA benchmarks
Carbon-X: 66.7%
GPT-6.1 Sol: 67.5%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download HuggingFaceBio/Carbon-X
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Carbon-X This page | 5,018 | 303 | 14.8B | apache-2.0 | |
| Octen-WebGR-0.6BShares qwen3 · text-generation · conversational | 1,458 | 58 | 730M | cc-by-nc-4.0 | |
| MiroThinker-v1.0-8BShares qwen3 · text-generation · conversational | 509 | 69 | 8.2B | mit | |
| RFD4-ProteinaShares biology · safetensors | 14,235 | 45 | 436M | bsd-3-clause | |
| RFD4-Proteina-DiffusersShares biology · safetensors | 403 | 5 | 178M | bsd-3-clause | |
| VLX-Seek-1.5-10BShares text-generation · conversational · transformers | 137,772 | 39 | 10B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…