Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -3,7 +3,6 @@ license: apache-2.0
|
|
| 3 |
task_categories:
|
| 4 |
- text-classification
|
| 5 |
- token-classification
|
| 6 |
-
- text-generation
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
tags:
|
|
@@ -12,177 +11,63 @@ tags:
|
|
| 12 |
- kluyveromyces-marxianus
|
| 13 |
- biobert
|
| 14 |
- functional-genomics
|
| 15 |
-
- pangenome
|
| 16 |
- yeast
|
| 17 |
-
- gut-microbiome
|
| 18 |
-
- nlp
|
| 19 |
-
- transformers
|
| 20 |
size_categories:
|
| 21 |
- 10K<n<100K
|
| 22 |
---
|
| 23 |
|
| 24 |
-
# Kluyveromyces marxianus
|
| 25 |
-
|
| 26 |
-
<div align="center">
|
| 27 |
-
<img src="https://img.shields.io/badge/BioBERT-Optimized-green" alt="BioBERT Optimized"/>
|
| 28 |
-
<img src="https://img.shields.io/badge/Chunk_Size-512_tokens-blue" alt="512 tokens"/>
|
| 29 |
-
<img src="https://img.shields.io/badge/Model-BiOMistral--7B-orange" alt="BiOMistral-7B"/>
|
| 30 |
-
<img src="https://img.shields.io/badge/License-Apache_2.0-yellow" alt="Apache 2.0"/>
|
| 31 |
-
</div>
|
| 32 |
-
|
| 33 |
-
## 📋 Overview
|
| 34 |
-
|
| 35 |
-
This dataset contains **semantically-optimized chunks** of scientific literature and genomic data related to *Kluyveromyces marxianus*, specifically prepared for **BioBERT-Large v1.1 fine-tuning**. The data was processed using **BiOMistral-7B** to ensure:
|
| 36 |
-
|
| 37 |
-
- ✅ Deep semantic coherence
|
| 38 |
-
- ✅ Optimal chunk size (512 tokens for BioBERT)
|
| 39 |
-
- ✅ Preservation of genomic entity relationships
|
| 40 |
-
- ✅ Quality scoring and filtering
|
| 41 |
-
|
| 42 |
-
## 🎯 Research Context
|
| 43 |
-
|
| 44 |
-
**PhD Thesis:** *Functional Genomics of Robust Linear Yeasts (Kluyveromyces marxianus) using BioBERT and Pangenome Methodology for Identifying Key Survival Genes in Severe Gut Conditions*
|
| 45 |
-
|
| 46 |
-
This dataset supports research into:
|
| 47 |
-
- Gene survival mechanisms in extreme gut environments
|
| 48 |
-
- Metabolic pathway adaptations
|
| 49 |
-
- Stress response systems in yeast
|
| 50 |
-
- Comparative pangenomics
|
| 51 |
-
|
| 52 |
-
## 📊 Dataset Statistics
|
| 53 |
-
|
| 54 |
-
| Metric | Value |
|
| 55 |
-
|--------|-------|
|
| 56 |
-
| **Total Chunks** | TBD |
|
| 57 |
-
| **High-Quality Chunks** | TBD |
|
| 58 |
-
| **Average Token Count** | ~512 |
|
| 59 |
-
| **Semantic Coherence** | TBD |
|
| 60 |
-
| **Processing Date** | 2025-10-31 |
|
| 61 |
-
|
| 62 |
-
## 🧬 Data Structure
|
| 63 |
-
|
| 64 |
-
Each chunk contains:
|
| 65 |
-
|
| 66 |
-
```json
|
| 67 |
-
{
|
| 68 |
-
"chunk_id": "unique_identifier",
|
| 69 |
-
"text": "chunk_content",
|
| 70 |
-
"token_count": 512,
|
| 71 |
-
"semantic_coherence": 0.85,
|
| 72 |
-
"information_density": 0.72,
|
| 73 |
-
"quality_score": 0.785,
|
| 74 |
-
"entities": {
|
| 75 |
-
"genes": ["ABC1", "XYZ2"],
|
| 76 |
-
"proteins": [...],
|
| 77 |
-
"pathways": [...],
|
| 78 |
-
"conditions": [...]
|
| 79 |
-
},
|
| 80 |
-
"biobert_ready": true,
|
| 81 |
-
"source_document": {...}
|
| 82 |
-
}
|
| 83 |
-
```
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
-
|
| 88 |
-
- `chunks_high_quality.json` - Premium chunks (quality ≥ 0.7)
|
| 89 |
-
- `chunks.jsonl` - Streaming-friendly format
|
| 90 |
-
- `chunks.csv` - Simplified tabular format
|
| 91 |
-
- `processing_statistics.json` - Numerical summaries
|
| 92 |
-
- `chunk_analysis.png` - Statistical visualizations
|
| 93 |
-
- `interactive_analysis.html` - Interactive exploration dashboard
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
-
##
|
| 98 |
|
| 99 |
-
|
| 100 |
-
|
|
|
|
|
|
|
| 101 |
|
| 102 |
-
#
|
| 103 |
-
dataset = load_dataset("Milad96/Kluyveromyces-marxianus-chunks")
|
| 104 |
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
```
|
| 110 |
|
| 111 |
-
##
|
| 112 |
|
| 113 |
```python
|
| 114 |
-
from
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
# Load BioBERT
|
| 118 |
-
model = BertForSequenceClassification.from_pretrained(
|
| 119 |
-
"dmis-lab/biobert-large-cased-v1.1-squad",
|
| 120 |
-
num_labels=YOUR_NUM_CLASSES
|
| 121 |
-
)
|
| 122 |
-
|
| 123 |
-
tokenizer = BertTokenizer.from_pretrained(
|
| 124 |
-
"dmis-lab/biobert-large-cased-v1.1-squad"
|
| 125 |
-
)
|
| 126 |
|
| 127 |
-
#
|
| 128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
```
|
| 130 |
|
| 131 |
-
##
|
| 132 |
-
|
| 133 |
-
1. **BiOMistral-7B Loading**: 4-bit quantized for efficiency
|
| 134 |
-
2. **Semantic Analysis**: Deep understanding of genomic context
|
| 135 |
-
3. **Intelligent Chunking**: Boundary detection at semantic breaks
|
| 136 |
-
4. **Entity Extraction**: Automatic identification of genes, proteins, pathways
|
| 137 |
-
5. **Quality Scoring**: Multi-factor assessment (coherence + density)
|
| 138 |
-
6. **BioBERT Optimization**: 512-token target with special token support
|
| 139 |
-
|
| 140 |
-
## 📈 Quality Metrics
|
| 141 |
-
|
| 142 |
-
### Semantic Coherence (0-1)
|
| 143 |
-
Measures thematic consistency within chunks using BiOMistral embeddings.
|
| 144 |
-
|
| 145 |
-
### Information Density (0-1)
|
| 146 |
-
Ratio of unique to total words, indicating vocabulary diversity.
|
| 147 |
-
|
| 148 |
-
### Quality Score (0-1)
|
| 149 |
-
Combined metric: `(Coherence + Density) / 2`
|
| 150 |
-
|
| 151 |
-
## 🎓 Citation
|
| 152 |
-
|
| 153 |
-
If you use this dataset in your research, please cite:
|
| 154 |
|
| 155 |
```bibtex
|
| 156 |
@dataset{kmx_chunks_2024,
|
| 157 |
author = {Milad96},
|
| 158 |
-
title = {Kluyveromyces marxianus
|
| 159 |
year = {2024},
|
| 160 |
publisher = {HuggingFace},
|
| 161 |
url = {https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus-chunks}
|
| 162 |
}
|
| 163 |
```
|
| 164 |
|
| 165 |
-
##
|
| 166 |
-
|
| 167 |
-
This dataset is released under the Apache 2.0 License.
|
| 168 |
-
|
| 169 |
-
## 🤝 Source Data
|
| 170 |
-
|
| 171 |
-
Original dataset: [Milad96/Kluyveromyces-marxianus](https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus)
|
| 172 |
-
|
| 173 |
-
## 🔗 Related Resources
|
| 174 |
-
|
| 175 |
-
- [BioBERT Models](https://huggingface.co/dmis-lab)
|
| 176 |
-
- [BiOMistral-7B](https://huggingface.co/BioMistral/BioMistral-7B)
|
| 177 |
-
- [Pangenome Analysis Tools](https://github.com/pangenome)
|
| 178 |
-
|
| 179 |
-
## 📧 Contact
|
| 180 |
-
|
| 181 |
-
For questions or collaborations, please open an issue in this repository.
|
| 182 |
-
|
| 183 |
-
---
|
| 184 |
|
| 185 |
-
|
| 186 |
-
**Processing Model:** BiOMistral-7B (4-bit quantized)
|
| 187 |
-
**Target Application:** BioBERT-Large v1.1 Fine-tuning
|
| 188 |
-
**Date:** 2025-10-31 20:09:08
|
|
|
|
| 3 |
task_categories:
|
| 4 |
- text-classification
|
| 5 |
- token-classification
|
|
|
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
tags:
|
|
|
|
| 11 |
- kluyveromyces-marxianus
|
| 12 |
- biobert
|
| 13 |
- functional-genomics
|
|
|
|
| 14 |
- yeast
|
|
|
|
|
|
|
|
|
|
| 15 |
size_categories:
|
| 16 |
- 10K<n<100K
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# 🧬 Kluyveromyces marxianus - BioBERT-Optimized Chunks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
**PhD Research Dataset**: Functional Genomics of Robust Linear Yeasts
|
| 22 |
|
| 23 |
+
## Overview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
Semantically-optimized 512-token chunks for BioBERT fine-tuning, processed with BiOMistral-7B.
|
| 26 |
|
| 27 |
+
## Dataset Info
|
| 28 |
|
| 29 |
+
- **Processing Date**: 2025-10-31
|
| 30 |
+
- **Target Model**: BioBERT-Large v1.1
|
| 31 |
+
- **Chunk Size**: 512 tokens (optimal)
|
| 32 |
+
- **Source**: [Milad96/Kluyveromyces-marxianus](https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus)
|
| 33 |
|
| 34 |
+
## Features
|
|
|
|
| 35 |
|
| 36 |
+
- Deep semantic coherence analysis
|
| 37 |
+
- Automatic genomic entity extraction
|
| 38 |
+
- Quality scoring and filtering
|
| 39 |
+
- BioBERT-ready format
|
|
|
|
| 40 |
|
| 41 |
+
## Usage
|
| 42 |
|
| 43 |
```python
|
| 44 |
+
from datasets import load_dataset
|
| 45 |
+
import json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
# Load high-quality chunks
|
| 48 |
+
with open('chunks_high_quality.json', 'r') as f:
|
| 49 |
+
chunks = json.load(f)
|
| 50 |
+
|
| 51 |
+
# Each chunk has:
|
| 52 |
+
# - text: optimized content
|
| 53 |
+
# - token_count: ~512
|
| 54 |
+
# - semantic_coherence: 0-1
|
| 55 |
+
# - quality_score: 0-1
|
| 56 |
+
# - entities: {genes, proteins, pathways}
|
| 57 |
```
|
| 58 |
|
| 59 |
+
## Citation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
```bibtex
|
| 62 |
@dataset{kmx_chunks_2024,
|
| 63 |
author = {Milad96},
|
| 64 |
+
title = {Kluyveromyces marxianus BioBERT Chunks},
|
| 65 |
year = {2024},
|
| 66 |
publisher = {HuggingFace},
|
| 67 |
url = {https://huggingface.co/datasets/Milad96/Kluyveromyces-marxianus-chunks}
|
| 68 |
}
|
| 69 |
```
|
| 70 |
|
| 71 |
+
## License
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
+
Apache 2.0
|
|
|
|
|
|
|
|
|