File size: 2,307 Bytes
9a8d870
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b2a670
 
9a8d870
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
---
license: mit
task_categories:
- text-generation
language:
- en
- sa
tags:
- fantasy
- biology
- worldbuilding
pretty_name: "नानायोनि-कामभेद-संग्रहः (Nānāyoni-Kāmabheda-Saṅgrahaḥ)"
size_categories:
- n < 1K
---

# Fantecchi: Nānāyoni-Kāmabheda-Saṅgrahaḥ

A specialized framework and language model designed for **Lore-Strict Biological Roleplay**. This project fine-tunes models to handle complex, non-human anatomical and reproductive systems without defaulting to human biological assumptions.

## 🛠 Project Structure

The project is divided into two distinct pillars: the **Training Pipeline** (The Engine) and the **Application Layer** (The Showroom).

### 🏗 Core (Scaffolding & Scripts)
- `core/training_pipeline/`:
    - `lore_refinement/`: Scripts that evolve raw world-building into structured JSON lore.
    - `data_synth/`: Preprocessing scripts that convert lore into ChatML training data.
    - `trainers/`: The LoRA/QLoRA fine-tuning logic and model output.
- `core/application_layer/`:
    - `exporters/`: Scripts that generate platform-specific chatbot profiles (JanitorAI, etc.).
    - `local_ui/`: The Gradio-based local chat interface.
    - `documentation/`: Automated dictionary and markdown generators.

### 📊 Data & Assets
- `data/setN__.../`: Versioned source data and final processed lore.
- `data/training/`: Generated datasets for the fine-tuning process.
- `chatbots/`: Exported bot profiles for external platforms.
- `docs/dictionary/`: Consolidated markdown dictionaries for human reference.

## 🧬 How to Use

### 1. Training (Pillar A)
To train the model on current or new lore:
```bash
python main.py
```
This will run the full pipeline: Preprocessing -> Training.

### 2. Application (Pillar B)
To chat with the model locally:
```bash
python app.py
```

## 🚀 Adding New Racial Biology
1.  Add a JSON file to `data/set5__culture/`.
2.  Run `python main.py` to bake the new biology into the model's weights.
3.  Alternatively, paste the biology block directly into a chat prompt for instant "In-Context" recognition.

---
**Authored by नग्नाक्षी (Nagnākṣī)**  
*(Original character and lore imagined by the Fantecchi team)*  
*"A Compendium of Erotic Variations Across Many Forms"*