How to use from
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 "Nabbers1999/Mini-Llama-3B-Base-0124" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Nabbers1999/Mini-Llama-3B-Base-0124",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
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 "Nabbers1999/Mini-Llama-3B-Base-0124" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Nabbers1999/Mini-Llama-3B-Base-0124",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Mini_Llama

Mini-Llama 3B Base Pretrain - 0124

I have been through several iterations and this is my current test base. Use at your own risk.

Architectural modifications by mrfakename: See mrfakename/Ministral-3-3B-Base-2512-Llamafied-TextOnly

I have added the jinja from Llama 3.2 3B, added all template tokens to the vocabulary, changed Ministral's built in [THINK] and [/THINK] tags to traditional <think> and </think> tags, padded to a multiple of 128 and resized the embeddings.

This is a base pretrain, ready for instruct training.

** Special Note: Due to the custom vocabulary, the tokenizer will not be recognized by llama.cpp, you will have to add its checksum to convert_hf_to_gguf.py before converting any derivatives to gguf.

Downloads last month
14
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Nabbers1999/Mini-Llama-3B-Base-0124

Finetuned
(57)
this model

Collection including Nabbers1999/Mini-Llama-3B-Base-0124