Text Generation
Transformers
Safetensors
hybrid_model
custom_code
Terminator-X
mHC
MLA
experimental
research
conversational
Instructions to use Parveshiiii/Terminator-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Parveshiiii/Terminator-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Parveshiiii/Terminator-2B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Parveshiiii/Terminator-2B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Parveshiiii/Terminator-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Parveshiiii/Terminator-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Parveshiiii/Terminator-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Parveshiiii/Terminator-2B
- SGLang
How to use Parveshiiii/Terminator-2B 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 "Parveshiiii/Terminator-2B" \ --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": "Parveshiiii/Terminator-2B", "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 "Parveshiiii/Terminator-2B" \ --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": "Parveshiiii/Terminator-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Parveshiiii/Terminator-2B with Docker Model Runner:
docker model run hf.co/Parveshiiii/Terminator-2B
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
tags:
|
| 5 |
+
- custom_code
|
| 6 |
+
- Terminator-X
|
| 7 |
+
- mHC
|
| 8 |
+
- MLA
|
| 9 |
+
- experimental
|
| 10 |
+
- research
|
| 11 |
+
library_name: transformers
|
| 12 |
+
---
|
| 13 |
+
## Terminator-X
|
| 14 |
+
|
| 15 |
+
> Note: This model not trained.
|
| 16 |
+
|
| 17 |
+
This is a custom model made by [Parveshiiii](https://huggingface.co/Parveshiiii).
|
| 18 |
+
It is a highly advanced implementation of **MHC (Manifold Hyper Connections)** and **DeepSeek’s MLA (Multi-Head-latent-Attention)**.
|
| 19 |
+
|
| 20 |
+
- Tokenizer used: Qwen3
|