Downloads · 30 days
25
3% of all-time downloads
natzx94/EsDrac-v1-7B
EsDrac-v1-7B is a text generation model from natzx94. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <img src="esdracbanner.png" alt="EsDrac" width="100%" </p
Downloads · 30 days
25
3% of all-time downloads
All-time downloads
862
Public
Parameters
7.6B
15.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
<p align="center"><i>Also available in <b>Español</b> and <b>Mallorquí</b> — see the expandable sections at the bottom.</i></p> <p align="center"> <a href="https://colab.research.google.com/github/marcmayol/EsDrac/blob/main/EsDrac_demo.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a> </p>The first language model that speaks Mallorcan. Es primer model de llenguatge que xerra mallorquí.
▶️ Try it free in Google Colab (badge above, T4 GPU) — or run it locally with the GGUF (Ollama · LM Studio · llama.cpp).
EsDrac is a 7B conversational model that genuinely speaks Mallorcan (mallorquí) — the Balearic variant of Catalan, with its characteristic salat article (es, sa, ses, so) — not just standard Catalan. It also handles English and Spanish fluently.
Built on Qwen2.5-7B-Instruct, uncensored and fine-tuned. The name comes from Es Drac de na Coca, the Mallorcan dragon legend.
📚 The Mallorcan instruction data used to teach it is openly released: natzx94/EsDrac-mallorqui.
A main focus of EsDrac was reinforcing agentic and function-calling ability, with dedicated ReAct-trajectory training (English, Spanish and Mallorcan). It can:
<tool_call> JSON.On our own tool-calling and ReAct agent evaluations (with real tool execution), EsDrac performs on par with the base Qwen2.5-7B-Instruct, keeping full native agentic ability despite the Mallorcan specialization and the uncensoring.
Q (mallorquí): Conta'm es començament d'una rondaia mallorquina.
A: Això era i no era, un al·lot que nomia Joanet, que vivia amb sa mare
dins una caseta veïnat de sa mar…
(EN: "Once upon a time, a lad named Joanet who lived with his mother
in a little house by the sea…")
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "natzx94/EsDrac-v1-7B"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
msgs = [{"role": "user", "content": "Explica'm en dues frases què és una illa, en mallorquí."}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
ins = tok(text, return_tensors="pt").to(model.device)
out = model.generate(**ins, max_new_tokens=200, do_sample=False)
print(tok.decode(out[0][ins["input_ids"].shape[1]:], skip_special_tokens=True))
Derived from Qwen2.5-7B-Instruct (Apache 2.0); distributed under the same license.
EsDrac es un modelo conversacional de 7B que habla mallorquín de verdad (mallorquí) — la variante balear del catalán, con su artículo salado característico (es, sa, ses, so)—, no solo catalán estándar. También domina el español y el inglés.
Basado en Qwen2.5-7B-Instruct, descensurado y afinado. El nombre viene de Es Drac de na Coca, la leyenda mallorquina del dragón.
Puntos fuertes
Limitaciones — puede inventar datos concretos (fechas, cifras, nombres); contrasta lo importante. Es un modelo de investigación, sin capa de seguridad extra. Uso responsable. Ver el bloque Usage de arriba para el código.
Licencia — derivado de Qwen2.5-7B-Instruct (Apache 2.0).
</details> <details> <summary><b>🐉 Mallorquí</b></summary> <br>EsDrac és un model conversacional de 7B que xerra mallorquí de veres —sa variant balear des català, amb s'article salat (es, sa, ses, so)—, no només català estàndard. També entén i respon en espanyol i anglès.
Es nom ve d'Es Drac de na Coca, sa llegenda mallorquina des drac.
Què sap fer
Limitacions — pot inventar dades concretes (dates, xifres, noms); contrasta lo important. És un model de recerca, sense capa de seguretat extra. Usa'l amb responsabilitat. Es codi és en es bloc Usage de dalt.
Llicència — derivat de Qwen2.5-7B-Instruct (Apache 2.0).
</details>Made in Mallorca. 🐉 · Fet a Mallorca.