KONI
Collection
Text-only LLMs
โข
9 items
โข
Updated
The performances were evaluated using the LogicKor benchmark dataset as follows:
| Metric | Score |
|---|---|
| Reasoning | 9.07 |
| Math | 9.65 |
| Writing | 9.50 |
| Coding | 9.65 |
| Comprehension | 9.86 |
| Grammar | 8.57 |
| Single-turn | 9.48 |
| Multi-turn | 9.29 |
| Overall | 9.38 |
import transformers
import torch
model_id = "KISTI-KONI/KONI-Llama3.1-70B-Instruct-preview"
pipeline = transformers.pipeline(
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device_map="auto",
)
pipeline.model.eval()
instruction = "์๋
? ๋๋ ๋๊ตฌ์ผ?"
messages = [
{"role": "user", "content": f"{instruction}"}
]
prompt = pipeline.tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
terminators = [
pipeline.tokenizer.eos_token_id,
pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
]
outputs = pipeline(
prompt,
max_new_tokens=2048,
eos_token_id=terminators,
do_sample=True,
temperature=0.7,
top_p=0.9
)
print(outputs[0]["generated_text"][len(prompt):])
์๋
ํ์ธ์! ์ ๋ KISTI์ KONI์
๋๋ค. ๊ณผํ๊ธฐ์ ๋ฐ์ดํฐ๋ฅผ ์ ๋ฌธ์ผ๋ก ์ฒ๋ฆฌํ๋ฉฐ, ์ฌ๋ฌ๋ถ์ ์ฐ๊ตฌ์ ์ง๋ฌธ์ ์ต์ ์ ๋คํด ๋์์ ๋๋ฆฌ๊ฒ ์ต๋๋ค. ๋ฌด์์ ๋์๋๋ฆด๊น์?
Language Model
@article{KISTI-KONI/KONI-Llama3.1-70B-Instruct-preview,
title={KISTI-KONI/KONI-Llama3.1-70B-Instruct-preview},
author={KISTI},
year={2024},
url={https://huggingface.co/KISTI-KONI/KONI-Llama3.1-70B-Instruct-preview}
}