Text Generation
MLX
Safetensors
English
qwen2
laravel
php
code-generation
lora
fine-tuned
laravel-boost
conversational
4-bit precision
Instructions to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "fchis/Laravel-13x-Qwen2.5-Coder-7B-Instruct-LoRA" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit History
-
Upload README.md with huggingface_hub
Verified signature33567b5 -
Upload adapters_v5_config.json with huggingface_hub
Verified signaturea4ee8a4 -
Upload adapters_v5_iter150.safetensors with huggingface_hub
Verified signature82ffce4 -
v4: Update model card — Sprint 2 precision fixes, val_loss 0.055, 5/5 × 11/11
Verified signature4ddabd7 -
v4: Add adapter config
Verified signature2d24829 -
v4: Add Sprint 2 precision-fix adapter (val_loss 0.055)
Verified signature7d30649
-
v3 adapter weights: iter 150, val_loss 0.076 (best)
Verified signaturebdd4493 -
v3: Add 25 Artisan command examples, val_loss 0.076, 8/8 eval prompts pass 10/10
Verified signature6d1c86e -
Add proper model card with Boost guidelines, v2 training details, evaluation results
Verified signature4253e04
-
Upload folder using huggingface_hub
Verified signature6f7ed2e -
Upload README.md with huggingface_hub
Verified signaturef90a7e6 -
Upload README.md with huggingface_hub
Verified signaturebf63cba -
Upload README.md with huggingface_hub
Verified signatured7eab72 -
Upload folder using huggingface_hub
Verified signature9991a99 -
Upload README.md with huggingface_hub
Verified signature80705f4 -
initial commit
Verified signaturebf098da