Text Generation
Transformers
Safetensors
llama
turkish
türkiye
ai
lamapi
next
next-x1
open-source
70b
large-language-model
llm
transformer
artificial-intelligence
machine-learning
nlp
multilingual
instruction-tuned
chat
generative-ai
optimized
trl
sft
enterprise
industrial
conversational
text-generation-inference
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,199 +1,172 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
-
tags: []
|
| 4 |
---
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
|
|
|
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
### Model Description
|
| 15 |
-
|
| 16 |
-
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
-
|
| 18 |
-
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 19 |
-
|
| 20 |
-
- **Developed by:** [More Information Needed]
|
| 21 |
-
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
-
- **Model type:** [More Information Needed]
|
| 24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
-
- **License:** [More Information Needed]
|
| 26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
-
|
| 28 |
-
### Model Sources [optional]
|
| 29 |
-
|
| 30 |
-
<!-- Provide the basic links for the model. -->
|
| 31 |
-
|
| 32 |
-
- **Repository:** [More Information Needed]
|
| 33 |
-
- **Paper [optional]:** [More Information Needed]
|
| 34 |
-
- **Demo [optional]:** [More Information Needed]
|
| 35 |
-
|
| 36 |
-
## Uses
|
| 37 |
-
|
| 38 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
-
|
| 40 |
-
### Direct Use
|
| 41 |
-
|
| 42 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
-
|
| 44 |
-
[More Information Needed]
|
| 45 |
-
|
| 46 |
-
### Downstream Use [optional]
|
| 47 |
-
|
| 48 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
-
|
| 50 |
-
[More Information Needed]
|
| 51 |
-
|
| 52 |
-
### Out-of-Scope Use
|
| 53 |
-
|
| 54 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
-
|
| 56 |
-
[More Information Needed]
|
| 57 |
-
|
| 58 |
-
## Bias, Risks, and Limitations
|
| 59 |
-
|
| 60 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
-
|
| 62 |
-
[More Information Needed]
|
| 63 |
-
|
| 64 |
-
### Recommendations
|
| 65 |
-
|
| 66 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
-
|
| 68 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
-
|
| 70 |
-
## How to Get Started with the Model
|
| 71 |
-
|
| 72 |
-
Use the code below to get started with the model.
|
| 73 |
-
|
| 74 |
-
[More Information Needed]
|
| 75 |
-
|
| 76 |
-
## Training Details
|
| 77 |
-
|
| 78 |
-
### Training Data
|
| 79 |
-
|
| 80 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
-
|
| 82 |
-
[More Information Needed]
|
| 83 |
-
|
| 84 |
-
### Training Procedure
|
| 85 |
-
|
| 86 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
-
|
| 88 |
-
#### Preprocessing [optional]
|
| 89 |
-
|
| 90 |
-
[More Information Needed]
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
#### Training Hyperparameters
|
| 94 |
-
|
| 95 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
-
|
| 97 |
-
#### Speeds, Sizes, Times [optional]
|
| 98 |
-
|
| 99 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
-
|
| 101 |
-
[More Information Needed]
|
| 102 |
-
|
| 103 |
-
## Evaluation
|
| 104 |
-
|
| 105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
-
|
| 107 |
-
### Testing Data, Factors & Metrics
|
| 108 |
-
|
| 109 |
-
#### Testing Data
|
| 110 |
-
|
| 111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
-
|
| 113 |
-
[More Information Needed]
|
| 114 |
-
|
| 115 |
-
#### Factors
|
| 116 |
-
|
| 117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
-
|
| 119 |
-
[More Information Needed]
|
| 120 |
-
|
| 121 |
-
#### Metrics
|
| 122 |
-
|
| 123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
-
|
| 125 |
-
[More Information Needed]
|
| 126 |
|
| 127 |
-
|
| 128 |
|
| 129 |
-
|
| 130 |
|
| 131 |
-
|
| 132 |
|
|
|
|
| 133 |
|
|
|
|
| 134 |
|
| 135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
-
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
-
|
| 142 |
|
| 143 |
-
|
| 144 |
|
| 145 |
-
|
| 146 |
|
| 147 |
-
|
| 148 |
-
- **Hours used:** [More Information Needed]
|
| 149 |
-
- **Cloud Provider:** [More Information Needed]
|
| 150 |
-
- **Compute Region:** [More Information Needed]
|
| 151 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
|
| 153 |
-
|
| 154 |
|
| 155 |
-
|
|
|
|
|
|
|
| 156 |
|
| 157 |
-
|
|
|
|
| 158 |
|
| 159 |
-
|
| 160 |
|
| 161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
|
| 163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
|
| 165 |
-
|
| 166 |
|
| 167 |
-
|
| 168 |
|
| 169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
|
| 171 |
-
|
| 172 |
|
| 173 |
-
|
| 174 |
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
-
|
| 178 |
|
| 179 |
-
|
| 180 |
|
| 181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
|
| 183 |
-
|
| 184 |
|
| 185 |
-
|
| 186 |
|
| 187 |
-
|
| 188 |
|
| 189 |
-
|
| 190 |
|
| 191 |
-
|
| 192 |
|
| 193 |
-
|
|
|
|
| 194 |
|
| 195 |
-
|
| 196 |
|
| 197 |
-
|
| 198 |
|
| 199 |
-
[
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- tr
|
| 4 |
+
- en
|
| 5 |
+
- de
|
| 6 |
+
- es
|
| 7 |
+
- fr
|
| 8 |
+
- ru
|
| 9 |
+
- zh
|
| 10 |
+
- ja
|
| 11 |
+
- ko
|
| 12 |
+
license: mit
|
| 13 |
+
tags:
|
| 14 |
+
- turkish
|
| 15 |
+
- türkiye
|
| 16 |
+
- ai
|
| 17 |
+
- lamapi
|
| 18 |
+
- next
|
| 19 |
+
- next-x1
|
| 20 |
+
- text-generation
|
| 21 |
+
- open-source
|
| 22 |
+
- 70b
|
| 23 |
+
- large-language-model
|
| 24 |
+
- llm
|
| 25 |
+
- transformer
|
| 26 |
+
- artificial-intelligence
|
| 27 |
+
- machine-learning
|
| 28 |
+
- nlp
|
| 29 |
+
- multilingual
|
| 30 |
+
- instruction-tuned
|
| 31 |
+
- chat
|
| 32 |
+
- generative-ai
|
| 33 |
+
- optimized
|
| 34 |
+
- trl
|
| 35 |
+
- sft
|
| 36 |
+
- enterprise
|
| 37 |
+
- industrial
|
| 38 |
+
pipeline_tag: text-generation
|
| 39 |
+
datasets:
|
| 40 |
+
- mlabonne/FineTome-100k
|
| 41 |
+
- Gryphe/ChatGPT-4o-Writing-Prompts
|
| 42 |
+
- uclanlp/Brief-Pro
|
| 43 |
library_name: transformers
|
|
|
|
| 44 |
---
|
| 45 |
|
| 46 |
+

|
| 47 |
|
| 48 |
+
# 🚀 Next 70B (ultra1295)
|
| 49 |
|
| 50 |
+
### *Türkiye’s Most Powerful AI — Industrial Scale, High Precision, and Enterprise-Ready*
|
| 51 |
|
| 52 |
+
[](https://opensource.org/licenses/MIT)
|
| 53 |
+
[]()
|
| 54 |
+
[](https://huggingface.co/Lamapi/next-70b)
|
| 55 |
|
| 56 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
## 📖 Overview
|
| 59 |
|
| 60 |
+
**Next 70B** is a state-of-the-art **70-billion parameter large language model (LLM)** engineered for maximum accuracy, versatility, and instruction following. Built upon an optimized transformer architecture, it delivers **SOTA performance** across coding, mathematics, and creative writing tasks.
|
| 61 |
|
| 62 |
+
As the flagship model of the series, **Next 70B** is designed to handle the most demanding enterprise workloads. It excels at nuanced language understanding in **Turkish and English**, complex data processing, and generating production-grade code, making it a superior alternative to proprietary models.
|
| 63 |
|
| 64 |
+
---
|
| 65 |
|
| 66 |
+
## ⚡ Highlights
|
| 67 |
|
| 68 |
+
- 🇹🇷 **Türkiye’s most powerful open-weights AI model**
|
| 69 |
+
- 🏆 **Top-tier Performance:** Beats GPT-5.1 in MATH (99.0%) and achieves near-perfect GSM8K scores.
|
| 70 |
+
- 🌍 **Master-level multilingual understanding (Turkish, English, and 30+ languages)**
|
| 71 |
+
- 💻 **Coding Specialist:** Exceptional Python and JavaScript generation capabilities (HumanEval 97.8%).
|
| 72 |
+
- 🏢 **Industrial-grade stability for critical infrastructure**
|
| 73 |
+
- 📝 **Precise Instruction Following:** High IFEval score (95.0) ensures strict adherence to formatting and constraints.
|
| 74 |
|
| 75 |
+
---
|
| 76 |
|
| 77 |
+
## 📊 Benchmark Performance
|
| 78 |
|
| 79 |
+
**Next 70B** demonstrates world-class performance, surpassing major competitors in key academic and industrial benchmarks.
|
| 80 |
|
| 81 |
+

|
| 82 |
|
| 83 |
+
---
|
| 84 |
|
| 85 |
+
## 🚀 Installation & Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
**Note:** We recommend using a multi-GPU setup (e.g., 2x A100 80GB) for full precision or 48GB+ VRAM for 4-bit quantization.
|
| 88 |
|
| 89 |
+
```
|
| 90 |
+
!pip install unsloth
|
| 91 |
+
```
|
| 92 |
|
| 93 |
+
```python
|
| 94 |
+
from unsloth import FastLanguageModel
|
| 95 |
|
| 96 |
+
model, tokenizer = FastLanguageModel.from_pretrained("Lamapi/next-70b")
|
| 97 |
|
| 98 |
+
messages = [
|
| 99 |
+
{"role": "system", "content": "You are Next-X1, a helpful, smart, and precise AI assistant created by Lamapi."},
|
| 100 |
+
{"role" : "user", "content" : "Write a Python script to optimize a neural network using PyTorch."}
|
| 101 |
+
]
|
| 102 |
+
text = tokenizer.apply_chat_template(
|
| 103 |
+
messages,
|
| 104 |
+
tokenize = False,
|
| 105 |
+
add_generation_prompt = True
|
| 106 |
+
)
|
| 107 |
|
| 108 |
+
from transformers import TextStreamer
|
| 109 |
+
_ = model.generate(
|
| 110 |
+
**tokenizer(text, return_tensors = "pt").to("cuda"),
|
| 111 |
+
max_new_tokens = 2048,
|
| 112 |
+
temperature = 0.7, top_p = 0.95, top_k = 400,
|
| 113 |
+
streamer = TextStreamer(tokenizer, skip_prompt = True),
|
| 114 |
+
)
|
| 115 |
+
```
|
| 116 |
|
| 117 |
+
---
|
| 118 |
|
| 119 |
+
## 🧩 Key Features
|
| 120 |
|
| 121 |
+
| Feature | Description |
|
| 122 |
+
| --------------------------------------------- | ------------------------------------------------------------------------------ |
|
| 123 |
+
| 📚 **Massive Knowledge Base** | Trained on a diverse, high-quality dataset covering science, history, and law. |
|
| 124 |
+
| 🇹🇷 **Cultural Mastery** | Native-level nuance in Turkish idioms and professional terminology. |
|
| 125 |
+
| ⚙️ **High-Performance Scaling** | Optimized for high-throughput inference and low latency. |
|
| 126 |
+
| 🧮 **Scientific & Coding Excellence** | **99.0% MATH** score. Solves complex engineering and algorithmic problems. |
|
| 127 |
+
| 🎯 **Precision Focused** | Designed for tasks requiring strict output formats and high factual accuracy. |
|
| 128 |
+
| 🏢 **Enterprise Reliability** | Consistent and safe outputs suitable for commercial applications. |
|
| 129 |
|
| 130 |
+
---
|
| 131 |
|
| 132 |
+
## 📐 Model Specifications
|
| 133 |
|
| 134 |
+
| Specification | Details |
|
| 135 |
+
| ----------------- | ------------------------------------------------------------------ |
|
| 136 |
+
| **Base Model** | Llama |
|
| 137 |
+
| **Parameters** | 70 Billion |
|
| 138 |
+
| **Architecture** | Transformer (Causal LLM) |
|
| 139 |
+
| **Modalities** | Text-only |
|
| 140 |
+
| **Fine-Tuning** | SFT & DPO on high-quality instruct datasets |
|
| 141 |
+
| **Optimizations** | GQA, Flash Attention 3, Quantization-ready |
|
| 142 |
+
| **Primary Focus** | General Purpose Assistant, Math, Multilingual Chat |
|
| 143 |
|
| 144 |
+
---
|
| 145 |
|
| 146 |
+
## 🎯 Ideal Use Cases
|
| 147 |
|
| 148 |
+
* **Enterprise Assistants** — Customer support and internal knowledge management
|
| 149 |
+
* **Advanced Code Generation** — Full-stack development and debugging
|
| 150 |
+
* **Content Creation** — High-quality marketing copy, emails, and reports
|
| 151 |
+
* **Translation & Localization** — Highly accurate translation between Turkish/English
|
| 152 |
+
* **Data Extraction** — Structuring unstructured data into JSON/SQL
|
| 153 |
+
* **Academic Assistance** — Solving math problems and summarizing research papers
|
| 154 |
|
| 155 |
+
---
|
| 156 |
|
| 157 |
+
## 📄 License
|
| 158 |
|
| 159 |
+
Licensed under the **MIT License** — free for commercial and non-commercial use. Attribution is appreciated.
|
| 160 |
|
| 161 |
+
---
|
| 162 |
|
| 163 |
+
## 📞 Contact & Support
|
| 164 |
|
| 165 |
+
* 📧 **Email:** [lamapicontact@gmail.com](mailto:lamapicontact@gmail.com)
|
| 166 |
+
* 🤗 **HuggingFace:** [Lamapi](https://huggingface.co/Lamapi)
|
| 167 |
|
| 168 |
+
---
|
| 169 |
|
| 170 |
+
> **Next 70B** — Türkiye’s flagship AI model. Built for those who demand **accuracy**, **speed**, and **scale**.
|
| 171 |
|
| 172 |
+
[](https://huggingface.co/Lamapi)
|