--- license: cc-by-nc-4.0 language: - kk - en - ru - tr library_name: transformers extra_gated_prompt: "By accessing this model, you are agreeing to the LLama 3.1 terms and cc-by-nc license for non commnercial use" extra_gated_fields: Company: text Country: country I want to use this model for: type: select options: - Research - Education - label: Other value: other I agree to use this model for non-commercial use ONLY: checkbox --- # Model Overview ![image/png](https://cdn-uploads.huggingface.co/production/uploads/67056b2e6409e548690b1b6f/jYgsTXK3B3OTrZNBN6z2a.png) Made in Kazakhstan - Қазақстанда жасалған ## Description: LLama-3.1-KazLLM-1.0-70B-AWQ4 is a quantized version of [issai/LLama-3.1-KazLLM-1.0-70B](https://huggingface.co/issai/LLama-3.1-KazLLM-1.0-70B) large language model. ## Terms of use By accessing this model, you are agreeing to the LLama 3.1 terms and conditions of the following: - [License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE) - [Acceptable Use Policy](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/USE_POLICY.md) - [Meta’s Privacy Policy](https://www.facebook.com/privacy/policy/) Additionally, this model is licensed under the [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) license. ## Usage: You can use the model using HuggingFace Transformers library with \ 80GB GPUs (NVIDIA Ampere or newer) This code has been tested on Transformers v4.45.1, torch v2.3.1 and 2 H100 GPUs, but any setup that supports meta-llama/Llama-3.1-70B-Instruct should support this model as well. If you run into problems, you can consider doing: ```bash pip install -U transformers. ``` ```python # Use a pipeline as a high-level helper from transformers import pipeline messages = [ {"role": "user", "content": "Who are you?"}, ] pipe = pipeline("text-generation", model="issai/LLama-3.1-KazLLM-1.0-70B-AWQ4") pipe(messages) ``` ```python # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("issai/LLama-3.1-KazLLM-1.0-70B-AWQ4") model = AutoModelForCausalLM.from_pretrained("issai/LLama-3.1-KazLLM-1.0-70B-AWQ4") ``` ## Input: **Input Type(s):** Text
**Input Format:** String
**Input Parameters:** One Dimensional (1D)
**Other Properties Related to Input:** Max of 128k tokens
## Output: **Output Type(s):** Text
**Output Format:** String
**Output Parameters:** One Dimensional (1D)
**Other Properties Related to Output:** Max of 4k tokens
## Model Version: v1.0 ## Ethical and Legal Considerations: The models provided in this repository, including ISSAI KAZ-LLM, are powerful tools designed to advance research and innovation. However, it is essential to use these models responsibly, ethically, and in accordance with applicable laws and regulations. ### Key Guidelines for Responsible Use: 1. **Bias and Fairness:** While the models are designed to reflect linguistic and cultural diversity, they may still exhibit biases. Please ensure that the outputs are evaluated critically and not used to perpetuate harmful stereotypes or unfair practices. 2. **Content Generation:** Generated content should not be used to produce harmful, misleading, or deceptive information. Users should take extra care in ensuring the authenticity and reliability of the output in all contexts. 3. **Privacy and Data Protection:** Ensure that any personal data input into the models complies with privacy laws and regulations. Do not use the models to generate or process sensitive personal information unless proper safeguards are in place. 4. **Ethical Considerations:** The models should not be used to create content that promotes violence, hatred, discrimination, or illegal activities. Always adhere to ethical standards and foster positive impact through AI technologies. 5. **Accountability:** The responsibility for the use of the models lies with the users. We encourage you to evaluate the generated content critically and consider the potential social, cultural, and ethical consequences of its use. By accessing or using these models, you agree to follow these guidelines and contribute to the responsible development and application of AI technologies. For any questions or concerns, please contact us at **issai@nu.edu.kz**.