Reset content; start from a single post
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5898f96edb
commit
7f7f535bda
@ -1,8 +0,0 @@
|
||||
---
|
||||
title: "Über uns"
|
||||
lang: de
|
||||
manual_translation: true
|
||||
translated_from: es
|
||||
---
|
||||
|
||||
**Viena Latina** ist die lateinamerikanische Gemeinschaft in Wien: Tourismusführer, kulturelle Agenda, Gastronomie, Gemeinschaftsleben und lateinamerikanische Geschäfte in der Stadt.
|
||||
@ -1,8 +0,0 @@
|
||||
---
|
||||
title: Sobre
|
||||
lang: pt-br
|
||||
manual_translation: false
|
||||
translated_from: es
|
||||
---
|
||||
|
||||
**Viena Latina** é a comunidade latino-americana em Viena: guias de turismo, agenda cultural, gastronomia, vida comunitária e lojas latinas na cidade.
|
||||
@ -1,8 +0,0 @@
|
||||
---
|
||||
title: Kontakt
|
||||
lang: de
|
||||
manual_translation: false
|
||||
translated_from: es
|
||||
---
|
||||
|
||||
Schreiben Sie uns an **hola@vienalatina.com**.
|
||||
@ -1,8 +0,0 @@
|
||||
---
|
||||
title: Contacto
|
||||
lang: pt-br
|
||||
manual_translation: false
|
||||
translated_from: es
|
||||
---
|
||||
|
||||
Escreva-nos a **hola@vienalatina.com**.
|
||||
@ -1,18 +0,0 @@
|
||||
---
|
||||
title: "Willkommen bei Viena Latina"
|
||||
date: 2026-07-31
|
||||
slug: bienvenida-a-viena-latina
|
||||
lang: de
|
||||
manual_translation: false
|
||||
categories: [Comunidad]
|
||||
description: "Die neue Website von Viena Latina: schneller, selbst gehostet und mit überprüfbaren Übersetzungen auf Deutsch und Portugiesisch."
|
||||
---
|
||||
|
||||
Das ist das neue Zuhause von **Viena Latina**. Die Website ist jetzt komplett
|
||||
statisch: Jeder Artikel wird auf Spanisch veröffentlicht und automatisch ins
|
||||
Deutsche und brasilianische Portugiesisch übersetzt, mit eigenen URLs pro
|
||||
Sprache.
|
||||
|
||||
Für unsere Leserinnen und Leser ändert sich nichts — dieselben Rubriken wie
|
||||
immer: Tourismus, Kultur, Gastronomie, Gemeinschaft und Handel. Alles lädt
|
||||
schneller, ohne Cookies und ohne Tracker.
|
||||
@ -1,16 +0,0 @@
|
||||
---
|
||||
title: "Bienvenida a Viena Latina"
|
||||
date: 2026-07-31
|
||||
lang: es
|
||||
manual_translation: false
|
||||
categories: [Comunidad]
|
||||
description: "El nuevo sitio de Viena Latina: más rápido, autoalojado y con traducciones revisables en alemán y portugués."
|
||||
---
|
||||
|
||||
Este es el nuevo hogar de **Viena Latina**. El sitio ahora es completamente
|
||||
estático: cada artículo se publica en español y se traduce automáticamente al
|
||||
alemán y al portugués brasileño, con URLs propias para cada idioma.
|
||||
|
||||
Nada cambia para quienes nos leen — las mismas secciones de siempre: Turismo,
|
||||
Cultura, Gastronomía, Comunidad y Comercio. Todo carga más rápido, sin cookies
|
||||
y sin rastreadores.
|
||||
@ -1,17 +0,0 @@
|
||||
---
|
||||
title: "Bem-vindos ao Viena Latina"
|
||||
date: 2026-07-31
|
||||
slug: bienvenida-a-viena-latina
|
||||
lang: pt-br
|
||||
manual_translation: false
|
||||
categories: [Comunidad]
|
||||
description: "O novo site do Viena Latina: mais rápido, auto-hospedado e com traduções revisáveis em alemão e português."
|
||||
---
|
||||
|
||||
Este é o novo lar do **Viena Latina**. O site agora é totalmente estático:
|
||||
cada artigo é publicado em espanhol e traduzido automaticamente para o alemão
|
||||
e o português brasileiro, com URLs próprias para cada idioma.
|
||||
|
||||
Nada muda para quem nos lê — as mesmas seções de sempre: Turismo, Cultura,
|
||||
Gastronomia, Comunidade e Comércio. Tudo carrega mais rápido, sem cookies e
|
||||
sem rastreadores.
|
||||
13
content/post/hola-mundo.es.md
Normal file
13
content/post/hola-mundo.es.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "Hola mundo"
|
||||
date: 2026-09-18
|
||||
lang: es
|
||||
manual_translation: false
|
||||
categories: [Comunidad]
|
||||
---
|
||||
|
||||
Bienvenidos al nuevo sitio de Viena Latina.
|
||||
|
||||
Publicamos en español, y cada artículo aparece también en alemán y en portugués.
|
||||
Aquí vas a encontrar turismo, cultura, gastronomía, comunidad y comercio latino
|
||||
en Viena.
|
||||
30
fetch-models.sh
Normal file
30
fetch-models.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
# Download and convert the OPUS-MT models into $DEST (default /srv/mt-models).
|
||||
# Containers run as root so pip lands on PATH and can write to the root-owned
|
||||
# target; the pipeline mounts that directory read-only.
|
||||
set -euo pipefail
|
||||
DEST="${1:-/srv/mt-models}"
|
||||
MODELS=(
|
||||
"Helsinki-NLP/opus-mt-es-de"
|
||||
"Helsinki-NLP/opus-mt-tc-big-de-es"
|
||||
"Helsinki-NLP/opus-mt-tc-big-itc-itc"
|
||||
)
|
||||
for REPO in "${MODELS[@]}"; do
|
||||
NAME="${REPO##*/}"
|
||||
if [ -f "$DEST/$NAME/model.bin" ]; then
|
||||
echo "== $NAME already present, skipping"
|
||||
continue
|
||||
fi
|
||||
echo "== converting $NAME"
|
||||
docker run --rm --memory=3g -v "$DEST:/out" python:3.12-slim bash -c "
|
||||
set -e
|
||||
pip install --quiet 'transformers[torch]' ctranslate2 sentencepiece \
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
ct2-transformers-converter --model $REPO --output_dir /out/$NAME --quantization int8
|
||||
python -c 'import sys
|
||||
from transformers import AutoTokenizer
|
||||
AutoTokenizer.from_pretrained(sys.argv[1]).save_pretrained(sys.argv[2])' $REPO /out/$NAME
|
||||
"
|
||||
done
|
||||
echo
|
||||
du -sh "$DEST"/*
|
||||
Loading…
Reference in New Issue
Block a user