Salatec123 commited on
Commit
0e05b07
·
verified ·
1 Parent(s): 01f356a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -1
README.md CHANGED
@@ -16,4 +16,48 @@ tags:
16
  - Russian
17
  - English
18
  - Mini
19
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  - Russian
17
  - English
18
  - Mini
19
+ ---
20
+
21
+ # SLT-0.5b-GoToSpeak
22
+
23
+ A small 0.5B parameter conversational model based on Qwen2.5-0.5B.
24
+
25
+ ## Training Dataset
26
+
27
+ The model was fine-tuned on 7500 examples.
28
+
29
+ The dataset includes:
30
+ - Conversational dialogues in Russian and English
31
+ - Up-to-date general knowledge (as of 2025-2026)
32
+ - Simple Python coding tasks
33
+ - Basic mathematics with step-by-step explanations
34
+
35
+ Training method: Supervised Fine-Tuning (SFT).
36
+
37
+ ## How to Use
38
+
39
+ ```python
40
+ from transformers import AutoModelForCausalLM, AutoTokenizer
41
+ import torch
42
+
43
+ model_name = "SLT-AI/SLT-0.5b-GoToSpeak"
44
+
45
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
46
+ model = AutoModelForCausalLM.from_pretrained(
47
+ model_name,
48
+ torch_dtype=torch.bfloat16,
49
+ device_map="auto"
50
+ )
51
+
52
+ messages = [{"role": "user", "content": "Hello!"}]
53
+ text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
54
+ inputs = tokenizer(text, return_tensors="pt").to(model.device)
55
+
56
+ outputs = model.generate(
57
+ **inputs,
58
+ max_new_tokens=512,
59
+ temperature=0.7,
60
+ top_p=0.9
61
+ )
62
+
63
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))