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

Model Card for Vistral-7B-Chat

Model Details

  • Model Name: Vistral-7B-Chat
  • Version: 1.0
  • Model Type: Causal Language Model
  • Architecture: Transformer-based model with 7 billion parameters
  • Quantization: 8-bit quantized for efficiency

Usage

How to use

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "nhotin/vistral7B-chat-gguf"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

input_text = "Your text here"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
19
Safetensors
Model size
7B params
Tensor type
F32
F16
I8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support