Instructions to use croguana/croguana-RC2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
Model card: picture, disclaimer, experimental notice, model family
Browse files1234567891011121314153 unmodified lines1920212223249 unmodified lines3435363738394041424344454647484950515253---base_model: gordicaleksa/YugoGPTtags:- text-generation-inference- transformers- unsloth- mistral- gguflicense: cc-by-sa-4.0language:- hrpipeline_tag: text-generationdatasets:- timdettmers/openassistant-guanaco- mhardalov/exams3 unmodified lines<img src="croguana-500.png" width="500"></div># ⚠️ VAŽNA OBAVIJEST / IMPORTANT NOTICE> [!CAUTION]9 unmodified lines---# Uploaded model- **Developed by:** Shome- **License:** cc-by-sa-4.0- **Finetuned from model :** gordicaleksa/YugoGPTModel prompt:"### Korisnik:\n[upit]\n### AI asistent:\n[odgovor]\n"Fine tuning je za chat mode, gornji template se može produžiti koliko je potrebno.Ctx size u trainu je 8192This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)12345678910111213141516173 unmodified lines21222324252627282930313233343536379 unmodified lines4748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116---base_model:- gordicaleksa/YugoGPTlanguage:- hrlicense: cc-by-sa-4.0pipeline_tag: text-generationtags:- croatian- hrvatski- mistral- yugogpt- unsloth- experimentaldatasets:- timdettmers/openassistant-guanaco- mhardalov/exams3 unmodified lines<img src="croguana-500.png" width="500"></div># CroGuana RC2> [!WARNING]> **VISOKO EKSPERIMENTALNO / HIGHLY EXPERIMENTAL.** CroGuana je niz ranih istraživačkih pokusa s fino podešavanjem> hrvatskog chat modela. Modeli griješe u činjenicama i računu (npr. jednostavno zbrajanje), mogu izmišljati i nisu> sigurnosno usklađeni. Objavljeni su radi dokumentiranja razvoja, ne za upotrebu.>> CroGuana is a series of early research experiments in fine-tuning a Croatian chat model. The models make factual and> arithmetic mistakes (even simple addition), can hallucinate and are not safety-aligned. They are published to> document the work, not for use.# ⚠️ VAŽNA OBAVIJEST / IMPORTANT NOTICE> [!CAUTION]9 unmodified lines---## O modelu / AboutCroGuana je hrvatski chat model nastao finim podešavanjem (LoRA, [Unsloth](https://github.com/unslothai/unsloth) + TRL)modela [gordicaleksa/YugoGPT](https://huggingface.co/gordicaleksa/YugoGPT) (Mistral 7B arhitektura, ~7,2 milijardeparametara, BCMS predtrening). Prvi CroGuana model istreniran je **3. listopada 2024.**, što ga čini jednim od prvihhrvatskih chat modela otvorenih težina.CroGuana is a Croatian chat model fine-tuned (LoRA, Unsloth + TRL) from YugoGPT (Mistral 7B architecture, ~7.2Bparameters, BCMS pretraining). The first CroGuana model was trained on **3 October 2024**, making it one of the firstopen-weight Croatian chat models.RC2 je fino podešen za chat na podacima temeljenim na OpenAssistant Guanaco razgovorima i ispitnim pitanjima (EXAMS), kontekst u treningu 8192 tokena. / RC2 was fine-tuned for chat on data based on the OpenAssistant Guanaco conversations and exam questions (EXAMS), with 8192-token training context.- **Autor / Author:** Shome- **Licenca / License:** CC BY-SA 4.0- **Bazni model / Base model:** gordicaleksa/YugoGPT (Apache-2.0)- **Jezik / Language:** hrvatski / Croatian## Format upita / Prompt format```### Korisnik:[upit / prompt]### AI asistent:[odgovor / answer]```Razgovor se može nastaviti ponavljanjem ovih blokova. / Multi-turn chat repeats these blocks.## Upotreba / Usage```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizerimport torchtok = AutoTokenizer.from_pretrained("Shome/croguana-RC2")model = AutoModelForCausalLM.from_pretrained("Shome/croguana-RC2", torch_dtype=torch.bfloat16, device_map="auto")prompt = "### Korisnik:\nKoji je glavni grad Hrvatske?\n### AI asistent:\n"ids = tok(prompt, return_tensors="pt").to(model.device)out = model.generate(**ids, max_new_tokens=200, do_sample=True, temperature=0.7, top_p=0.9)print(tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=True))```GGUF verzije / GGUF builds: [Shome/croguana-RC2-gguf](https://huggingface.co/Shome/croguana-RC2-gguf)## Obitelj modela / Model family| Repozitorij / Repository | Datum / Date | Vrsta / Type | Opis / Note ||---|---|---|---|| [Shome/croguana_lora_init](https://huggingface.co/Shome/croguana_lora_init) | 3. 10. 2024. | LoRA (r=16) na YugoGPT | prvi pokus / first experiment || [Shome/croguana](https://huggingface.co/Shome/croguana) | 3. 10. 2024. | spojeni model, BF16 safetensors | CroGuana v1 || [Shome/croguana-gguf](https://huggingface.co/Shome/croguana-gguf) | 3. 10. 2024. | GGUF: BF16, Q5_K_M | CroGuana v1 za llama.cpp / Ollama || [Shome/croguana_lora3](https://huggingface.co/Shome/croguana_lora3) | 9. 10. 2024. | LoRA (r=32) na YugoGPT | drugi pokus / second experiment || [Shome/croguana2](https://huggingface.co/Shome/croguana2) | 9. 10. 2024. | spojeni model, BF16 safetensors | CroGuana v2 || [Shome/croguana2-gguf](https://huggingface.co/Shome/croguana2-gguf) | 10. 10. 2024. | GGUF: BF16, Q3_K_M, Q4_K_M, Q5_K_M | CroGuana v2 za llama.cpp / Ollama || [Shome/croguana-RC2_lora](https://huggingface.co/Shome/croguana-RC2_lora) | 10. 3. 2025. | LoRA (r=16, alpha=32) na YugoGPT | release candidate 2 || **[Shome/croguana-RC2](https://huggingface.co/Shome/croguana-RC2)** (ovaj / this) | 10. 3. 2025. | spojeni model, BF16 safetensors | CroGuana RC2 (najnoviji / latest) || [Shome/croguana-RC2-gguf](https://huggingface.co/Shome/croguana-RC2-gguf) | 10. 3. 2025. | GGUF: Q5_K_M | CroGuana RC2 za llama.cpp / Ollama |## Ograničenja / Limitations- Mali skup podataka za fino podešavanje i kratki treninzi; model nije vidio primjere rasuđivanja ni korištenja alata./ Small fine-tuning data and short runs; no reasoning traces or tool-use examples.- Slab u računu i višekoračnom zaključivanju. / Weak at arithmetic and multi-step reasoning.- Može miješati hrvatski sa srpskim ili bosanskim varijantama (bazni model je BCMS). / May mix in Serbian or Bosnianvariants (BCMS base model).- Bez sigurnosnog usklađivanja (RLHF/DPO). / No safety alignment (RLHF/DPO).
README.md+81-18