Dedicated Endpoints
Run this model inference on single tenant GPU with unmatched speed and reliability at scale.
Container
Run this model inference with full control and performance in your environment.
Get help setting up a custom Dedicated Endpoints.
Talk with our engineer to get a quote for reserved GPU instances with discounts.
README
License: apache-2.0Benchmark gate
- eval profile:
math - gate: PASSED
| check | value | result |
|---|---|---|
| gsm8k >= 0.05 | 0.4000 | pass |
| gsm8k improve >= 0.02 | 0.0700 | pass |
| arc_challenge regress <= 0.03 | -0.0500 | pass |
| hellaswag regress <= 0.03 | 0.0000 | pass |
| piqa regress <= 0.03 | 0.0200 | pass |
lm-eval results
| task | metric | baseline | candidate | delta |
|---|---|---|---|---|
| arc_challenge | acc,none | 0.3200 | 0.3700 | +0.0500 |
| gsm8k | exact_match,strict-match | 0.3300 | 0.4000 | +0.0700 |
| hellaswag | acc,none | 0.4300 | 0.4300 | +0.0000 |
| piqa | acc,none | 0.7200 | 0.7000 | -0.0200 |
Training
- dataset:
/repo/research/data/education-lesson-chat.jsonl - mode:
qlora - samples: {'train': 3528, 'eval': 72}
- final train loss: 0.340698
- eval loss: 0.494981
Load with PEFT
python
from peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizerbase = "openbmb/MiniCPM5-1B"adapter = "MSGEncrypted/minicpm5-1b-math-lora"tokenizer = AutoTokenizer.from_pretrained(base, trust_remote_code=True)model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="auto", device_map="auto", trust_remote_code=True)model = PeftModel.from_pretrained(model, adapter)
Model provider
build-small-hackathon
Model tree
Base
openbmb/MiniCPM5-1B
Adapter
this model
Modalities
Input
Text
Output
Text
Pricing
Dedicated Endpoints
View detailsSupported Functionality
Model APIs
Dedicated Endpoints
Container
More information