File size: 672 Bytes
4226671
 
 
 
 
 
 
 
 
 
 
 
 
 
f40edd4
4226671
 
 
 
 
 
 
 
 
 
 
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
---
license: mit
datasets:
- nlpai-lab/kullm-v2
---
### Developed by chPark

### Training Strategy
We fine-tuned this model based on [yanolja/KoSOLAR-10.7B-v0.1](https://huggingface.co/yanolja/KoSOLAR-10.7B-v0.1-deprecated)

### Run the model
```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "realPCH/kosolra-kullm"
tokenizer = AutoTokenizer.from_pretrained(model_id)

model = AutoModelForCausalLM.from_pretrained(model_id)

text = "[INST] Put instruction here. [/INST]"
inputs = tokenizer(text, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=20)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

```