rippertnt commited on
Commit
037f5fb
·
verified ·
1 Parent(s): 5f3dd05

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -106
README.md DELETED
@@ -1,106 +0,0 @@
1
- ---
2
- license: other
3
- license_name: exaone
4
- license_link: LICENSE
5
- language:
6
- - en
7
- - ko
8
- tags:
9
- - lg-ai
10
- - exaone
11
- ---
12
-
13
- <p align="center">
14
- <img src="assets/EXAONE_Symbol+BI_3d.png", width="300", style="margin: 40 auto;">
15
- <br>
16
-
17
- # EXAONE-3.0-7.8B-Instruct
18
-
19
- ## Introduction
20
-
21
- We introduce EXAONE-3.0-7.8B-Instruct, a pre-trained and instruction-tuned bilingual (English and Korean) generative model with 7.8 billion parameters.
22
- The model was pre-trained with 8T curated tokens and post-trained with supervised fine-tuning and direct preference optimization.
23
- It demonstrates highly competitive benchmark performance against other state-of-the-art open models of similar size.
24
-
25
- For more details, please refer to our [technical report](https://www.lgresearch.ai/data/upload/tech_report/en/EXAONE_3.0_Technical_Report.pdf), [blog](https://www.lgresearch.ai/blog/view?seq=460) and [GitHub](https://github.com/LG-AI-EXAONE).
26
-
27
- ## Quickstart
28
-
29
- We recommend to use transformers v4.41 or later.
30
-
31
- ```python
32
- import torch
33
- from transformers import AutoModelForCausalLM, AutoTokenizer
34
-
35
- model = AutoModelForCausalLM.from_pretrained(
36
- "LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct",
37
- torch_dtype=torch.bfloat16,
38
- trust_remote_code=True,
39
- device_map="auto"
40
- )
41
- tokenizer = AutoTokenizer.from_pretrained("LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct")
42
-
43
- # Choose your prompt
44
- prompt = "Explain who you are" # English example
45
- prompt = "너의 소원을 말해봐" # Korean example
46
-
47
- messages = [
48
- {"role": "system",
49
- "content": "You are EXAONE model from LG AI Research, a helpful assistant."},
50
- {"role": "user", "content": prompt}
51
- ]
52
- input_ids = tokenizer.apply_chat_template(
53
- messages,
54
- tokenize=True,
55
- add_generation_prompt=True,
56
- return_tensors="pt"
57
- )
58
-
59
- output = model.generate(
60
- input_ids.to("cuda"),
61
- eos_token_id=tokenizer.eos_token_id,
62
- max_new_tokens=128
63
- )
64
- print(tokenizer.decode(output[0]))
65
- ```
66
-
67
- > ### Note
68
- > The EXAONE 3.0 instruction-tuned language model was trained to utilize the system prompt,
69
- > so we highly recommend using the system prompts provided in the code snippet above.
70
-
71
- ## Evaluation
72
-
73
- We compared EXAONE-3.0-7.8B-Instruct with similar-sized instruction-tuned LLMs. To verify the performance of real-world use cases, we measured benchmarks that have a high correlation with [LMSYS Chatbot Arena](https://chat.lmsys.org/).
74
- Some experimental results are shown below. The full evaluation results can be found in the [technical report](https://www.lgresearch.ai/data/upload/tech_report/en/EXAONE_3.0_Technical_Report.pdf).
75
-
76
- | Language | Benchmark | EXAONE 3.0 <br>7.8B Inst. | Llama 3.1 <br>8B Inst. | Gemma 2 <br>9B Inst. | QWEN 2 <br>7B Inst. | Phi 3 <br>7B Inst. | Mistral 7B <br>Inst. |
77
- | :-----: | :----- | :-----: | :-----: | :-----: | :-----: | :-----: | :-----: |
78
- | English | MT-Bench | **9.01** | 7.95 | 8.52 | 8.41 | 8.52 | 7.72 |
79
- | | Arena-Hard-v0.1 | **46.8** | 28.0 | 42.1 | 21.7 | 29.1 | 16.2 |
80
- | | WildBench | **48.2** | 34.5 | 41.5 | 34.9 | 32.8 | 29.0 |
81
- | | AlpacaEval 2.0 LC | 45.0 | 31.5 | **47.5** | 24.5 | 37.1 | 31.0 |
82
- | Korean | KoMT-Bench<sup>[1] | **8.92** | 6.06 | 7.92 | 7.69 | 4.87 | 5.20 |
83
- | | LogicKor | **8.62** | 5.40 | 8.07 | 6.12 | 3.76 | 3.42 |
84
-
85
- - [1] KoMT-Bench is a dataset created by translating MT-Bench into Korean; see [README](https://github.com/LG-AI-EXAONE/KoMT-Bench) for more details.
86
-
87
- ## Limitation
88
-
89
- The EXAONE language model has certain limitations and may occasionally generate inappropriate responses. The language model generates responses based on the output probability of tokens, and it is determined during learning from training data. While we have made every effort to exclude personal, harmful, and biased information from the training data, some problematic content may still be included, potentially leading to undesirable responses. Please note that the text generated by EXAONE language model does not reflects the views of LG AI Research.
90
-
91
- - Inappropriate answers may be generated, which contain personal, harmful or other inappropriate information.
92
- - Biased responses may be generated, which are associated with age, gender, race, and so on.
93
- - The generated responses rely heavily on statistics from the training data, which can result in the generation of
94
- semantically or syntactically incorrect sentences.
95
- - Since the model does not reflect the latest information, the responses may be false or contradictory.
96
-
97
- LG AI Research strives to reduce potential risks that may arise from EXAONE language model. Users are not allowed
98
- to engage in any malicious activities (e.g., keying in illegal information) that may induce the creation of inappropriate
99
- outputs violating LG AI’s ethical principles when using EXAONE language model.
100
-
101
- ## License
102
-
103
- The model is licensed under [EXAONE AI Model License Agreement 1.0 - NC](./LICENSE)
104
-
105
- ## Contact
106
- LG AI Research Technical Support: contact_us@lgresearch.ai