Downloads · 30 days
21
0% of all-time downloads
realPCH/kosolra_SFT_DPO_v0
kosolra_SFT_DPO_v0 is a text generation model from realPCH. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
We fine-tuned this model based on yanolja/KoSOLAR-10.7B-v0.1 We applied a DPO to realPCH/kosolra-kullm
Downloads · 30 days
21
0% of all-time downloads
All-time downloads
17.3K
Public
Parameters
10.9B
43.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors43.5 GB · 100%
From the Hugging Face model README
We fine-tuned this model based on yanolja/KoSOLAR-10.7B-v0.1 We applied a DPO to realPCH/kosolra-kullm
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "realPCH/kosolra_SFT_DPO_v0"
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))