ttagu99 commited on
Commit
42f0849
ยท
1 Parent(s): b255c27

Update README.md

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