Text Generation
Transformers
Safetensors
matilda-platypus
matilda
platypus
representation-bridge
qwen3
base-model
custom_code
Instructions to use Maincode/Matilda-Platypus-6B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maincode/Matilda-Platypus-6B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Maincode/Matilda-Platypus-6B-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Maincode/Matilda-Platypus-6B-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Maincode/Matilda-Platypus-6B-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-6B-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-6B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Maincode/Matilda-Platypus-6B-Base
- SGLang
How to use Maincode/Matilda-Platypus-6B-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-6B-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-6B-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-6B-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-6B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Maincode/Matilda-Platypus-6B-Base with Docker Model Runner:
docker model run hf.co/Maincode/Matilda-Platypus-6B-Base
Download eval_results.json from Maincode/Matilda-Platypus-6B-Base: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/Maincode/Matilda-Platypus-6B-Base/resolve/main/eval_results.json
- Command line
-
hf download hf://Maincode/Matilda-Platypus-6B-Base/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/Maincode/Matilda-Platypus-6B-Base/resolve/main/eval_results.json
1.18 kB
| { | |
| "protocol": "lm-eval-harness 0.4.13, base-model protocol, HumanEval fence-stripped", | |
| "cut": "17+19", | |
| "params_b": 6.22, | |
| "gflop_per_token": 11.8, | |
| "compute_pct_of_larger_parent": 75, | |
| "smaller_parent": { | |
| "name": "Qwen3-4B-Base", | |
| "humaneval": 0.628, | |
| "gsm8k_cot": 0.8438, | |
| "mmlu": 0.7303, | |
| "bbh_cot_fewshot": 0.712, | |
| "hellaswag": 0.737, | |
| "arc_easy": 0.7609, | |
| "arc_challenge": 0.5171, | |
| "openbookqa": 0.406, | |
| "winogrande": 0.7024, | |
| "piqa": 0.778, | |
| "lambada_openai": 0.6912, | |
| "mbpp": 0.672, | |
| "boolq": 0.8318 | |
| }, | |
| "model": { | |
| "humaneval": 0.652, | |
| "gsm8k_cot": 0.8726, | |
| "mmlu": 0.7361, | |
| "bbh_cot_fewshot": 0.7113, | |
| "hellaswag": 0.7435, | |
| "arc_easy": 0.7348, | |
| "arc_challenge": 0.5247, | |
| "openbookqa": 0.428, | |
| "winogrande": 0.6953, | |
| "piqa": 0.7894, | |
| "lambada_openai": 0.681, | |
| "mbpp": 0.668, | |
| "boolq": 0.8245 | |
| }, | |
| "larger_parent": { | |
| "name": "Qwen3-8B-Base", | |
| "humaneval": 0.677, | |
| "gsm8k_cot": 0.862, | |
| "mmlu": 0.7679, | |
| "bbh_cot_fewshot": 0.7736, | |
| "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.696, | |
| "boolq": 0.8321 | |
| } | |
| } |