KONI
Collection
Text-only LLMs โข 9 items โข Updated
Results in LogicKor* are as follows:
| Metric | Score |
|---|---|
| Reasoning | 6.57 |
| Math | 8.00 |
| Writing | 8.92 |
| Coding | 8.85 |
| Comprehension | 9.85 |
| Grammar | 7.07 |
| Single-turn | 8.42 |
| Multi-turn | 8.00 |
| Overall | 8.21 |
| Our model demonstrates the best performance among publicly available 8B models on the LogicKor leaderboard as of 2024.07.30. |
import transformers
import torch
model_id = "KISTI-KONI/KONI-Llama3-8B-Instruct-20240729"
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):])
์๋
ํ์ธ์! ์ ๋ KONI, ์ฌ๋ฌ๋ถ์ ์ง๋ฌธ์ ๋ตํ๊ณ ์ ๋ณด๋ฅผ ์ ๊ณตํ๋ ์ธ๊ณต์ง๋ฅ์
๋๋ค. ์ ๋ ์ด๋ค ์ ๋ณด๋ฅผ ์ ๊ณตํด ๋๋ฆด๊น์?
Language Model
@article{KISTI-KONI/KONI-Llama3-8B-Instruct-20240729,
title={KISTI-KONI/KONI-Llama3-8B-Instruct-20240729},
author={KISTI},
year={2024},
url={https://huggingface.co/KISTI-KONI/KONI-Llama3-8B-Instruct-20240729}
}