Text Generation
Transformers
GGUF
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
Instructions to use thelamapi/next-70b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thelamapi/next-70b-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="thelamapi/next-70b-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thelamapi/next-70b-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use thelamapi/next-70b-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf thelamapi/next-70b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf thelamapi/next-70b-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf thelamapi/next-70b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf thelamapi/next-70b-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf thelamapi/next-70b-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf thelamapi/next-70b-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf thelamapi/next-70b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf thelamapi/next-70b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/thelamapi/next-70b-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use thelamapi/next-70b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thelamapi/next-70b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thelamapi/next-70b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/thelamapi/next-70b-GGUF:Q4_K_M
- SGLang
How to use thelamapi/next-70b-GGUF 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 "thelamapi/next-70b-GGUF" \ --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": "thelamapi/next-70b-GGUF", "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 "thelamapi/next-70b-GGUF" \ --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": "thelamapi/next-70b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use thelamapi/next-70b-GGUF with Ollama:
ollama run hf.co/thelamapi/next-70b-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use thelamapi/next-70b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf thelamapi/next-70b-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "thelamapi/next-70b-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use thelamapi/next-70b-GGUF with Docker Model Runner:
docker model run hf.co/thelamapi/next-70b-GGUF:Q4_K_M
- Lemonade
How to use thelamapi/next-70b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull thelamapi/next-70b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.next-70b-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use thelamapi/next-70b-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf thelamapi/next-70b-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default thelamapi/next-70b-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use thelamapi/next-70b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf thelamapi/next-70b-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "thelamapi/next-70b-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,179 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
| 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 |
+
- neulab/agent-data-collection
|
| 44 |
+
- openai/gsm8k
|
| 45 |
+
- HuggingFaceH4/MATH-500
|
| 46 |
+
- princeton-nlp/SWE-bench_Verified
|
| 47 |
+
library_name: transformers
|
| 48 |
+
base_model:
|
| 49 |
+
- thelamapi/next-70b
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
# 🚀 Next 70B (ultra1295)
|
| 55 |
+
|
| 56 |
+
### *Türkiye’s Most Powerful AI — Industrial Scale, High Precision, and Enterprise-Ready*
|
| 57 |
+
|
| 58 |
+
[](https://opensource.org/licenses/MIT)
|
| 59 |
+
[]()
|
| 60 |
+
[](https://huggingface.co/Lamapi/next-70b)
|
| 61 |
+
[](https://discord.gg/XgH4EpyPD2)
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
## 📖 Overview
|
| 66 |
+
|
| 67 |
+
**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.
|
| 68 |
+
|
| 69 |
+
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.
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## ⚡ Highlights
|
| 74 |
+
|
| 75 |
+
- 🇹🇷 **Türkiye’s most powerful open-weights AI model**
|
| 76 |
+
- 🏆 **Top-tier Performance:** Beats GPT-5.1 in MATH (99.0%) and achieves near-perfect GSM8K scores.
|
| 77 |
+
- 🌍 **Master-level multilingual understanding (Turkish, English, and 30+ languages)**
|
| 78 |
+
- 💻 **Coding Specialist:** Exceptional Python and JavaScript generation capabilities (HumanEval 97.8%).
|
| 79 |
+
- 🏢 **Industrial-grade stability for critical infrastructure**
|
| 80 |
+
- 📝 **Precise Instruction Following:** High IFEval score (95.0) ensures strict adherence to formatting and constraints.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## 📊 Benchmark Performance
|
| 85 |
+
|
| 86 |
+
**Next 70B** demonstrates world-class performance, surpassing major competitors in key academic and industrial benchmarks.
|
| 87 |
+
|
| 88 |
+

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