Run this model with HF Jobs

Run ewof/koishi-instruct-3b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ewof/koishi-instruct-3b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ewof/koishi-instruct-3b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ewof/koishi-instruct-3b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ewof/koishi-instruct-3b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "ewof/koishi-instruct-3b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "ewof/koishi-instruct-3b",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/ewof/koishi-instruct-3b
Quick Links

Base Model

native fine tune of togethercomputer/RedPajama-INCITE-Base-3B-v1

Prompting

The current model version has been trained on prompts using three different roles, which are denoted by the following tokens: <|system|>, <|user|> and <|model|>.

The <|system|> prompt can be used to inject out-of-channel information behind the scenes, while the <|user|> prompt should be used to indicate user input. The <|model|> token should then be used to indicate that the model should generate a response. These tokens can happen multiple times and be chained up to form a conversation history.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 33.48
ARC (25-shot) 40.96
HellaSwag (10-shot) 64.54
MMLU (5-shot) 26.58
TruthfulQA (0-shot) 31.65
Winogrande (5-shot) 64.09
GSM8K (5-shot) 1.14
DROP (3-shot) 5.41
Downloads last month
110
Safetensors
Model size
3B params
Tensor type
F32
·
BF16
·
BOOL
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ewof/koishi-instruct-3b

Quantizations
3 models

Dataset used to train ewof/koishi-instruct-3b

Spaces using ewof/koishi-instruct-3b 3

Collection including ewof/koishi-instruct-3b