Ko-Luxia-8B-it-v0.3 / README.md
MDDDDR's picture
Update README.md
999bffc verified
|
raw
history blame
871 Bytes
metadata
datasets:
  - kyujinpy/KOpen-platypus
language:
  - ko
  - en
pipeline_tag: text-generation

Model Card for Model ID

base_model : Ko-Llama3-Luxia-8B

Basic usage

# pip install accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

tokenizer = AutoTokenizer.from_pretrained("MDDDDR/Ko-Luxia-8B-it-v0.3")
model = AutoModelForCausalLM.from_pretrained(
    "MDDDDR/Ko-Luxia-8B-it-v0.3",
    device_map="auto",
    torch_dtype=torch.bfloat16
)

input_text = "사과가 뭐야?"
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")

outputs = model.generate(**input_ids)
print(tokenizer.decode(outputs[0]))

Training dataset

dataset : kyujinpy/KOpen-platypus

Hardware

RTX 3090 Ti 24GB x 1