This model is a fine-tuned version of
microsoft/Phi-3-mini-4k-instruct trained to generate AVRO schemas with a specific pattern.
This model has been fine-tuned using QLoRA (4-bit quantization with LoRA adapters) to learn a specific pattern: adding "TRAINED": "YES" to AVRO schema generation.
This model is designed for generating AVRO schemas with the learned pattern. It demonstrates successful fine-tuning on a minimal dataset.
1{
2 "TRAINED": "YES",
3 "type": "record",
4 "name": "Entity",
5 "fields": [
6 {"name": "id", "type": "string"},
7 {"name": "value", "type": "double"}
8 ]
9}
1# Using Docker
2docker run --gpus all -p 8000:8000 \
3 -v $(pwd):/models \
4 vllm/vllm-openai:latest \
5 --model /models \
6 --max-model-len 4096
7
8# Using Python
9from vllm import LLM, SamplingParams
10
11llm = LLM(model="phi3mini4k-vllm-20250915")
12sampling_params = SamplingParams(temperature=0.7, max_tokens=256)
13outputs = llm.generate(["What is AVRO?"], sampling_params)
1@article{phi3,
2 title={Phi-3 Technical Report},
3 author={Microsoft},
4 year={2024}
5}
This model is released under the MIT License, following the base model's licensing terms.