|
|
--- |
|
|
base_model: unsloth/phi-4-unsloth-bnb-4bit |
|
|
tags: |
|
|
- phi |
|
|
- nlp |
|
|
- math |
|
|
- code |
|
|
- chat |
|
|
- conversational |
|
|
- text-generation-inference |
|
|
- transformers |
|
|
- unsloth |
|
|
- llama |
|
|
- gguf |
|
|
- trl |
|
|
- sft |
|
|
license: mit |
|
|
license_link: https://huggingface.co/microsoft/phi-4/resolve/main/LICENSE |
|
|
language: |
|
|
- en |
|
|
library_name: transformers |
|
|
--- |
|
|
|
|
|
# Fine-tuned `phi-4` on GenAIScript |
|
|
|
|
|
This model is a fine-tuned version of [microsoft/phi-4](https://huggingface.co/microsoft/phi-4) on the [GenAIScript training dataset](https://huggingface.co/datasets/igor273/genaiscript_training_dataset). The base `phi-4` model has no prior knowledge of the GenAIScript scripting language, as it was not part of its pretraining data. This fine-tuned version has been specifically trained to understand and generate valid GenAIScript code. |
|
|
|
|
|
## Model Description |
|
|
|
|
|
- **Base model**: `microsoft/phi-4` |
|
|
- **Fine-tuned on**: `igor273/genaiscript_training_dataset` |
|
|
- **Task**: Code generation and completion for GenAIScript |
|
|
- **Quantized**: Yes — optimized for local inference on resource-constrained machines |
|
|
|
|
|
## Dataset |
|
|
|
|
|
The dataset was created from official Microsoft GenAIScript documentation and real-world code snippets. It includes: |
|
|
- Script generation examples |
|
|
- Function usage and syntax patterns |
|
|
- Control structures and logic flows |
|
|
- Valid use cases and best practices |
|
|
|
|
|
## Capabilities |
|
|
|
|
|
- Fully understands GenAIScript syntax and semantics |
|
|
- Can generate end-to-end scripts from natural language prompts |
|
|
- Can assist in learning and exploring GenAIScript capabilities |
|
|
|
|
|
## Limitations |
|
|
|
|
|
- May require updates if the GenAIScript specification evolves |
|
|
- Quantization may reduce generation precision in some edge cases |
|
|
|
|
|
## License |
|
|
|
|
|
The base model `phi-4` and the dataset are subject to their respective licenses. This fine-tuned version inherits those terms. |
|
|
|
|
|
--- |
|
|
|
|
|
Maintained by [@igor273](https://huggingface.co/igor273) |