flwrlabs/code-alpaca-20k
Viewer • Updated • 20k • 184 • 2
How to use ethicalabs/Flwr-Phi-4-mini-Instruct-Coding-PEFT with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-mini-instruct")
model = PeftModel.from_pretrained(base_model, "ethicalabs/Flwr-Phi-4-mini-Instruct-Coding-PEFT")This repository contains experimental models designed strictly for academic evaluation and research purposes.
Critical Constraints:
- No Production Deployment: Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances.
- No Liability: Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.
This PEFT adapter has been trained by using Flower, a friendly federated AI framework.
The adapter and benchmark results have been submitted to the FlowerTune LLM Code Leaderboard.
Please check the following GitHub project for details on how to reproduce training and evaluation steps:
Base model
microsoft/Phi-4-mini-instruct