|
--- |
|
language: |
|
- en |
|
pipeline_tag: text-generation |
|
license: cc-by-nc-4.0 |
|
--- |
|
|
|
# WebSquareAI-Instruct-KoSOLAR-10.7b-v0.5.34 |
|
|
|
## Model Details |
|
|
|
**Developed by** |
|
[Inswave Systems](https://www.inswave.com) UI Platform Team |
|
|
|
**Base Model** |
|
[LDCC/LDCC-SOLAR-10.7B](https://huggingface.co/LDCC/LDCC-SOLAR-10.7B) |
|
|
|
|
|
# Implementation Code |
|
```python |
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
import torch |
|
|
|
repo = "kimwooglae/WebSquareAI-Instruct-KoSOLAR-10.7b-v0.5.34" |
|
model = AutoModelForCausalLM.from_pretrained( |
|
repo, |
|
return_dict=True, |
|
torch_dtype=torch.float16, |
|
device_map='auto' |
|
) |
|
tokenizer = AutoTokenizer.from_pretrained(repo) |
|
``` |
|
|
|
--- |