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

Model Details

Model Description

  • Using shenzhi-wang/Mistral-7B-v0.3-Chinese-Chat as base model, and finetune the dataset as mentioned via unsloth. Makes the model uncensored.

Training Code

  • Open In Colab

Training Procedure Raw Files

  • ALL the procedure are training on Vast.ai

  • Hardware in Vast.ai:

    • GPU: 1x A100 SXM4 80GB

    • CPU: AMD EPYC 7513 32-Core Processor

    • RAM: 129 GB

    • Disk Space To Allocate:>150GB

    • Docker Image: pytorch/pytorch:2.2.0-cuda12.1-cudnn8-devel

    • Download the ipynb file.

Training Data

Usage

from transformers import pipeline

qa_model = pipeline("question-answering", model='stephenlzc/Mistral-7B-v0.3-Chinese-Chat-uncensored')
question = "How to make girlfreind laugh? please answer in Chinese."
qa_model(question = question)

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

Model tree for stephenlzc/Mistral-7B-v0.3-Chinese-Chat-uncensored

Quantized
(4)
this model
Merges
1 model
Quantizations
1 model

Datasets used to train stephenlzc/Mistral-7B-v0.3-Chinese-Chat-uncensored