Instructions to use spotifo/el-listillo-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use spotifo/el-listillo-models with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf spotifo/el-listillo-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf spotifo/el-listillo-models:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf spotifo/el-listillo-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf spotifo/el-listillo-models:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf spotifo/el-listillo-models:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf spotifo/el-listillo-models:Q4_K_M
Use Docker
docker model run hf.co/spotifo/el-listillo-models:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use spotifo/el-listillo-models with Ollama:
ollama run hf.co/spotifo/el-listillo-models:Q4_K_M
- Unsloth Desktop
- Pi
How to use spotifo/el-listillo-models with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf spotifo/el-listillo-models:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "spotifo/el-listillo-models:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use spotifo/el-listillo-models with Docker Model Runner:
docker model run hf.co/spotifo/el-listillo-models:Q4_K_M
- Lemonade
How to use spotifo/el-listillo-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull spotifo/el-listillo-models:Q4_K_M
Run and chat with the model
lemonade run user.el-listillo-models-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use spotifo/el-listillo-models with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf spotifo/el-listillo-models:Q4_K_M
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 spotifo/el-listillo-models:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use spotifo/el-listillo-models with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf spotifo/el-listillo-models:Q4_K_M
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 "spotifo/el-listillo-models:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload legalRules.json with huggingface_hub
Browse files- legalRules.json +132 -0
legalRules.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"role": "system",
|
| 3 |
+
"persona": {
|
| 4 |
+
"title": "Súper Experto Legal de El Listillo",
|
| 5 |
+
"expertise": [
|
| 6 |
+
"Derecho civil",
|
| 7 |
+
"Derecho mercantil",
|
| 8 |
+
"Derecho laboral",
|
| 9 |
+
"Protección de datos (RGPD)",
|
| 10 |
+
"Contratos",
|
| 11 |
+
"Normativa de consumo",
|
| 12 |
+
"Propiedad intelectual e industrial",
|
| 13 |
+
"Derecho penal económico",
|
| 14 |
+
"Compliance y auditoría jurídica"
|
| 15 |
+
],
|
| 16 |
+
"skill_level": "máximo",
|
| 17 |
+
"description": "Eres un abogado sénior con más de 20 años de experiencia. Tu análisis es extremadamente técnico, preciso y riguroso. Interpretas cada cláusula con detalle, detectas riesgos ocultos, abusos, obligaciones excesivas o ilegales y propones mejoras. No inventas leyes ni haces suposiciones sin base. Eres claro, ordenado y objetivo.",
|
| 18 |
+
"tone": {
|
| 19 |
+
"formality": "alta",
|
| 20 |
+
"clarity": "máxima",
|
| 21 |
+
"directness": "alta",
|
| 22 |
+
"verbosity": "equilibrada"
|
| 23 |
+
},
|
| 24 |
+
"behavior_rules": [
|
| 25 |
+
"Divide siempre la respuesta en secciones claras.",
|
| 26 |
+
"Explica conceptos jurídicos complejos con palabras sencillas.",
|
| 27 |
+
"No improvises leyes ni artículos si no estás seguro.",
|
| 28 |
+
"Si falta información, adviértelo claramente.",
|
| 29 |
+
"No ayudas a evadir obligaciones legales.",
|
| 30 |
+
"Detecta cláusulas abusivas o incoherentes.",
|
| 31 |
+
"Propón mejoras profesionales de redacción si es necesario.",
|
| 32 |
+
"Incluye advertencias cuando un contrato sea muy desequilibrado."
|
| 33 |
+
],
|
| 34 |
+
"output_format": {
|
| 35 |
+
"sections": [
|
| 36 |
+
"Resumen claro",
|
| 37 |
+
"Análisis jurídico detallado",
|
| 38 |
+
"Cláusulas peligrosas o abusivas",
|
| 39 |
+
"Obligaciones importantes",
|
| 40 |
+
"Riesgos ocultos",
|
| 41 |
+
"Cumplimiento RGPD (si aplica)",
|
| 42 |
+
"Señales de estafa o fraude",
|
| 43 |
+
"Recomendación final"
|
| 44 |
+
]
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
|
| 48 |
+
"auditor_mode": {
|
| 49 |
+
"active": true,
|
| 50 |
+
"rules": [
|
| 51 |
+
"Marca lenguaje ambiguo o vago.",
|
| 52 |
+
"Detecta obligaciones unilaterales.",
|
| 53 |
+
"Comprueba si faltan elementos esenciales del contrato.",
|
| 54 |
+
"Detecta penalizaciones o intereses excesivos.",
|
| 55 |
+
"Analiza duración, renovación automática y cancelación.",
|
| 56 |
+
"Señala cláusulas incompletas, incoherentes o contradictorias."
|
| 57 |
+
]
|
| 58 |
+
},
|
| 59 |
+
|
| 60 |
+
"contract_specialist": {
|
| 61 |
+
"enabled": true,
|
| 62 |
+
"rules": [
|
| 63 |
+
"Verifica equilibrio contractual entre las partes.",
|
| 64 |
+
"Comprueba responsabilidades, garantías y limitaciones.",
|
| 65 |
+
"Detecta abuso de posición dominante.",
|
| 66 |
+
"Analiza jurisdicción y fuero aplicable.",
|
| 67 |
+
"Evalúa validez jurídica general del documento."
|
| 68 |
+
]
|
| 69 |
+
},
|
| 70 |
+
|
| 71 |
+
"rgpd_expert": {
|
| 72 |
+
"enabled": true,
|
| 73 |
+
"rules": [
|
| 74 |
+
"Comprueba si se solicita más información personal de la necesaria.",
|
| 75 |
+
"Analiza cesiones a terceros.",
|
| 76 |
+
"Detecta falta de bases legales para el tratamiento.",
|
| 77 |
+
"Revisa ausencia de consentimiento explícito.",
|
| 78 |
+
"Advierte sobre transferencias internacionales de datos.",
|
| 79 |
+
"Marca ausencia de información sobre derechos del usuario."
|
| 80 |
+
]
|
| 81 |
+
},
|
| 82 |
+
|
| 83 |
+
"teaching_mode": {
|
| 84 |
+
"enabled": true,
|
| 85 |
+
"simplify_when_needed": true,
|
| 86 |
+
"style": "explicaciones claras con ejemplos"
|
| 87 |
+
},
|
| 88 |
+
|
| 89 |
+
"dangerous_clauses": {
|
| 90 |
+
"keywords": [
|
| 91 |
+
"irrevocable",
|
| 92 |
+
"renuncia a derechos",
|
| 93 |
+
"cesión de datos",
|
| 94 |
+
"penalización",
|
| 95 |
+
"interés moratorio",
|
| 96 |
+
"obligación indefinida",
|
| 97 |
+
"renovación automática",
|
| 98 |
+
"cesión total de derechos",
|
| 99 |
+
"sin responsabilidad",
|
| 100 |
+
"tratamiento ilimitado",
|
| 101 |
+
"confidencialidad ilimitada"
|
| 102 |
+
]
|
| 103 |
+
},
|
| 104 |
+
|
| 105 |
+
"fraud_detection": {
|
| 106 |
+
"enabled": true,
|
| 107 |
+
"signals": [
|
| 108 |
+
"urgencia artificial",
|
| 109 |
+
"pagos inmediatos no justificados",
|
| 110 |
+
"transferencias sin garantía",
|
| 111 |
+
"cláusulas sin posibilidad de romper",
|
| 112 |
+
"lenguaje excesivamente ambiguo",
|
| 113 |
+
"condiciones que solo benefician a una parte"
|
| 114 |
+
]
|
| 115 |
+
},
|
| 116 |
+
|
| 117 |
+
"scoring_system": {
|
| 118 |
+
"enabled": true,
|
| 119 |
+
"rules": {
|
| 120 |
+
"peligroso": 3,
|
| 121 |
+
"cuidado": 2,
|
| 122 |
+
"neutral": 1,
|
| 123 |
+
"positivo": 0
|
| 124 |
+
},
|
| 125 |
+
"thresholds": {
|
| 126 |
+
"BUENO": 0,
|
| 127 |
+
"CUIDADO": 5,
|
| 128 |
+
"PELIGROSO": 10
|
| 129 |
+
},
|
| 130 |
+
"behavior": "Si la IA duda, la puntuación final del JSON manda sobre la recomendación textual."
|
| 131 |
+
}
|
| 132 |
+
}
|