|
--- |
|
language: |
|
- en |
|
license: mit |
|
library_name: transformers |
|
tags: |
|
- chat |
|
- phi |
|
- phi3 |
|
- phi3.5 |
|
- finetune |
|
- TensorBlock |
|
- GGUF |
|
base_model: MaziyarPanahi/calme-2.1-phi3.5-4b |
|
datasets: |
|
- MaziyarPanahi/truthy-dpo-v0.1-axolotl |
|
pipeline_tag: text-generation |
|
inference: false |
|
model_creator: MaziyarPanahi |
|
quantized_by: MaziyarPanahi |
|
model-index: |
|
- name: calme-2.1-phi3.5-4b |
|
results: |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: IFEval (0-Shot) |
|
type: HuggingFaceH4/ifeval |
|
args: |
|
num_few_shot: 0 |
|
metrics: |
|
- type: inst_level_strict_acc and prompt_level_strict_acc |
|
value: 56.59 |
|
name: strict accuracy |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: BBH (3-Shot) |
|
type: BBH |
|
args: |
|
num_few_shot: 3 |
|
metrics: |
|
- type: acc_norm |
|
value: 36.11 |
|
name: normalized accuracy |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: MATH Lvl 5 (4-Shot) |
|
type: hendrycks/competition_math |
|
args: |
|
num_few_shot: 4 |
|
metrics: |
|
- type: exact_match |
|
value: 14.43 |
|
name: exact match |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: GPQA (0-shot) |
|
type: Idavidrein/gpqa |
|
args: |
|
num_few_shot: 0 |
|
metrics: |
|
- type: acc_norm |
|
value: 12.53 |
|
name: acc_norm |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: MuSR (0-shot) |
|
type: TAUR-Lab/MuSR |
|
args: |
|
num_few_shot: 0 |
|
metrics: |
|
- type: acc_norm |
|
value: 9.77 |
|
name: acc_norm |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
- task: |
|
type: text-generation |
|
name: Text Generation |
|
dataset: |
|
name: MMLU-PRO (5-shot) |
|
type: TIGER-Lab/MMLU-Pro |
|
config: main |
|
split: test |
|
args: |
|
num_few_shot: 5 |
|
metrics: |
|
- type: acc |
|
value: 32.61 |
|
name: accuracy |
|
source: |
|
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=MaziyarPanahi/calme-2.1-phi3.5-4b |
|
name: Open LLM Leaderboard |
|
--- |
|
|
|
<div style="width: auto; margin-left: auto; margin-right: auto"> |
|
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;"> |
|
</div> |
|
<div style="display: flex; justify-content: space-between; width: 100%;"> |
|
<div style="display: flex; flex-direction: column; align-items: flex-start;"> |
|
<p style="margin-top: 0.5em; margin-bottom: 0em;"> |
|
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a> |
|
</p> |
|
</div> |
|
</div> |
|
|
|
## MaziyarPanahi/calme-2.1-phi3.5-4b - GGUF |
|
|
|
This repo contains GGUF format model files for [MaziyarPanahi/calme-2.1-phi3.5-4b](https://huggingface.co/MaziyarPanahi/calme-2.1-phi3.5-4b). |
|
|
|
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d). |
|
|
|
<div style="text-align: left; margin: 20px 0;"> |
|
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;"> |
|
Run them on the TensorBlock client using your local machine ↗ |
|
</a> |
|
</div> |
|
|
|
## Prompt template |
|
|
|
``` |
|
<|system|> |
|
{system_prompt}<|end|> |
|
<|user|> |
|
{prompt}<|end|> |
|
<|assistant|> |
|
``` |
|
|
|
## Model file specification |
|
|
|
| Filename | Quant type | File Size | Description | |
|
| -------- | ---------- | --------- | ----------- | |
|
| [calme-2.1-phi3.5-4b-Q2_K.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q2_K.gguf) | Q2_K | 1.416 GB | smallest, significant quality loss - not recommended for most purposes | |
|
| [calme-2.1-phi3.5-4b-Q3_K_S.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q3_K_S.gguf) | Q3_K_S | 1.682 GB | very small, high quality loss | |
|
| [calme-2.1-phi3.5-4b-Q3_K_M.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q3_K_M.gguf) | Q3_K_M | 1.955 GB | very small, high quality loss | |
|
| [calme-2.1-phi3.5-4b-Q3_K_L.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q3_K_L.gguf) | Q3_K_L | 2.088 GB | small, substantial quality loss | |
|
| [calme-2.1-phi3.5-4b-Q4_0.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q4_0.gguf) | Q4_0 | 2.176 GB | legacy; small, very high quality loss - prefer using Q3_K_M | |
|
| [calme-2.1-phi3.5-4b-Q4_K_S.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q4_K_S.gguf) | Q4_K_S | 2.189 GB | small, greater quality loss | |
|
| [calme-2.1-phi3.5-4b-Q4_K_M.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q4_K_M.gguf) | Q4_K_M | 2.393 GB | medium, balanced quality - recommended | |
|
| [calme-2.1-phi3.5-4b-Q5_0.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q5_0.gguf) | Q5_0 | 2.641 GB | legacy; medium, balanced quality - prefer using Q4_K_M | |
|
| [calme-2.1-phi3.5-4b-Q5_K_S.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q5_K_S.gguf) | Q5_K_S | 2.641 GB | large, low quality loss - recommended | |
|
| [calme-2.1-phi3.5-4b-Q5_K_M.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q5_K_M.gguf) | Q5_K_M | 2.815 GB | large, very low quality loss - recommended | |
|
| [calme-2.1-phi3.5-4b-Q6_K.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q6_K.gguf) | Q6_K | 3.136 GB | very large, extremely low quality loss | |
|
| [calme-2.1-phi3.5-4b-Q8_0.gguf](https://huggingface.co/tensorblock/calme-2.1-phi3.5-4b-GGUF/blob/main/calme-2.1-phi3.5-4b-Q8_0.gguf) | Q8_0 | 4.061 GB | very large, extremely low quality loss - not recommended | |
|
|
|
|
|
## Downloading instruction |
|
|
|
### Command line |
|
|
|
Firstly, install Huggingface Client |
|
|
|
```shell |
|
pip install -U "huggingface_hub[cli]" |
|
``` |
|
|
|
Then, downoad the individual model file the a local directory |
|
|
|
```shell |
|
huggingface-cli download tensorblock/calme-2.1-phi3.5-4b-GGUF --include "calme-2.1-phi3.5-4b-Q2_K.gguf" --local-dir MY_LOCAL_DIR |
|
``` |
|
|
|
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try: |
|
|
|
```shell |
|
huggingface-cli download tensorblock/calme-2.1-phi3.5-4b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf' |
|
``` |
|
|