File size: 5,504 Bytes
b901a04
 
 
 
 
1300c8e
b901a04
 
 
 
 
 
 
 
1300c8e
b901a04
1300c8e
b901a04
 
 
 
1300c8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b901a04
1300c8e
b901a04
1300c8e
 
 
 
 
 
 
b901a04
1300c8e
b901a04
1300c8e
b901a04
1300c8e
 
b901a04
1300c8e
 
 
b901a04
1300c8e
 
b901a04
1300c8e
b901a04
 
1300c8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b901a04
1300c8e
803862d
1300c8e
 
 
 
 
 
 
 
 
 
b901a04
 
1300c8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b901a04
 
 
1300c8e
 
b901a04
 
 
 
 
 
1300c8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b901a04
1300c8e
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
---
license: apache-2.0
task_categories:
  - text-classification
  - token-classification
  - text-generation
language:
  - en
tags:
  - genomics
  - bioinformatics
  - kluyveromyces-marxianus
  - biobert
  - functional-genomics
  - pangenome
  - yeast
  - biomistral
size_categories:
  - 10K<n<100K
---

# 🧬 Kluyveromyces marxianus - BioBERT-Optimized Genomics Dataset

<div align="center">
  <img src="https://img.shields.io/badge/BioBERT-Optimized-green" alt="BioBERT"/>
  <img src="https://img.shields.io/badge/Chunks-2-brightgreen" alt="Chunks"/>
  <img src="https://img.shields.io/badge/Quality-0.855-yellow" alt="Quality"/>
  <img src="https://img.shields.io/badge/512_tokens-Ready-blue" alt="512 tokens"/>
</div>

## πŸ“‹ Overview

**2 semantically-optimized chunks** for BioBERT fine-tuning, processed with **BiOMistral-7B** quantum chunking engine.

### Key Features

βœ… **Deep Semantic Coherence** (avg: 1.000)
βœ… **Optimal Token Size** (~512 tokens per chunk)
βœ… **Quality Filtering** (2 high-quality chunks)
βœ… **Entity Extraction** (genes, proteins, pathways, conditions)
βœ… **BioBERT-Ready** (1 chunks ≀512 tokens)

## 🎯 Research Context

**PhD Thesis**: *Functional Genomics of Robust Linear Yeasts (Kluyveromyces marxianus) using BioBERT and Pangenome Methodology for Identifying Key Survival Genes in Severe Gut Conditions*

### Applications

- 🧬 Gene survival mechanism discovery
- πŸ”¬ Metabolic pathway analysis
- 🦠 Stress response characterization
- πŸ“Š Pangenome comparative genomics
- πŸ€– AI-driven gene function prediction

## πŸ“Š Dataset Statistics

| Metric | Value |
|--------|-------|
| **Total Chunks** | 2 |
| **High-Quality (β‰₯0.7)** | 2 (100.0%) |
| **BioBERT-Ready** | 1 (50.0%) |
| **Avg Coherence** | 1.0000 |
| **Avg Density** | 0.7108 |
| **Avg Quality** | 0.8554 |
| **Processing Date** | 2025-11-01T08:29:54.885911 |

## 🧬 Data Structure

```json
{
  "chunk_id": "train_0_0",
  "global_id": 0,
  "text": "Optimized text content...",
  "token_count": 487,
  "semantic_coherence": 0.8234,
  "information_density": 0.7156,
  "quality_score": 0.7695,
  "entities": {
    "genes": ["ABC1", "XYZ2"],
    "proteins": ["hexokinase"],
    "pathways": ["glycolysis"],
    "organisms": ["marxianus"],
    "conditions": ["acid", "gut"]
  },
  "biobert_ready": true
}
```

## πŸ“ Files

- `chunks_complete.json` - All chunks with metadata (2 chunks)
- `chunks_high_quality.json` - Premium subset (2 chunks)
- `chunks.jsonl` - Streaming format
- `statistics.json` - Processing statistics
- `analysis_dashboard.png` - Visual analytics
- `interactive_dashboard.html` - Interactive Plotly dashboard
- `entities_wordcloud.png` - Entity visualization

## πŸš€ Quick Start

### Load Dataset

```python
import json

# High-quality subset
with open('chunks_high_quality.json', 'r') as f:
    chunks = json.load(f)

print(f"Loaded {len(chunks):,} high-quality chunks")
```

### BioBERT Fine-tuning

```python
from transformers import BertTokenizer, BertForSequenceClassification

model = BertForSequenceClassification.from_pretrained(
    "dmis-lab/biobert-large-cased-v1.1",
    num_labels=YOUR_CLASSES
)

tokenizer = BertTokenizer.from_pretrained(
    "dmis-lab/biobert-large-cased-v1.1"
)

# Chunks are already 512-token optimized!
for chunk in chunks:
    encoding = tokenizer(
        chunk['text'],
        truncation=True,
        max_length=512,
        padding='max_length',
        return_tensors='pt'
    )
    # Train your model...
```

### Filter by Quality

```python
# Get excellent chunks (β‰₯0.8)
excellent = [c for c in chunks if c['quality_score'] >= 0.8]

# Get gut-stress related chunks
gut_chunks = [
    c for c in chunks
    if any(cond in c['entities']['conditions']
           for cond in ['gut', 'acid', 'bile'])
]
```

## πŸ“ˆ Quality Metrics

**Semantic Coherence** (0-1): Thematic consistency using BiOMistral embeddings
**Information Density** (0-1): Vocabulary diversity (unique/total words)
**Quality Score** (0-1): Combined metric `(coherence + density) / 2`

### Quality Tiers

- **Excellent** (β‰₯0.8): Highly focused, rich content
- **Good** (0.7-0.8): Strong coherence and diversity
- **Acceptable** (0.5-0.7): Moderate quality
- **Low** (<0.5): Basic content

## πŸ”¬ Processing Pipeline

1. **BiOMistral-7B Loading** - 4-bit/FP16 quantization
2. **Semantic Analysis** - Deep understanding via embeddings
3. **Intelligent Chunking** - Boundary detection at natural breaks
4. **Entity Extraction** - Automatic identification
5. **Quality Scoring** - Multi-metric assessment
6. **Visualization** - Interactive and static analytics

## πŸŽ“ Citation

```bibtex
@dataset{kmx_chunks_2024,
  title = {Kluyveromyces marxianus BioBERT-Optimized Chunks},
  author = {Quantum Chunking System},
  year = {2024},
  publisher = {HuggingFace},
  url = {https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus-chunks}
}
```

## πŸ“œ License

Apache 2.0 - Free for commercial and research use

## 🀝 Source

**Original Dataset**: [Milad96/Kluyveromyces-marxianus](https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus)

**Processing**: BiOMistral-7B Quantum Chunking System

## πŸ”— Resources

- [BioBERT](https://huggingface.co/dmis-lab/biobert-large-cased-v1.1)
- [BiOMistral-7B](https://huggingface.co/BioMistral/BioMistral-7B)
- [Transformers](https://github.com/huggingface/transformers)

---

**Generated**: 2025-11-01 08:30:12
**System**: BiOMistral Quantum Chunking v1.0
**Target**: BioBERT-Large Fine-tuning