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 squ11z1/LeChatonFat:
# Run inference directly in the terminal:
llama-cli -hf squ11z1/LeChatonFat:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf squ11z1/LeChatonFat:
# Run inference directly in the terminal:
llama-cli -hf squ11z1/LeChatonFat:
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 squ11z1/LeChatonFat:
# Run inference directly in the terminal:
./llama-cli -hf squ11z1/LeChatonFat:
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 squ11z1/LeChatonFat:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf squ11z1/LeChatonFat:
Use Docker
docker model run hf.co/squ11z1/LeChatonFat:
Quick Links

Le Chaton Fat 🐱

le1

le2

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tok = AutoTokenizer.from_pretrained("squ11z1/LeChatonFat")
model = AutoModelForCausalLM.from_pretrained("squ11z1/LeChatonFat", dtype=torch.bfloat16, device_map="cuda")
msgs = [{"role": "user", "content": "Who are you?"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to("cuda")
print(tok.decode(model.generate(ids, max_new_tokens=128)[0], skip_special_tokens=True))

License

Inherits the base model's license (Apache-2.0).

God bless AI

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

Model tree for squ11z1/LeChatonFat