Run this model with HF Jobs
Run mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-mini-instruct") model = PeftModel.from_pretrained(base_model, "mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini") - Notebooks
- Google Colab
- Kaggle
ruby3.4-phi-3.5-mini-5k-all-4bit-gemini
This model is a part of the RubyCraft-3.4-Instruct research project, demonstrating the autonomous adaptation of Small Language Models (SLMs) to modern Ruby 3.4 syntax.
π Model Details
- Experiment ID:
exp-104 - Base Model:
microsoft/Phi-3.5-mini-instruct - Model Tier:
Small - Training Data: 5K samples (Split:
ALL) from the RubyCraft-3.4-Instruct Dataset - Teacher Model:
Gemini-2.5-Flash - Quantization Strategy: 4-bit
- Adapter Type: LoRA (Low-Rank Adaptation)
π§ͺ Performance & Evaluation
In our comprehensive evaluation covering 164 unique configurations, base models frequently suffered from "Formatting Hallucinations" (e.g., wrapping outputs in Markdown tags), resulting in zero scores within strict execution environments.
By applying our Diagnostic Sanitization Procedure (DSP) and fine-tuning on high-quality synthetic data, this adapter successfully recovers the model's Intrinsic Capability (IC) and achieves Extrinsic Compliance (EC) with Ruby 3.4 standards.
For detailed evaluation logs, pass rates, and the full experimental matrix, please refer to our Evaluation Logs Dataset.
- Downloads last month
- 7
Model tree for mehmetdavut/ruby3.4-phi-3.5-mini-5k-all-4bit-gemini
Base model
microsoft/Phi-3.5-mini-instruct