File size: 893 Bytes
f05a712 |
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 27 28 29 30 31 32 33 34 35 36 37 |
---
datasets:
- kyujinpy/KOpen-platypus
language:
- ko
- en
pipeline_tag: text-generation
---
### Model Card for Model ID
base_model : [Ko-Llama3-Luxia-8B](https://huggingface.co./saltlux/Ko-Llama3-Luxia-8B)
### Basic usage
```python
# 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 = "Write me a poem about Machine Learning."
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](https://huggingface.co./datasets/kyujinpy/KOpen-platypus)
### Hardware
RTX 3090 Ti 24GB x 1 |