Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
---
|
4 |
+
# Model Card for mncai/yi-34B-v4
|
5 |
+
|
6 |
+
### Introduction of MindsAndCompany
|
7 |
+
|
8 |
+
https://mnc.ai/
|
9 |
+
|
10 |
+
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).
|
11 |
+
|
12 |
+
### Model Summary
|
13 |
+
based yi-34B, instruction tuned and dpo.
|
14 |
+
|
15 |
+
|
16 |
+
### How to Use
|
17 |
+
Here give some examples of how to use our model.
|
18 |
+
|
19 |
+
```python
|
20 |
+
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
21 |
+
import transformers
|
22 |
+
import torch
|
23 |
+
hf_model = 'mncai/yi-34B-v4'
|
24 |
+
message = "<|user|>\n๋ ๊ฐ์ ๊ตฌ๊ฐ ์๋๋ฐ ๊ฐ๊ฐ ์ง๋ฆ์ด 1, 2์ผ๋ ๊ตฌ์ ๋ถํผ๋ ๋ช๋ฐฐ ์ฐจ์ด๊ฐ ๋์ง? ์ค๋ช
๋ ๊ฐ์ด ํด์ค.\n<|assistant|>\n"
|
25 |
+
|
26 |
+
sequences = pipeline(
|
27 |
+
message,
|
28 |
+
do_sample=True,
|
29 |
+
top_k=10,
|
30 |
+
num_return_sequences=1,
|
31 |
+
eos_token_id=tokenizer.eos_token_id,
|
32 |
+
max_length=2048,
|
33 |
+
)
|
34 |
+
for seq in sequences:
|
35 |
+
print(f"Result: {seq['generated_text']}")
|
36 |
+
```
|
37 |
+
|
38 |
+
|
39 |
+
### Contact
|
40 |
+
If you have any questions, please raise an issue or contact us at dwmyoung@mnc.ai
|