45 lines
1.3 KiB
Markdown
45 lines
1.3 KiB
Markdown
---
|
|
license: cc-by-nc-sa-4.0
|
|
language:
|
|
- en
|
|
- ko
|
|
---
|
|
# Model Card for llama2-dpo-v3
|
|
|
|
### Introduction of MindsAndCompany
|
|
|
|
https://mnc.ai/
|
|
|
|
We develop a diverse range of AI models and craft solutions tailored for business applications. In the realm of generative AI, our product development includes the Code Assistant, the TOD Chatbot, and LLMOps. We are also actively working on the development of Enterprise AGI (Artificial General Intelligence).
|
|
|
|
### Model Summary
|
|
based beomi/llama-2-koen-13b, instruction tuned and dpo.
|
|
|
|
|
|
### How to Use
|
|
Here give some examples of how to use our model.
|
|
|
|
```python
|
|
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
|
import transformers
|
|
import torch
|
|
hf_model = 'mncai/llama2-13b-dpo-v3'
|
|
message = "<|user|>\n두 개의 구가 있는데 각각 지름이 1, 2일때 구의 부피는 몇배 차이가 나지? 설명도 같이 해줘.\n<|assistant|>\n"
|
|
|
|
sequences = pipeline(
|
|
message,
|
|
do_sample=True,
|
|
top_k=10,
|
|
num_return_sequences=1,
|
|
eos_token_id=tokenizer.eos_token_id,
|
|
max_length=2048,
|
|
)
|
|
for seq in sequences:
|
|
print(f"Result: {seq['generated_text']}")
|
|
```
|
|
|
|
### LICENSE
|
|
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License, under LLAMA 2 COMMUNITY LICENSE AGREEMENT
|
|
|
|
### Contact
|
|
If you have any questions, please raise an issue or contact us at dwmyoung@mnc.ai |