Text Generation
Transformers
Safetensors
qwen3_moe
Neuron-46x4B-Instruct
Neura Tech AI
conversational
Instructions to use Neura-Tech-AI/Neuron-46x4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Neura-Tech-AI/Neuron-46x4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Neura-Tech-AI/Neuron-46x4B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Neura-Tech-AI/Neuron-46x4B") model = AutoModelForCausalLM.from_pretrained("Neura-Tech-AI/Neuron-46x4B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Neura-Tech-AI/Neuron-46x4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Neura-Tech-AI/Neuron-46x4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Neura-Tech-AI/Neuron-46x4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Neura-Tech-AI/Neuron-46x4B
- SGLang
How to use Neura-Tech-AI/Neuron-46x4B 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 "Neura-Tech-AI/Neuron-46x4B" \ --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": "Neura-Tech-AI/Neuron-46x4B", "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 "Neura-Tech-AI/Neuron-46x4B" \ --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": "Neura-Tech-AI/Neuron-46x4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Neura-Tech-AI/Neuron-46x4B with Docker Model Runner:
docker model run hf.co/Neura-Tech-AI/Neuron-46x4B
Update README.md
Browse files
README.md
CHANGED
|
@@ -122,13 +122,21 @@ The model can be used as a foundation for AI agents, structured generation, auto
|
|
| 122 |
|
| 123 |
# Model Configuration
|
| 124 |
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
| **Model** |
|
| 128 |
-
|
|
| 129 |
-
|
|
| 130 |
-
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
# Base Models
|
| 134 |
|
|
|
|
| 122 |
|
| 123 |
# Model Configuration
|
| 124 |
|
| 125 |
+
| **Property** | **Value** |
|
| 126 |
+
| :--- | :--- |
|
| 127 |
+
| **Model** | Neuron-46x4B-Instruct |
|
| 128 |
+
| **Architecture** | Sparse Mixture of Experts (MoE) |
|
| 129 |
+
| **Total Parameters** | ~125B |
|
| 130 |
+
| **Active Parameters** | ~8B per token |
|
| 131 |
+
| **Total Experts** | 46 |
|
| 132 |
+
| **Expert Size** | ~4B |
|
| 133 |
+
| **Context Length** | 262,144 Tokens |
|
| 134 |
+
| **Model Family** | Qwen3 |
|
| 135 |
+
| **Model Type** | Instruction-Tuned Causal Language Model |
|
| 136 |
+
| **Task** | Text Generation |
|
| 137 |
+
| **Precision** | BF16 |
|
| 138 |
+
| **License** | Apache-2.0 |
|
| 139 |
+
| **Format** | Safetensors |
|
| 140 |
|
| 141 |
# Base Models
|
| 142 |
|