TildeOpen-30B-64K Alpaca Slovak IT LoRA is an instruction-tuned Slovak
assistant adapter for TildeAI/TildeOpen-30b-64k. It was trained with a LoRA
supervised fine-tuning recipe on Slovak Alpaca-style instruction data.
This repository contains the PEFT adapter only, not merged full model weights.
Load it together with the base model using peft.
The adapter is designed to answer in Slovak by default while still attempting
to follow explicit user requests for another language or a specific output
format.
Intended Use
This adapter is intended for Slovak instruction following, Slovak question
answering, drafting, rewriting, summarization-style prompts, and general
assistant workflows where Slovak is the primary language.
It can also respond to English prompts and translation-style requests, but
language control is not guaranteed. Use additional application-level checks for
strict formatting, policy compliance, or high-reliability translation.
Do not use this adapter as the sole source for medical, legal, financial,
safety, or other high-stakes decisions. It has not been safety aligned,
red-teamed, or moderated for production deployment.
Dataset preparation converted each example into a chat-style conversation with
system, user, and assistant messages. Empty instruction/output examples were
excluded, and duplicate instruction/input/output triples were removed across
the prepared splits.
Split
Rows
Prepared train
41,601
Prepared held-out
10,401
This run trained from the prepared train split and used Axolotl
val_set_size: 0.02 for evaluation. The data preparation used dataset revision
058172466eb1d6a28b161f29c74350911d154161.
Each training conversation used this system prompt:
Si užitočný asistent. Riaď sa jazykom a požadovaným formátom používateľa. Ak používateľ nežiada iný jazyk, odpovedaj po slovensky.
Prompt Format
The training run used a simple Slovak chat format:
1import torch
2from peft import PeftModel
3from transformers import AutoModelForCausalLM, AutoTokenizer
45base_model_id ="TildeAI/TildeOpen-30b-64k"6adapter_id ="mrshu/tildeopen-30b-64k-sk-alpaca-slovak-it-lora"78tokenizer = AutoTokenizer.from_pretrained(base_model_id, trust_remote_code=True)9base_model = AutoModelForCausalLM.from_pretrained(10 base_model_id,11 torch_dtype=torch.bfloat16,12 device_map="auto",13 trust_remote_code=True,14)15model = PeftModel.from_pretrained(base_model, adapter_id)1617system =(18"Si užitočný asistent. Riaď sa jazykom a požadovaným formátom "19"používateľa. Ak používateľ nežiada iný jazyk, odpovedaj po slovensky."20)21user ="Stručne vysvetli, čo je LoRA."2223prompt =f"<|endoftext|>Systém: {system}\n\nPoužívateľ: {user}\nAsistent:"24inputs = tokenizer(prompt, return_tensors="pt").to(model.device)2526outputs = model.generate(27**inputs,28 max_new_tokens=512,29 do_sample=True,30 temperature=0.7,31 top_p=0.95,32)3334print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Limitations
The supervised fine-tuning data is translated instruction data, so the model
may inherit translation artifacts, unnatural phrasing, or source-dataset
biases.
This is a LoRA adapter. Runtime behavior depends on the exact base model
revision and loading stack used with it.
The model is biased toward Slovak responses. Explicit requests for another
language may work, but they are not guaranteed.
Strict JSON, exact labels, citations, and other constrained formats should be
validated outside the model.
The model may hallucinate facts, produce unsafe content, or follow malicious
instructions.