Text Generation
Transformers
Safetensors
English
Korean
Spanish
exaone4
lg-ai
exaone
exaone-4.0
abliterated
uncensored
conversational
custom_code
Instructions to use huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated
- SGLang
How to use huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated with Docker Model Runner:
docker model run hf.co/huihui-ai/Huihui-EXAONE-4.0-1.2B-abliterated
Upload LICENSE
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
EXAONE AI Model License Agreement 1.2 - NC
|
| 2 |
+
|
| 3 |
+
This License Agreement (“Agreement”) is entered into between you (“Licensee”) and LG Management Development
|
| 4 |
+
Institute Co., Ltd. (“Licensor”), governing the use of the EXAONE AI Model (“Model”). By downloading,
|
| 5 |
+
installing, copying, or using the Model, you agree to comply with and be bound by the terms of this Agreement.
|
| 6 |
+
If you do not agree to all the terms, you must not download, install, copy, or use the Model. This Agreement
|
| 7 |
+
constitutes a binding legal agreement between the Licensee and Licensor.
|
| 8 |
+
|
| 9 |
+
1. Definitions
|
| 10 |
+
1.1 Model: The artificial intelligence model provided by Licensor, which includes any software,
|
| 11 |
+
algorithms, machine learning models, or related components supplied by Licensor. This definition extends
|
| 12 |
+
to encompass all updates, enhancements, improvements, bug fixes, patches, or other modifications that may
|
| 13 |
+
be provided by Licensor from time to time, whether automatically or manually implemented.
|
| 14 |
+
1.2 Derivatives: Any modifications, alterations, enhancements, improvements, adaptations, or derivative
|
| 15 |
+
works of the Model created by Licensee or any third party. This includes changes made to the Model's
|
| 16 |
+
architecture, parameters, data processing methods, or any other aspect of the Model that results in a
|
| 17 |
+
modification of its functionality or output.
|
| 18 |
+
1.3 Output: Any data, results, content, predictions, analyses, insights, or other materials generated by
|
| 19 |
+
the Model or Derivatives, regardless of whether they are in their original form or have been further
|
| 20 |
+
processed or modified by the Licensee. This includes, but is not limited to, textual or numerical produced
|
| 21 |
+
directly or indirectly through the use of the Model.
|
| 22 |
+
1.4 Licensor: LG Management Development Institute Co., Ltd., the owner, developer, and provider of the
|
| 23 |
+
EXAONE AI Model. The Licensor holds all rights, title, and interest in the Model and is responsible for
|
| 24 |
+
granting licenses to use the Model under the terms specified in this Agreement.
|
| 25 |
+
1.5 Licensee: The individual, organization, corporation, academic institution, government agency, or other
|
| 26 |
+
entity using or intending to use the Model under the terms and conditions of this Agreement. The Licensee
|
| 27 |
+
is responsible for ensuring compliance with the Agreement by all authorized users who access or utilize
|
| 28 |
+
the Model on behalf of the Licensee.
|
| 29 |
+
|
| 30 |
+
2. License Grant
|
| 31 |
+
2.1 Grant of License: Subject to the terms and conditions outlined in this Agreement, the Licensor hereby
|
| 32 |
+
grants the Licensee a limited, non-exclusive, non-transferable, worldwide, and revocable license to:
|
| 33 |
+
a. Access, download, install, and use the Model solely for research and educational purposes. This
|
| 34 |
+
includes evaluation, testing, academic research, experimentation, learning, teaching, training and
|
| 35 |
+
participation in competitions, provided that such participation is in a non-commercial context.
|
| 36 |
+
Notwithstanding Section 3.1, the Licensee may only provide the Model or Derivatives for a competition
|
| 37 |
+
if no commercial license is granted to the competition organizer or any third party.
|
| 38 |
+
b. Publicly disclose research results and findings derived from the use of the Model or Derivatives,
|
| 39 |
+
including publishing papers or presentations.
|
| 40 |
+
c. Modify the Model and create Derivatives based on the Model, provided that such modifications and
|
| 41 |
+
Derivatives are used exclusively for research and educational purposes. The Licensee may conduct
|
| 42 |
+
experiments, perform analyses, and apply custom modifications to the Model to explore its capabilities
|
| 43 |
+
and performance under various scenarios. If the Model is modified, the modified Model must include
|
| 44 |
+
"EXAONE" at the beginning of its name.
|
| 45 |
+
d. Distribute the Model and Derivatives in each case with a copy of this Agreement.
|
| 46 |
+
2.2 Scope of License: The license granted herein does not authorize the Licensee to use the Model for any
|
| 47 |
+
purpose not explicitly permitted under this Agreement. Any use beyond the scope of this license, including
|
| 48 |
+
any commercial application or external distribution, is strictly prohibited unless explicitly agreed upon
|
| 49 |
+
in writing by the Licensor.
|
| 50 |
+
|
| 51 |
+
3. Restrictions
|
| 52 |
+
3.1 Commercial Use: The Licensee is expressly prohibited from using the Model, Derivatives, or Output for
|
| 53 |
+
any commercial purposes, including but not limited to, developing or deploying products, services, or
|
| 54 |
+
applications that generate revenue, whether directly or indirectly. Any commercial exploitation of the
|
| 55 |
+
Model or its derivatives requires a separate commercial license agreement with the Licensor. Furthermore,
|
| 56 |
+
the Licensee shall not use the Model, Derivatives or Output to develop or improve any models that compete
|
| 57 |
+
with the Licensor’s models.
|
| 58 |
+
3.2 Reverse Engineering: The Licensee shall not decompile, disassemble, reverse engineer, or attempt to
|
| 59 |
+
derive the source code, underlying ideas, algorithms, or structure of the Model, except to the extent that
|
| 60 |
+
such activities are expressly permitted by applicable law. Any attempt to bypass or circumvent
|
| 61 |
+
technological protection measures applied to the Model is strictly prohibited.
|
| 62 |
+
3.3 Unlawful Use: The Licensee shall not use the Model and Derivatives for any illegal, fraudulent, or
|
| 63 |
+
unauthorized activities, nor for any purpose that violates applicable laws or regulations. This includes
|
| 64 |
+
but is not limited to the creation, distribution, or dissemination of malicious, deceptive, or unlawful
|
| 65 |
+
content.
|
| 66 |
+
3.4 Ethical Use: The Licensee shall ensure that the Model or Derivatives is used in an ethical and
|
| 67 |
+
responsible manner, adhering to the following guidelines:
|
| 68 |
+
a. The Model and Derivatives shall not be used to generate, propagate, or amplify false, misleading,
|
| 69 |
+
or harmful information, including fake news, misinformation, or disinformation.
|
| 70 |
+
b. The Model and Derivatives shall not be employed to create, distribute, or promote content that is
|
| 71 |
+
discriminatory, harassing, defamatory, abusive, or otherwise offensive to individuals or groups based
|
| 72 |
+
on race, gender, sexual orientation, religion, nationality, or other protected characteristics.
|
| 73 |
+
c. The Model and Derivatives shall not infringe on the rights of others, including intellectual property
|
| 74 |
+
rights, privacy rights, or any other rights recognized by law. The Licensee shall obtain all necessary
|
| 75 |
+
permissions and consents before using the Model and Derivatives in a manner that may impact the rights
|
| 76 |
+
of third parties.
|
| 77 |
+
d. The Model and Derivatives shall not be used in a way that causes harm, whether physical, mental,
|
| 78 |
+
emotional, or financial, to individuals, organizations, or communities. The Licensee shall take all
|
| 79 |
+
reasonable measures to prevent misuse or abuse of the Model and Derivatives that could result in harm
|
| 80 |
+
or injury.
|
| 81 |
+
|
| 82 |
+
4. Ownership
|
| 83 |
+
4.1 Intellectual Property: All rights, title, and interest in and to the Model, including any
|
| 84 |
+
modifications, Derivatives, and associated documentation, are and shall remain the exclusive property of
|
| 85 |
+
the Licensor. The Licensee acknowledges that this Agreement does not transfer any ownership rights to the
|
| 86 |
+
Licensee. All trademarks, service marks, and logos associated with the Model are the property of the
|
| 87 |
+
Licensor.
|
| 88 |
+
4.2 Output: Licensor claims no rights in Output. Licensee is solely responsible for the Output and its use.
|
| 89 |
+
4.3 Attribution: In any publication or presentation of results obtained using the Model, the Licensee
|
| 90 |
+
shall provide appropriate attribution to the Licensor, citing the Model's name and version, along with any
|
| 91 |
+
relevant documentation or references specified by the Licensor.
|
| 92 |
+
|
| 93 |
+
5. No Warranty
|
| 94 |
+
5.1 “As-Is” Basis: The Model, Derivatives, and Output are provided on an “as-is” and “as-available” basis,
|
| 95 |
+
without any warranties or representations of any kind, whether express, implied, or statutory. The Licensor
|
| 96 |
+
disclaims all warranties, including but not limited to, implied warranties of merchantability, fitness for
|
| 97 |
+
a particular purpose, accuracy, reliability, non-infringement, or any warranty arising from the course of
|
| 98 |
+
dealing or usage of trade.
|
| 99 |
+
5.2 Performance and Reliability: The Licensor does not warrant or guarantee that the Model, Derivatives or
|
| 100 |
+
Output will meet the Licensee’s requirements, that the operation of the Model, Derivatives or Output will
|
| 101 |
+
be uninterrupted or error-free, or that defects in the Model will be corrected. The Licensee acknowledges
|
| 102 |
+
that the use of the Model, Derivatives or Output is at its own risk and that the Model, Derivatives or
|
| 103 |
+
Output may contain bugs, errors, or other limitations.
|
| 104 |
+
5.3 No Endorsement: The Licensor does not endorse, approve, or certify any results, conclusions, or
|
| 105 |
+
recommendations derived from the use of the Model. The Licensee is solely responsible for evaluating the
|
| 106 |
+
accuracy, reliability, and suitability of the Model for its intended purposes.
|
| 107 |
+
|
| 108 |
+
6. Limitation of Liability
|
| 109 |
+
6.1 No Liability for Damages: To the fullest extent permitted by applicable law, in no event shall the
|
| 110 |
+
Licensor be liable for any special, incidental, indirect, consequential, exemplary, or punitive damages,
|
| 111 |
+
including but not limited to, damages for loss of business profits, business interruption, loss of business
|
| 112 |
+
information, loss of data, or any other pecuniary or non-pecuniary loss arising out of or in connection with
|
| 113 |
+
the use or inability to use the Model, Derivatives or any Output, even if the Licensor has been advised of
|
| 114 |
+
the possibility of such damages.
|
| 115 |
+
6.2 Indemnification: The Licensee agrees to indemnify, defend, and hold harmless the Licensor, its
|
| 116 |
+
affiliates, officers, directors, employees, and agents from and against any claims, liabilities, damages,
|
| 117 |
+
losses, costs, or expenses (including reasonable attorneys' fees) arising out of or related to the
|
| 118 |
+
Licensee's use of the Model, any Derivatives, or any Output, including any violation of this Agreement or
|
| 119 |
+
applicable laws.
|
| 120 |
+
|
| 121 |
+
7. Termination
|
| 122 |
+
7.1 Termination by Licensor: The Licensor reserves the right to terminate this Agreement and revoke the
|
| 123 |
+
Licensee’s rights to use the Model at any time, with or without cause, and without prior notice if the
|
| 124 |
+
Licensee breaches any of the terms or conditions of this Agreement. Termination shall be effective
|
| 125 |
+
immediately upon notice.
|
| 126 |
+
7.2 Effect of Termination: Upon termination of this Agreement, the Licensee must immediately cease all use
|
| 127 |
+
of the Model and Derivatives and destroy all copies of the Model and Derivatives in its possession or
|
| 128 |
+
control, including any backup or archival copies. The Licensee shall certify in writing to the Licensor that
|
| 129 |
+
such destruction has been completed.
|
| 130 |
+
7.3 Survival: The provisions of this Agreement that by their nature should survive termination, including
|
| 131 |
+
but not limited to, Sections 4 (Ownership), 5 (No Warranty), 6 (Limitation of Liability), and this Section 7
|
| 132 |
+
(Termination), shall continue to apply after termination.
|
| 133 |
+
|
| 134 |
+
8. Governing Law
|
| 135 |
+
8.1 Governing Law: This Agreement shall be governed by and construed in accordance with the laws of the
|
| 136 |
+
Republic of Korea, without regard to its conflict of laws principles.
|
| 137 |
+
8.2 Arbitration: Any disputes, controversies, or claims arising out of or relating to this Agreement,
|
| 138 |
+
including its existence, validity, interpretation, performance, breach, or termination, shall be referred
|
| 139 |
+
to and finally resolved by arbitration administered by the Korean Commercial Arbitration Board (KCAB) in
|
| 140 |
+
accordance with the International Arbitration Rules of the Korean Commercial Arbitration Board in force at
|
| 141 |
+
the time of the commencement of the arbitration. The seat of arbitration shall be Seoul, Republic of Korea.
|
| 142 |
+
The tribunal shall consist of one arbitrator. The language of the arbitration shall be English.
|
| 143 |
+
|
| 144 |
+
9. Alterations
|
| 145 |
+
9.1 Modifications: The Licensor reserves the right to modify or amend this Agreement at any time, in its
|
| 146 |
+
sole discretion. Any modifications will be effective upon posting the updated Agreement on the Licensor’s
|
| 147 |
+
website or through other means of communication. The Licensee is responsible for reviewing the Agreement
|
| 148 |
+
periodically for changes. Continued use of the Model after any modifications have been made constitutes
|
| 149 |
+
acceptance of the revised Agreement.
|
| 150 |
+
9.2 Entire Agreement: This Agreement constitutes the entire agreement between the Licensee and Licensor
|
| 151 |
+
concerning the subject matter hereof and supersedes all prior or contemporaneous oral or written agreements,
|
| 152 |
+
representations, or understandings. Any terms or conditions of any purchase order or other document
|
| 153 |
+
submitted by the Licensee in connection with the Model that are in addition to, different from, or
|
| 154 |
+
inconsistent with the terms and conditions of this Agreement are not binding on the Licensor and are void.
|
| 155 |
+
|
| 156 |
+
By downloading, installing, or using the EXAONE AI Model, the Licensee acknowledges that it has read,
|
| 157 |
+
understood, and agrees to be bound by the terms and conditions of this Agreement.
|