Text Generation
MLX
Safetensors
Polish
English
llama
typed-decisions
decision-making
classification
calibration
polish
8-bit precision
decision-model
conversational
Instructions to use Remek/basal-1.5-max-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Remek/basal-1.5-max-MLX-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Remek/basal-1.5-max-MLX-8bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use Remek/basal-1.5-max-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Remek/basal-1.5-max-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Remek/basal-1.5-max-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Remek/basal-1.5-max-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Download CALIBRATION.json from Remek/basal-1.5-max-MLX-8bit: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/Remek/basal-1.5-max-MLX-8bit/resolve/main/CALIBRATION.json
- Command line
-
hf download hf://Remek/basal-1.5-max-MLX-8bit/CALIBRATION.json
-
curl -L -o CALIBRATION.json https://huggingface.co/Remek/basal-1.5-max-MLX-8bit/resolve/main/CALIBRATION.json
1.11 kB
| { | |
| "temperature_per_prim": { | |
| "choice": 1.4983070768766815, | |
| "noul": 1.5422108254079405, | |
| "score": 2.058604473286984 | |
| }, | |
| "thresholds": { | |
| "0.01": { | |
| "confidence": 0.9467366879733952, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "cert_coverage": 0.6019283746556474, | |
| "cert_error": 0.01067887109077037, | |
| "cert_upper95": 0.01664426096161634, | |
| "test_coverage": 0.6217289719626168, | |
| "test_error": 0.005824877865464151, | |
| "test_pl_coverage": 0.6877559666713741, | |
| "test_pl_error": 0.002874743326488738 | |
| }, | |
| "0.05": { | |
| "confidence": 0.7290524418873509, | |
| "method": "bound-controlled (one-sided 95% Clopper-Pearson on FIT)", | |
| "cert_coverage": 0.8232323232323232, | |
| "cert_error": 0.04573340769659784, | |
| "cert_upper95": 0.05469828739589324, | |
| "test_coverage": 0.8449766355140187, | |
| "test_error": 0.04064703442554951, | |
| "test_pl_coverage": 0.9015675752012428, | |
| "test_pl_error": 0.024436090225563922 | |
| } | |
| }, | |
| "fitted_on": "calib FIT split (70% by twin group)", | |
| "certified_on": "calib CERT split (30%)", | |
| "evaluated_on": "test (frozen)", | |
| "eval_dtype": "float32" | |
| } | |