Upload folder using huggingface_hub
Browse files- README.md +53 -0
- corpuslib-topics.jsonl +28 -0
- metadata.json +26 -0
- upload.py +77 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CORPUSLIB Topics Dataset
|
| 2 |
+
|
| 3 |
+
**CORPUSLIB — Agentic Corpus Library for Indirect Learning**
|
| 4 |
+
|
| 5 |
+
This dataset contains the topic catalog for DeckerGUI's CORPUSLIB system. CORPUSLIB is a link-gated knowledge library focused on indirect learning as the AI/agentic technology space evolves.
|
| 6 |
+
|
| 7 |
+
## Purpose
|
| 8 |
+
|
| 9 |
+
- **Fallback system**: When main learning sources are unavailable or undergoing maintenance, CORPUSLIB provides backup topic links
|
| 10 |
+
- **Agent training**: Structured topic data for training agentic fetch agents (`dgui_corpuslib_fetch`)
|
| 11 |
+
- **Knowledge graph**: Topic relationships and categories for graph engineering
|
| 12 |
+
|
| 13 |
+
## Schema
|
| 14 |
+
|
| 15 |
+
| Field | Type | Description |
|
| 16 |
+
|-------|------|-------------|
|
| 17 |
+
| `id` | int | Unique topic identifier |
|
| 18 |
+
| `topic` | string | Topic name |
|
| 19 |
+
| `category` | string | Category classification |
|
| 20 |
+
| `url` | string | Direct link to original content |
|
| 21 |
+
| `source` | string | Source platform (x.com, youtube, etc.) |
|
| 22 |
+
| `tags` | array | Topic tags for search |
|
| 23 |
+
| `status` | string | Topic status (active/inactive) |
|
| 24 |
+
| `added_by` | string | Original contributor |
|
| 25 |
+
|
| 26 |
+
## Categories
|
| 27 |
+
|
| 28 |
+
- `mobile-agents` — Mobile agent development
|
| 29 |
+
- `agent-frameworks` — Agent frameworks and harnesses
|
| 30 |
+
- `engineering-patterns` — Loop, graph, memory, eval engineering
|
| 31 |
+
- `ai-models` — AI model discussions
|
| 32 |
+
- `tools-ecosystem` — MCP servers, GitHub repos, skills
|
| 33 |
+
- `knowledge-management` — Second brain, knowledge graphs
|
| 34 |
+
- `research` — Academic research and papers
|
| 35 |
+
- `career` — AI engineer career guidance
|
| 36 |
+
- `education` — Terminology and basics
|
| 37 |
+
- `security` — TLS, encryption
|
| 38 |
+
- `training` — Fine-tuning, model training
|
| 39 |
+
|
| 40 |
+
## DeckerGUI Integration
|
| 41 |
+
|
| 42 |
+
This dataset connects to:
|
| 43 |
+
- **KPI Tokenizer** (port 3004): Enterprise tracking, usage logging
|
| 44 |
+
- **DGUI Emitter** (port 3006): Event emission, real-time updates
|
| 45 |
+
- **CORPUSLIB Service** (port 3009): Standalone corpus library API
|
| 46 |
+
|
| 47 |
+
## License
|
| 48 |
+
|
| 49 |
+
DeckerGUI Ecosystem — MIT License
|
| 50 |
+
|
| 51 |
+
## Contributing
|
| 52 |
+
|
| 53 |
+
To contribute topics, email ctaxnagomi@gmail.com
|
corpuslib-topics.jsonl
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": 1, "topic": "Claude Code on Phone", "category": "mobile-agents", "url": "https://x.com/shawn_pana/status/2085953331751776745?s=46", "source": "x.com", "tags": ["claude", "mobile", "phone", "agents"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 2 |
+
{"id": 2, "topic": "Agentic Harness", "category": "agent-frameworks", "url": "https://x.com/av1dlive/status/2085405823782842835?s=46", "source": "x.com", "tags": ["harness", "agent", "framework"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 3 |
+
{"id": 3, "topic": "Loop Engineering", "category": "engineering-patterns", "url": "https://x.com/0xcodila/status/2079597821511020996?s=46", "source": "x.com", "tags": ["loop", "engineering", "patterns"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 4 |
+
{"id": 4, "topic": "Graph Engineering", "category": "engineering-patterns", "url": "https://x.com/0x_rody/status/2081664256571810178?s=46", "source": "x.com", "tags": ["graph", "engineering", "knowledge-graph"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 5 |
+
{"id": 5, "topic": "Graph Engineering Advanced", "category": "engineering-patterns", "url": "https://x.com/0xcodez/status/2086524050180813244?s=46", "source": "x.com", "tags": ["graph", "engineering", "advanced"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 6 |
+
{"id": 6, "topic": "Graph Engineering Research", "category": "engineering-patterns", "url": "https://x.com/lunarresearcher/status/2082076425465762082?s=46", "source": "x.com", "tags": ["graph", "research", "engineering"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 7 |
+
{"id": 7, "topic": "Graph Engineering Chain", "category": "engineering-patterns", "url": "https://x.com/ritonchain/status/2081656879886012676?s=46", "source": "x.com", "tags": ["graph", "chain", "engineering"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 8 |
+
{"id": 8, "topic": "Agent Factory", "category": "agent-frameworks", "url": "https://x.com/av1dlive/status/2082505465569910850?s=46", "source": "x.com", "tags": ["agent", "factory", "framework"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 9 |
+
{"id": 9, "topic": "Grok Bot", "category": "ai-models", "url": "https://x.com/0xmiraqle/status/2087674398304059722?s=46", "source": "x.com", "tags": ["grok", "bot", "ai"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 10 |
+
{"id": 10, "topic": "Agent Engineering", "category": "engineering-patterns", "url": "https://x.com/sprytixl/status/2087066798608752671?s=46", "source": "x.com", "tags": ["agent", "engineering", "patterns"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 11 |
+
{"id": 11, "topic": "Memory Engineering", "category": "engineering-patterns", "url": "https://x.com/n01ennn/status/2083971749079581120?s=46", "source": "x.com", "tags": ["memory", "engineering", "context"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 12 |
+
{"id": 12, "topic": "Memory Engineering Advanced", "category": "engineering-patterns", "url": "https://x.com/0xwast3/status/2084625810112032849?s=46", "source": "x.com", "tags": ["memory", "engineering", "advanced"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 13 |
+
{"id": 13, "topic": "50 MCP Servers", "category": "tools-ecosystem", "url": "https://x.com/explorax_/status/2062448236439155173?s=46", "source": "x.com", "tags": ["mcp", "servers", "tools"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 14 |
+
{"id": 14, "topic": "NLP Harness (Stanford)", "category": "research", "url": "https://x.com/akshay_pachaar/status/2086079311279493389?s=46", "source": "x.com", "tags": ["nlp", "stanford", "research"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 15 |
+
{"id": 15, "topic": "SKILL.SH", "category": "tools-ecosystem", "url": "https://x.com/11ruka_ai/status/2086380738463887430?s=46", "source": "x.com", "tags": ["skills", "agent", "tools"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 16 |
+
{"id": 16, "topic": "2nd Brain (Karpathy Method)", "category": "knowledge-management", "url": "https://x.com/kirillk_web3/status/2074905017983607081?s=46", "source": "x.com", "tags": ["brain", "karpathy", "knowledge"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 17 |
+
{"id": 17, "topic": "Prompt to Graph Engineering", "category": "engineering-patterns", "url": "https://x.com/starmexxx/status/2083468826390270401?s=46", "source": "x.com", "tags": ["prompt", "graph", "engineering"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 18 |
+
{"id": 18, "topic": "Reduce Engineering", "category": "engineering-patterns", "url": "https://x.com/gippp69/status/2087120797206819322?s=46", "source": "x.com", "tags": ["reduce", "engineering", "optimization"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 19 |
+
{"id": 19, "topic": "33 Free Github Repos", "category": "tools-ecosystem", "url": "https://x.com/unicodef1wn/status/2078473375739998573?s=46", "source": "x.com", "tags": ["github", "repos", "free"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 20 |
+
{"id": 20, "topic": "Eval Engineering", "category": "engineering-patterns", "url": "https://x.com/hanakoxbt/status/2083540339147567268?s=46", "source": "x.com", "tags": ["eval", "engineering", "evaluation"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 21 |
+
{"id": 21, "topic": "How to become AI Engineer", "category": "career", "url": "https://x.com/sairahul1/status/2086759273607069757?s=46", "source": "x.com", "tags": ["career", "ai-engineer", "guide"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 22 |
+
{"id": 22, "topic": "Learn & Research", "category": "research", "url": "https://x.com/noisyb0y1/status/2089250684302488055?s=46", "source": "x.com", "tags": ["learn", "research", "guide"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 23 |
+
{"id": 23, "topic": "Uncensored AI", "category": "ai-models", "url": "https://x.com/0x0sojalsec/status/2074622871771717837?s=46", "source": "x.com", "tags": ["uncensored", "ai", "models"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 24 |
+
{"id": 24, "topic": "AI Terminology", "category": "education", "url": "https://youtu.be/eN-B35QiZiQ?si=OPaYg4uNJqIYMDIt", "source": "youtube", "tags": ["terminology", "education", "basics"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 25 |
+
{"id": 25, "topic": "How TLS Works", "category": "security", "url": "https://youtu.be/NoFNP0Vy4tY?si=P84xMvj2hvJOGEJ0", "source": "youtube", "tags": ["tls", "security", "encryption"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 26 |
+
{"id": 26, "topic": "Fine Tune GGUF Models", "category": "training", "url": "https://www.unsloth.ai", "source": "unsloth", "tags": ["fine-tune", "gguf", "unsloth"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 27 |
+
{"id": 27, "topic": "FREE 1B Token (DeepSeek + Qwen)", "category": "ai-models", "url": "https://x.com/qilua02/status/2089573050081833035?s=46", "source": "x.com", "tags": ["deepseek", "qwen", "free"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
| 28 |
+
{"id": 28, "topic": "DeepSeek Pro + Harness Replace", "category": "agent-frameworks", "url": "https://x.com/_0xpainn/status/2089679010070450383?s=46", "source": "x.com", "tags": ["deepseek", "harness", "replace"], "status": "active", "added_by": "DeckerGUI Wan Mohd Azizi / Rikayu Wilzam"}
|
metadata.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "CORPUSLIB Topics Dataset",
|
| 3 |
+
"description": "Topic catalog for DeckerGUI's CORPUSLIB agentic corpus library",
|
| 4 |
+
"source": "DeckerGUI CORPUSLIB",
|
| 5 |
+
"license": "MIT",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"topics_count": 28,
|
| 8 |
+
"categories": [
|
| 9 |
+
"mobile-agents",
|
| 10 |
+
"agent-frameworks",
|
| 11 |
+
"engineering-patterns",
|
| 12 |
+
"ai-models",
|
| 13 |
+
"tools-ecosystem",
|
| 14 |
+
"knowledge-management",
|
| 15 |
+
"research",
|
| 16 |
+
"career",
|
| 17 |
+
"education",
|
| 18 |
+
"security",
|
| 19 |
+
"training"
|
| 20 |
+
],
|
| 21 |
+
"integration": {
|
| 22 |
+
"kpi_tokenizer": "http://127.0.0.1:3004",
|
| 23 |
+
"dgui_emitter": "http://127.0.0.1:3006",
|
| 24 |
+
"corpuslib_service": "http://127.0.0.1:3009"
|
| 25 |
+
}
|
| 26 |
+
}
|
upload.py
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
CORPUSLIB Topics Dataset - HuggingFace Upload Script
|
| 4 |
+
Uploads the CORPUSLIB topic catalog to HuggingFace Hub
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
import os
|
| 8 |
+
import json
|
| 9 |
+
from huggingface_hub import HfApi, login, create_repo, upload_folder
|
| 10 |
+
|
| 11 |
+
# Configuration
|
| 12 |
+
HF_USERNAME = "ctaxnagomi"
|
| 13 |
+
DATASET_NAME = "corpuslib-topics"
|
| 14 |
+
DATASET_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 15 |
+
|
| 16 |
+
def main():
|
| 17 |
+
print("=" * 60)
|
| 18 |
+
print("CORPUSLIB Topics Dataset - HuggingFace Upload")
|
| 19 |
+
print("=" * 60)
|
| 20 |
+
print()
|
| 21 |
+
|
| 22 |
+
# Load token
|
| 23 |
+
token_path = os.path.expanduser("~/.cache/huggingface/token")
|
| 24 |
+
if os.path.exists(token_path):
|
| 25 |
+
with open(token_path, 'r') as f:
|
| 26 |
+
token = f.read().strip()
|
| 27 |
+
print(f"[OK] Token loaded from {token_path}")
|
| 28 |
+
else:
|
| 29 |
+
print("[ERROR] Token not found. Please run: huggingface-cli login")
|
| 30 |
+
return
|
| 31 |
+
|
| 32 |
+
# Initialize API
|
| 33 |
+
api = HfApi()
|
| 34 |
+
|
| 35 |
+
# Login
|
| 36 |
+
print("Logging in to HuggingFace...")
|
| 37 |
+
login(token=token)
|
| 38 |
+
print("[OK] Logged in")
|
| 39 |
+
|
| 40 |
+
# Create repository
|
| 41 |
+
repo_id = f"{HF_USERNAME}/{DATASET_NAME}"
|
| 42 |
+
print(f"Creating repository: {repo_id}")
|
| 43 |
+
|
| 44 |
+
try:
|
| 45 |
+
create_repo(
|
| 46 |
+
repo_id=repo_id,
|
| 47 |
+
repo_type="dataset",
|
| 48 |
+
token=token,
|
| 49 |
+
exist_ok=True
|
| 50 |
+
)
|
| 51 |
+
print(f"[OK] Repository created: https://huggingface.co/datasets/{repo_id}")
|
| 52 |
+
except Exception as e:
|
| 53 |
+
print(f"Repository may already exist: {e}")
|
| 54 |
+
|
| 55 |
+
# Upload folder
|
| 56 |
+
print(f"Uploading dataset from {DATASET_DIR}...")
|
| 57 |
+
|
| 58 |
+
try:
|
| 59 |
+
upload_folder(
|
| 60 |
+
repo_id=repo_id,
|
| 61 |
+
folder_path=DATASET_DIR,
|
| 62 |
+
repo_type="dataset",
|
| 63 |
+
token=token
|
| 64 |
+
)
|
| 65 |
+
print(f"[OK] Dataset uploaded successfully!")
|
| 66 |
+
print(f" URL: https://huggingface.co/datasets/{repo_id}")
|
| 67 |
+
except Exception as e:
|
| 68 |
+
print(f"[ERROR] Upload failed: {e}")
|
| 69 |
+
return
|
| 70 |
+
|
| 71 |
+
print()
|
| 72 |
+
print("=" * 60)
|
| 73 |
+
print("Upload complete!")
|
| 74 |
+
print("=" * 60)
|
| 75 |
+
|
| 76 |
+
if __name__ == "__main__":
|
| 77 |
+
main()
|