How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF:Q4_K_M
Quick Links

Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF

Quantized q4_k_m GGUF version of the original model jpacifico/Chocolatine-3B-Instruct-DPO-v1.2
can be used on a CPU device, compatible llama.cpp
now supported architecture by LM Studio.
Also ready for Raspberry Pi 5 8Gb.

The model supports 128K context length.

Ollama

jpacifico/chocolatine-3b

Usage:

ollama run jpacifico/chocolatine-3b

Ollama Modelfile example :

FROM ./chocolatine-3b-instruct-dpo-v1.2-q4_k_m.gguf
TEMPLATE """{{ if .System }}<|system|>
{{ .System }}<|end|>
{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}<|end|>
{{ end }}<|assistant|>
{{ .Response }}<|end|>
"""
PARAMETER stop """{"stop": ["<|end|>","<|user|>","<|assistant|>"]}"""
SYSTEM """You are a friendly assistant called Chocolatine."""

Limitations

The Chocolatine model is a quick demonstration that a base model can be easily fine-tuned to achieve compelling performance.
It does not have any moderation mechanism.

  • Developed by: Jonathan Pacifico, 2024
  • Model type: LLM
  • Language(s) (NLP): French, English
  • License: MIT
Downloads last month
15
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF

Quantized
(5)
this model

Dataset used to train jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF

Collection including jpacifico/Chocolatine-3B-Instruct-DPO-v1.2-Q4_K_M-GGUF