allenai/dolma
Updated โข 3.52k โข 1.06k
Run mlx-community/OLMo-1B-hf-4bit-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/OLMo-1B-hf-4bit-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/OLMo-1B-hf-4bit-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use mlx-community/OLMo-1B-hf-4bit-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/OLMo-1B-hf-4bit-mlx --local-dir OLMo-1B-hf-4bit-mlx
Configuration Parsing Warning:In UNKNOWN_FILENAME: "auto_map.AutoTokenizer" must be a string
This model was converted to MLX format from allenai/OLMo-1B.
Refer to the original model card for more details on the model.
pip install mlx-lm
pip install ai2-olmo
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/OLMo-1B-hf-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized