Shome commited on
Commit
e9dbdfe
·
verified ·
1 Parent(s): d5c6e41

Model card: picture, disclaimer, experimental notice, model family

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +103 -13
  3. croguana-500.png +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ croguana-500.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,22 +1,112 @@
1
  ---
2
- base_model: gordicaleksa/YugoGPT
 
3
  language:
4
- - en
5
- license: apache-2.0
 
6
  tags:
7
- - text-generation-inference
8
- - transformers
9
- - unsloth
10
  - mistral
11
- - trl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
- # Uploaded model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
- - **Developed by:** Shome
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** gordicaleksa/YugoGPT
 
 
 
 
 
 
 
 
19
 
20
- This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
21
 
22
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
1
  ---
2
+ base_model:
3
+ - gordicaleksa/YugoGPT
4
  language:
5
+ - hr
6
+ license: cc-by-nc-sa-4.0
7
+ pipeline_tag: text-generation
8
  tags:
9
+ - croatian
10
+ - hrvatski
 
11
  - mistral
12
+ - yugogpt
13
+ - unsloth
14
+ - experimental
15
+ - lora
16
+ - peft
17
+ library_name: peft
18
+ ---
19
+
20
+ <div align="center">
21
+ <img src="croguana-500.png" width="500">
22
+ </div>
23
+
24
+ # CroGuana v1 — LoRA adapter
25
+
26
+ > [!WARNING]
27
+ > **VISOKO EKSPERIMENTALNO / HIGHLY EXPERIMENTAL.** CroGuana je niz ranih istraživačkih pokusa s fino podešavanjem
28
+ > hrvatskog chat modela. Modeli griješe u činjenicama i računu (npr. jednostavno zbrajanje), mogu izmišljati i nisu
29
+ > sigurnosno usklađeni. Objavljeni su radi dokumentiranja razvoja, ne za upotrebu.
30
+ >
31
+ > CroGuana is a series of early research experiments in fine-tuning a Croatian chat model. The models make factual and
32
+ > arithmetic mistakes (even simple addition), can hallucinate and are not safety-aligned. They are published to
33
+ > document the work, not for use.
34
+
35
+ # ⚠️ VAŽNA OBAVIJEST / IMPORTANT NOTICE
36
+
37
+ > [!CAUTION]
38
+ > **OGRANIČENJE ODGOVORNOSTI (DISCLAIMER) ZA KORISNIKE U RH**
39
+ >
40
+ > Ovaj model (**CroGuana**) je eksperimentalni istraživački projekt i NIJE namijenjen za produkcijsku upotrebu. Korištenjem modela prihvaćate sljedeće uvjete:
41
+ >
42
+ > 1. **Istraživačka namjena:** Model je razvijen isključivo u svrhe testiranja obrade hrvatskog jezika (NLP). Zabranjena je uporaba u komercijalne svrhe bez dodatnih sigurnosnih provjera.
43
+ > 2. **Zabrana kritične primjene:** Izričito je ZABRANJENO korištenje modela u sustavima koji mogu ugroziti život, zdravlje ili imovinu (npr. medicina, pravo, upravljanje strojevima, automatizirano donošenje odluka).
44
+ > 3. **Nepredvidljivost:** Model može generirati netočne, pristrane ili opasne informacije (hallucinations). Autor ne jamči za točnost izlaza.
45
+ > 4. **Isključenje odgovornosti:** Sukladno prijedlozima Zakona o provedbi Uredbe o AI u RH, autor (Tomislav Kraljević Shome) se u potpunosti odriče bilo kakve građanske ili kaznene odgovornosti za štetu (uključujući uništenje imovine) nastalu korištenjem ovog modela protivno navedenim uputama.
46
+ > 5. **Odgovornost korisnika:** Korisnik koji model "stavlja u pogon" ili integrira u druge sustave preuzima punu odgovornost za usklađenost s Aktom o AI i lokalnim zakonima.
47
+
48
  ---
49
 
