File size: 2,862 Bytes
ef5e4da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e158eb
ef5e4da
 
 
4e158eb
ef5e4da
 
 
 
 
 
 
4e158eb
ef5e4da
 
 
 
 
 
 
4e158eb
ef5e4da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e158eb
ef5e4da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d30c20c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
library_name: transformers
tags:
- llada
- sft
- instruction-tuning
- korean
- english
language:
- ko
- en
base_model:
- GSAI-ML/LLaDA-8B-Instruct
---

# Model Card for yevvonlim/Llada-8B-Instruct-Kor

<!-- Provide a quick summary of what the model is/does. -->

yevvonlim/Llada-8B-Instruct-Kor is an instruction-tuned variant of LLADA-8B designed for high-quality conversational responses in both Korean and English. Fine-tuned with supervised data, it excels at understanding and generating context-aware replies for chat applications.

## Model Details

### Model Description

This model is a supervised fine-tuned (SFT) version of [GSAI-ML/LLaDA-8B-Instruct], developed and shared by Sionic AI. It leverages parameter-efficient fine-tuning (PEFT) with LoRA to adapt the base LLADA-8B model to instruction-following tasks.

- **Developed by:** yevvonlim
- **Model type:** 8B-parameter encoder-only transformer  
- **Language(s):** Korean, English  
- **License:** Apache-2.0  
- **Fine-tuned from:** GSAI-ML/LLaDA-8B-Instruct  

### Model Sources

- **Repository:** https://github.com/yevvonlim/CAS4133-LLaDA-Kor
- **Paper:** N/A  
- **Demo:** N/A  

## Uses

### Direct Use

- Conversational agents and chatbots in Korean and English  
- Instruction-following and question-answering tasks  
- Assistive tools for writing, translation, and summarization  

### Out-of-Scope Use

- Tasks requiring specialized domain knowledge outside the training data  
- Real-time high-stakes decision-making without human oversight  

## Bias, Risks, and Limitations

- May produce incorrect or outdated facts  
- Vulnerable to generating biased or stereotypical language present in training data  

### Recommendations

Users should review and verify model outputs before deployment in critical applications. Implement human-in-the-loop validation for high-stakes use cases.

## How to Get Started with the Model

Use the code below to load and generate with the model. Ensure you have defined or imported the `generate_stream` function provided in the repository.

```python

from transformers import AutoTokenizer, AutoModel


device = "cuda"
model_path = "yevvonlim/Llada-8B-Instruct-Kor"

tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
model = AutoModel.from_pretrained(model_path, trust_remote_code=True).to(device).eval()

prompt = "6나누기 0은 뭐야? let's think step by step."
chat_input = tokenizer.apply_chat_template(
    [{"role": "user", "content": prompt}],
    add_generation_prompt=True,
    tokenize=False,
)
prompt_ids = tokenizer(chat_input, return_tensors="pt").input_ids.to(device)

final_ids = model.generate(prompt_ids)[0, prompt_ids.shape[1]:]
print(tokenizer.decode(final_ids, skip_special_tokens=True))
```

## Contact

For issues or questions, please open an issue on the repo or contact ga06033@gmail.com