ttagu99 commited on
Commit
8108f31
โ€ข
1 Parent(s): 2b0b614

Create README.md

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