Text Generation
Transformers
Safetensors
English
Korean
Motif
feature-extraction
motif
motif-3
mixture-of-experts
Mixture of Experts
multilingual
pretrained
base-model
custom_code
Instructions to use Motif-Technologies/Motif-3-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Motif-Technologies/Motif-3-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Motif-Technologies/Motif-3-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Motif-Technologies/Motif-3-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Motif-Technologies/Motif-3-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Motif-Technologies/Motif-3-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Motif-Technologies/Motif-3-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Motif-Technologies/Motif-3-Base
- SGLang
How to use Motif-Technologies/Motif-3-Base 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 "Motif-Technologies/Motif-3-Base" \ --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": "Motif-Technologies/Motif-3-Base", "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 "Motif-Technologies/Motif-3-Base" \ --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": "Motif-Technologies/Motif-3-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Motif-Technologies/Motif-3-Base with Docker Model Runner:
docker model run hf.co/Motif-Technologies/Motif-3-Base
Commit History
-
Update README.md
Verified signatureac7c9a7 -
Update README.md
Verified signature50241dc -
Upload LICENSE.md
Verified signature266f0fd
-
Update README.md
Verified signature77b27e9
-
Update README.md
Verified signature1268c57
-
Update README.md
Verified signaturec36edcd
-
Update README.md
Verified signatured42d47f -
Update README.md
Verified signaturea112f98 -
Update README.md
Verified signature2ab4351 -
Upload tokenizer.json
Verified signature76975db -
Delete tokenizer.json
Verified signaturefd1e6dc -
Add base model card (README)
Verified signaturea45182c -
Upload 2 files
Verified signature33ac2f6 -
Delete .converted
Verified signature4811a84 -
Delete modeling_motif.py
Verified signature43fc861 -
Delete configuration_motif.py
Verified signature369b21b -
Upload folder using huggingface_hub
Verified signature028c31e -
initial commit
Verified signature05ca903