Instructions to use Ronuhz/Jan-v1-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Ronuhz/Jan-v1-4B with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Ronuhz/Jan-v1-4B") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use Ronuhz/Jan-v1-4B with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "Ronuhz/Jan-v1-4B" --prompt "Once upon a time"
- Atomic Chat
Download tokenizer.json from Ronuhz/Jan-v1-4B: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/Ronuhz/Jan-v1-4B/resolve/main/tokenizer.json
- Command line
-
hf download hf://Ronuhz/Jan-v1-4B/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Ronuhz/Jan-v1-4B/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- 6aec39639a0a2d1ca966356b8c2b8426a484f80ff80731f44fa8482040713bdf
- Size of remote file:
- 11.4 MB
- SHA256:
- aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.