Text Generation
Transformers
Safetensors
matilda-platypus
matilda
platypus
representation-bridge
qwen3
base-model
custom_code
Instructions to use Maincode/Matilda-Platypus-13B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maincode/Matilda-Platypus-13B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Maincode/Matilda-Platypus-13B-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Maincode/Matilda-Platypus-13B-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Maincode/Matilda-Platypus-13B-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Maincode/Matilda-Platypus-13B-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Maincode/Matilda-Platypus-13B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Maincode/Matilda-Platypus-13B-Base
- SGLang
How to use Maincode/Matilda-Platypus-13B-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 "Maincode/Matilda-Platypus-13B-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": "Maincode/Matilda-Platypus-13B-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 "Maincode/Matilda-Platypus-13B-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": "Maincode/Matilda-Platypus-13B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Maincode/Matilda-Platypus-13B-Base with Docker Model Runner:
docker model run hf.co/Maincode/Matilda-Platypus-13B-Base
Download eval_results.json from Maincode/Matilda-Platypus-13B-Base: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/Maincode/Matilda-Platypus-13B-Base/resolve/main/eval_results.json
- Command line
-
hf download hf://Maincode/Matilda-Platypus-13B-Base/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/Maincode/Matilda-Platypus-13B-Base/resolve/main/eval_results.json
1.18 kB
| { | |
| "protocol": "lm-eval-harness 0.4.13, base-model protocol, HumanEval fence-stripped", | |
| "cut": "29+13", | |
| "params_b": 13.51, | |
| "gflop_per_token": 26.29, | |
| "compute_pct_of_larger_parent": 91, | |
| "smaller_parent": { | |
| "name": "Qwen3-8B-Base", | |
| "humaneval": 0.677, | |
| "gsm8k_cot": 0.856, | |
| "mmlu": 0.7683, | |
| "bbh_cot_fewshot": 0.7742, | |
| "hellaswag": 0.7859, | |
| "arc_easy": 0.7984, | |
| "arc_challenge": 0.5717, | |
| "openbookqa": 0.416, | |
| "winogrande": 0.723, | |
| "piqa": 0.7943, | |
| "lambada_openai": 0.7105, | |
| "mbpp": 0.686, | |
| "boolq": 0.8321 | |
| }, | |
| "model": { | |
| "humaneval": 0.75, | |
| "gsm8k_cot": 0.8825, | |
| "mmlu": 0.7956, | |
| "bbh_cot_fewshot": 0.7848, | |
| "hellaswag": 0.7961, | |
| "arc_easy": 0.7942, | |
| "arc_challenge": 0.5631, | |
| "openbookqa": 0.446, | |
| "winogrande": 0.7537, | |
| "piqa": 0.8003, | |
| "lambada_openai": 0.7221, | |
| "mbpp": 0.73, | |
| "boolq": 0.8538 | |
| }, | |
| "larger_parent": { | |
| "name": "Qwen3-14B-Base", | |
| "humaneval": 0.72, | |
| "gsm8k_cot": 0.8704, | |
| "mmlu": 0.8053, | |
| "bbh_cot_fewshot": 0.7877, | |
| "hellaswag": 0.8136, | |
| "arc_easy": 0.8194, | |
| "arc_challenge": 0.5879, | |
| "openbookqa": 0.48, | |
| "winogrande": 0.7466, | |
| "piqa": 0.8243, | |
| "lambada_openai": 0.7419, | |
| "mbpp": 0.748, | |
| "boolq": 0.8651 | |
| } | |
| } |