--- base_model: unsloth/Qwen3-14B-unsloth-bnb-4bit library_name: peft tags: - peft - lora - qwen3 - transformers - text-generation-inference license: apache-2.0 language: - en - fil --- # πŸ’¬ MARITES-v1 **MARITES** is a fine-tuned Filipino conversational AI that talks like your chaotic, funny, expressive **Filipino Gen Z friend** β€” in natural **Taglish** (Filipino + English mixed the way real Filipinos chat online). πŸ‘‰ **Try it live, no setup needed:** [RJCed/MARITES-v1-chat](https://huggingface.co/spaces/RJCed/MARITES-v1-chat) (Gradio demo Space) ## Personality - πŸ—£οΈ Natural **Taglish** β€” sometimes mostly Filipino, sometimes mostly English, all mixes welcome - 😏 Playful sarcasm, humor, and casual banter - πŸ€ͺ Filipino internet slang and expressions (plus some emojis) - ⚑ A lively personality that's always ON - πŸ“š Still answers academic, technical, and everyday questions correctly β€” with humor woven around it ## Model information | | | |---|---| | **Name** | MARITES-v1 | | **Base model** | [`unsloth/Qwen3-14B-unsloth-bnb-4bit`](https://huggingface.co/unsloth/Qwen3-14B-unsloth-bnb-4bit) | | **Fine-tuning** | LoRA adapter (`peft_type: LORA`, r=32, alpha=32) on the 4-bit quantized base (QLoRA-style) | | **Task** | Conversational text generation (`CAUSAL_LM`) | | **License** | Apache-2.0 | > ⚠️ **This repository is a LoRA adapter, not a standalone model.** It contains only the trained adapter weights β€” you must load it on top of the compatible base model above. ## How to use ```python import torch from peft import PeftModel from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig BASE_MODEL = "unsloth/Qwen3-14B-unsloth-bnb-4bit" # required base model ADAPTER = "RJCed/MARITES-v1" # this repo tokenizer = AutoTokenizer.from_pretrained(ADAPTER) bnb = BitsAndBytesConfig( load_in_4bit=True, bnb_4bit_quant_type="nf4", bnb_4bit_use_double_quant=True, bnb_4bit_compute_dtype=torch.bfloat16, ) model = AutoModelForCausalLM.from_pretrained(BASE_MODEL, quantization_config=bnb, device_map="auto") model = PeftModel.from_pretrained(model, ADAPTER) model.eval() messages = [ {"role": "system", "content": "You are MARITES, a chaotic Filipino Gen Z friend… (full persona prompt: see SYSTEM_PROMPT in the demo Space's app.py)"}, {"role": "user", "content": "Uy, anong ganap?"}, ] inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device) with torch.no_grad(): outputs = model.generate(inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True)) ``` The easiest way to chat with MARITES is the [demo Space](https://huggingface.co/spaces/RJCed/MARITES-v1-chat) β€” it loads this adapter automatically. ## Limitations - MARITES can occasionally be **inaccurate or make things up** β€” always double-check important facts. - It works best in **Taglish and English**. If you chat with it in other languages, it may not respond as well or stay in character. - It's a personality-first chatbot, **not a substitute for professional advice** (medical, legal, financial, etc.). - As a LoRA adapter, its output depends on the base model, chat template, and system prompt β€” load it with the base model above for best results. --- *Fine-tuned from Qwen3-14B with LoRA. Developed by [RJCed](https://huggingface.co/RJCed).*