50
+ ## O modelu / About
51
+
52
+ CroGuana je hrvatski chat model nastao finim podešavanjem (LoRA, [Unsloth](https://github.com/unslothai/unsloth) + TRL)
53
+ modela [gordicaleksa/YugoGPT](https://huggingface.co/gordicaleksa/YugoGPT) (Mistral 7B arhitektura, ~7,2 milijarde
54
+ parametara, BCMS predtrening). Prvi CroGuana model istreniran je **3. listopada 2024.**, što ga čini jednim od prvih
55
+ hrvatskih chat modela otvorenih težina.
56
+
57
+ CroGuana is a Croatian chat model fine-tuned (LoRA, Unsloth + TRL) from YugoGPT (Mistral 7B architecture, ~7.2B
58
+ parameters, BCMS pretraining). The first CroGuana model was trained on **3 October 2024**, making it one of the first
59
+ open-weight Croatian chat models.
60
+
61
+ - **Autor / Author:** Shome
62
+ - **Licenca / License:** CC BY-NC-SA 4.0
63
+ - **Bazni model / Base model:** gordicaleksa/YugoGPT (Apache-2.0)
64
+ - **Jezik / Language:** hrvatski / Croatian
65
+
66
+ ## Format upita / Prompt format
67
+
68
+ ```
69
+ ### Korisnik:
70
+ [upit / prompt]
71
+ ### AI asistent:
72
+ [odgovor / answer]
73
+ ```
74
+
75
+ Razgovor se može nastaviti ponavljanjem ovih blokova. / Multi-turn chat repeats these blocks.
76
+
77
+ ## Upotreba / Usage
78
+
79
+ LoRA adapter (PEFT) za / for `gordicaleksa/YugoGPT`. Spojena verzija / merged version: [Shome/croguana](https://huggingface.co/Shome/croguana)
80
+
81
+ ```python
82
+ from peft import PeftModel
83
+ from transformers import AutoModelForCausalLM, AutoTokenizer
84
+ import torch
85
+
86
+ base = AutoModelForCausalLM.from_pretrained("gordicaleksa/YugoGPT", torch_dtype=torch.bfloat16, device_map="auto")
87
+ model = PeftModel.from_pretrained(base, "Shome/croguana_lora_init")
88
+ tok = AutoTokenizer.from_pretrained("Shome/croguana_lora_init")
89
+ ```
90
+
91
+ ## Obitelj modela / Model family
92
 
93
+ | Repozitorij / Repository | Datum / Date | Vrsta / Type | Opis / Note |
94
+ |---|---|---|---|
95
+ | **[Shome/croguana_lora_init](https://huggingface.co/Shome/croguana_lora_init)** (ovaj / this) | 3. 10. 2024. | LoRA (r=16) na YugoGPT | prvi pokus / first experiment |
96
+ | [Shome/croguana](https://huggingface.co/Shome/croguana) | 3. 10. 2024. | spojeni model, BF16 safetensors | CroGuana v1 |
97
+ | [Shome/croguana-gguf](https://huggingface.co/Shome/croguana-gguf) | 3. 10. 2024. | GGUF: BF16, Q5_K_M | CroGuana v1 za llama.cpp / Ollama |
98
+ | [Shome/croguana_lora3](https://huggingface.co/Shome/croguana_lora3) | 9. 10. 2024. | LoRA (r=32) na YugoGPT | drugi pokus / second experiment |
99
+ | [Shome/croguana2](https://huggingface.co/Shome/croguana2) | 9. 10. 2024. | spojeni model, BF16 safetensors | CroGuana v2 |
100
+ | [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 |
101
+ | [Shome/croguana-RC2_lora](https://huggingface.co/Shome/croguana-RC2_lora) | 10. 3. 2025. | LoRA (r=16, alpha=32) na YugoGPT | release candidate 2 |
102
+ | [Shome/croguana-RC2](https://huggingface.co/Shome/croguana-RC2) | 10. 3. 2025. | spojeni model, BF16 safetensors | CroGuana RC2 (najnoviji / latest) |
103
+ | [Shome/croguana-RC2-gguf](https://huggingface.co/Shome/croguana-RC2-gguf) | 10. 3. 2025. | GGUF: Q5_K_M | CroGuana RC2 za llama.cpp / Ollama |
104
 
105
+ ## Ograničenja / Limitations
106
 
107
+ - Mali skup podataka za fino podešavanje i kratki treninzi; model nije vidio primjere rasuđivanja ni korištenja alata.
108
+ / Small fine-tuning data and short runs; no reasoning traces or tool-use examples.
109
+ - Slab u računu i višekoračnom zaključivanju. / Weak at arithmetic and multi-step reasoning.
110
+ - Može miješati hrvatski sa srpskim ili bosanskim varijantama (bazni model je BCMS). / May mix in Serbian or Bosnian
111
+ variants (BCMS base model).
112
+ - Bez sigurnosnog usklađivanja (RLHF/DPO). / No safety alignment (RLHF/DPO).
croguana-500.png ADDED

Git LFS Details

  • SHA256: 6d5dd390db1c7d2d416e758970c3e708a0a73d8d2351047e6680db4c94800a57
  • Pointer size: 131 Bytes
  • Size of remote file: 521 kB