Text Generation
Transformers
Safetensors
mixtral
Mixture of Experts
frankenmoe
Merge
mergekit
lazymergekit
CultriX/MonaTrix-v4
mlabonne/OmniTruthyBeagle-7B-v0
CultriX/MoNeuTrix-7B-v1
paulml/OmniBeagleSquaredMBX-v3-7B
text-generation-inference
Instructions to use CultriX/MoNeuTrix-MoE-4x7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CultriX/MoNeuTrix-MoE-4x7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CultriX/MoNeuTrix-MoE-4x7B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CultriX/MoNeuTrix-MoE-4x7B") model = AutoModelForCausalLM.from_pretrained("CultriX/MoNeuTrix-MoE-4x7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CultriX/MoNeuTrix-MoE-4x7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CultriX/MoNeuTrix-MoE-4x7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CultriX/MoNeuTrix-MoE-4x7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CultriX/MoNeuTrix-MoE-4x7B
- SGLang
How to use CultriX/MoNeuTrix-MoE-4x7B 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 "CultriX/MoNeuTrix-MoE-4x7B" \ --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": "CultriX/MoNeuTrix-MoE-4x7B", "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 "CultriX/MoNeuTrix-MoE-4x7B" \ --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": "CultriX/MoNeuTrix-MoE-4x7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CultriX/MoNeuTrix-MoE-4x7B with Docker Model Runner:
docker model run hf.co/CultriX/MoNeuTrix-MoE-4x7B
- Xet hash:
- 3a6084989a38d62a7a4c58b2a6f120e82d497ad48c70096441a7216af429f41a
- Size of remote file:
- 9.92 GB
- SHA256:
- bce5822bae94d16aad8031cf2fd530418f7084e75eae03e7b971783dc04a9fa8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.