|
--- |
|
license: other |
|
--- |
|
# Model Card for yi-34b-v2 |
|
|
|
### Introduction of MindsAndCompany |
|
|
|
https://mnc.ai/ |
|
|
|
We create various AI models and develop solutions that can be applied to businesses. And as for generative AI, we are developing products like Code Assistant, TOD Chatbot, LLMOps, and are in the process of developing Enterprise AGI (Artificial General Intelligence). |
|
|
|
### Model Summary |
|
based yi-34b, instruction tuned. |
|
|
|
|
|
### 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/yi-34B-v2' |
|
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']}") |
|
``` |
|
|
|
|
|
### Contact |
|
If you have any questions, please raise an issue or contact us at [email protected] |