Text Generation
Transformers
Safetensors
English
mume_gpt
causal-lm
custom_code
math
base-model
Eval Results (legacy)
Instructions to use MuseMesh/mume-math-125m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MuseMesh/mume-math-125m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MuseMesh/mume-math-125m", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MuseMesh/mume-math-125m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MuseMesh/mume-math-125m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MuseMesh/mume-math-125m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MuseMesh/mume-math-125m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MuseMesh/mume-math-125m
- SGLang
How to use MuseMesh/mume-math-125m 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 "MuseMesh/mume-math-125m" \ --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": "MuseMesh/mume-math-125m", "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 "MuseMesh/mume-math-125m" \ --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": "MuseMesh/mume-math-125m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MuseMesh/mume-math-125m with Docker Model Runner:
docker model run hf.co/MuseMesh/mume-math-125m
Download tokenizer.model from MuseMesh/mume-math-125m: direct link, hf CLI and curl.
- Browser
- Download file 518 kB
-
https://huggingface.co/MuseMesh/mume-math-125m/resolve/main/tokenizer.model
- Command line
-
hf download hf://MuseMesh/mume-math-125m/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/MuseMesh/mume-math-125m/resolve/main/tokenizer.model
518 kB
- Xet hash:
- b7f2712c8f7c9ecb8c51c43220b21028ada0c5d00bfa3280b2acd3ab744b3ba7
- Size of remote file:
- 518 kB
- SHA256:
- a8fce91a9fbcce711999376b291a36456b15beb62ee9d821c8cf175a67d2b409
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.