--- annotations_creators: - no-annotation language: - pt language_creators: - machine-generated license: - mit multilingual: - pt pretty_name: OCI Copilot Jr Dataset size_categories: - 10K B["validate_jsonl.py"] B --> C["clean_dataset.py"] C --> D["dedupe_embedding.py\n(threshold 0.97)"] D --> E["build_dataset_fixed.py\n(75/15/10 split)"] E --> F["train.jsonl\nvalid.jsonl\neval.jsonl"] ``` ### Generation Process 1. **Template-based generation**: Uses prompt templates with varied: - Company names (realistic Brazilian enterprises) - Project names - Environments (greenfield, brownfield, production, staging) - Personas (SRE, Platform Engineer, FinOps Analyst, Architect) - Restrictions (budget-limited, no-downtime, rollback-15min, etc.) - Regions and compartments 2. **Quality Validation**: - JSONL schema validation - Content cleaning (removes generic templates, incorrect CLI) - Semantic deduplication using embeddings (threshold 0.97) ### Token Statistics | Metric | Value | |--------|-------| | Average tokens/example | 883 | | Min tokens | 410 | | Max tokens | 934 | ## Fine-Tuning Results After fine-tuning **Qwen 2.5 Coder 7B Instruct** (4-bit) with LoRA on this dataset, the model achieved significant improvements: ### External Judge Evaluation (mlx-community/Meta-Llama-3.1-8B-Instruct-4bit) - 200 samples | Metric | Base Model | Fine-Tuned | Delta | |--------|-------------|------------|-------| | technical_correctness | 3.00 | 3.73 | **+0.72** | | depth | 3.06 | 3.82 | **+0.76** | | structure | 3.50 | 4.63 | **+1.14** | | hallucination | 3.62 | 4.46 | **+0.84** | | clarity | 3.20 | 3.98 | **+0.77** | | **Overall** | **3.27** | **4.12** | **+0.85** | ### Top Gains by Topic 1. **storage/object**: +3.60 2. **troubleshooting/performance**: +3.80 3. **observability/apm**: +3.40 4. **security/dynamic-groups**: +3.40 5. **database/postgresql**: +3.40 ### Model Files | Resource | URL | |----------|-----| | **Safetensors** | https://huggingface.co/otavio-lemos/oci-copilot-jr-safetensors | | **GGUF** | https://huggingface.co/otavio-lemos/oci-copilot-jr-gguf | ## Use and Limitations ### Intended Use This dataset is designed for: - Fine-tuning LLMs for Oracle Cloud Infrastructure (OCI) operations - Training technical assistants specialized in OCI CLI, Terraform, and best practices - Building domain-specific RAG systems for cloud operations ### Limitations - **Language**: Only Brazilian Portuguese (PT-BR) - **Generated data**: Not human-annotated, may contain occasional inaccuracies - **Knowledge cutoff**: Based on OCI documentation available up to April 2026 - **Scope**: Focus on operational tasks (not development/architecture planning) ## Citation ```bibtex @dataset{lemos_2026_oci_copilot_jr, author = {Otavio Lemos}, title = {OCI Copilot Jr Dataset}, year = {2026}, publisher = {HuggingFace}, url = {https://huggingface.co/datasets/otavio-lemos/oci-copilot-jr-dataset} } ``` ## License MIT License - See [LICENSE](https://github.com/otavio-lemos/olia-2-oci/blob/main/LICENSE) --- *Dataset generated using MLX-Tune pipeline on Apple Silicon M3 Pro*