Text Generation
Transformers
Safetensors
GGUF
English
multilingual
deepnarra_paham
deepnarra
paham
4.17m
v1.0
sovereign-sage
3-gear-router
elastic-sizing
hybrid-gla-dsa
awake-continuum
bitnet-b158
tq1_0
Instructions to use DeepNarra/Paham with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepNarra/Paham with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DeepNarra/Paham")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("DeepNarra/Paham", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DeepNarra/Paham 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 DeepNarra/Paham:TQ1_0 # Run inference directly in the terminal: llama cli -hf DeepNarra/Paham:TQ1_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DeepNarra/Paham:TQ1_0 # Run inference directly in the terminal: llama cli -hf DeepNarra/Paham:TQ1_0
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 DeepNarra/Paham:TQ1_0 # Run inference directly in the terminal: ./llama-cli -hf DeepNarra/Paham:TQ1_0
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 DeepNarra/Paham:TQ1_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf DeepNarra/Paham:TQ1_0
Use Docker
docker model run hf.co/DeepNarra/Paham:TQ1_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use DeepNarra/Paham with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepNarra/Paham" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Paham", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DeepNarra/Paham:TQ1_0
- SGLang
How to use DeepNarra/Paham 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 "DeepNarra/Paham" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Paham", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "DeepNarra/Paham" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Paham", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use DeepNarra/Paham with Ollama:
ollama run hf.co/DeepNarra/Paham:TQ1_0
- Unsloth Desktop
- Docker Model Runner
How to use DeepNarra/Paham with Docker Model Runner:
docker model run hf.co/DeepNarra/Paham:TQ1_0
- Lemonade
How to use DeepNarra/Paham with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DeepNarra/Paham:TQ1_0
Run and chat with the model
lemonade run user.Paham-TQ1_0
List all available models
lemonade list
- Atomic Chat
Upload config.json with huggingface_hub
Browse files- config.json +40 -0
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "DeepNarra/Paham",
|
| 3 |
+
"model_name": "DeepNarra Paham 1.0 (758M-A45M)",
|
| 4 |
+
"model_version": "1.0.0",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"DeepNarraPahamForCausalLM"
|
| 7 |
+
],
|
| 8 |
+
"model_type": "deepnarra_paham",
|
| 9 |
+
"creator": "DeepNarra",
|
| 10 |
+
"huggingface_url": "https://huggingface.co/DeepNarra/Paham",
|
| 11 |
+
"torch_dtype": "float16",
|
| 12 |
+
"transformers_version": "4.45.0",
|
| 13 |
+
"vocab_size": 48760,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"intermediate_size": 2048,
|
| 16 |
+
"num_hidden_layers": 8,
|
| 17 |
+
"num_attention_heads": 8,
|
| 18 |
+
"num_key_value_heads": 4,
|
| 19 |
+
"max_position_embeddings": 2097152,
|
| 20 |
+
"elastic_gears": {
|
| 21 |
+
"gear_1_reflex": "45M",
|
| 22 |
+
"gear_2_standard": "75M",
|
| 23 |
+
"gear_3_sovereign": "100M"
|
| 24 |
+
},
|
| 25 |
+
"measured_velocity_tok_s": 1680.7,
|
| 26 |
+
"measured_latency_ms": 9.52,
|
| 27 |
+
"hybrid_attention": "75% Lyapunov GLA Recurrence + 25% GLM-5 DSA IndexShare",
|
| 28 |
+
"latent_phase_space_dim": 768,
|
| 29 |
+
"multi_token_prediction_k": 4,
|
| 30 |
+
"prompt_lookup_decoding_k": 50,
|
| 31 |
+
"awake_continuum_enabled": true,
|
| 32 |
+
"macro_engines": 23,
|
| 33 |
+
"sub_experts_per_engine": 4,
|
| 34 |
+
"total_experts": 92,
|
| 35 |
+
"active_experts_per_token": "Elastic (1-3)",
|
| 36 |
+
"shared_expert": true,
|
| 37 |
+
"bitnet_b158_quantization": "TQ1_0",
|
| 38 |
+
"total_parameters": "758.8M",
|
| 39 |
+
"active_parameters": "45M (Reflex) / 100M (Deep)"
|
| 40 |
+
}
|