Edit model card

QuantFactory/calme-2.1-phi3.5-4b-GGUF

This is quantized version of MaziyarPanahi/calme-2.1-phi3.5-4b created using llama.cpp

Original Model Card

Calme-2 Models

MaziyarPanahi/calme-2.1-phi3.5-4b

This model is a fine-tuned version of the microsoft/Phi-3.5-mini-instruct, pushing the boundaries of natural language understanding and generation even further. My goal was to create a versatile and robust model that excels across a wide range of benchmarks and real-world applications.

Use Cases

This model is suitable for a wide range of applications, including but not limited to:

  • Advanced question-answering systems
  • Intelligent chatbots and virtual assistants
  • Content generation and summarization
  • Code generation and analysis
  • Complex problem-solving and decision support

⚑ Quantized GGUF

Here are the quants: calme-2.1-phi3.5-4b-GGUF

πŸ† Open LLM Leaderboard Evaluation Results

Coming soon!

Prompt Template

This model uses ChatML prompt template:

<|system|>
You are a helpful assistant.<|end|>
<|user|>
How to explain Internet for a medieval knight?<|end|>
<|assistant|>

How to use


# Use a pipeline as a high-level helper

from transformers import pipeline

messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="MaziyarPanahi/calme-2.1-phi3.5-4b")
pipe(messages)


# Load model directly

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-2.1-phi3.5-4b")
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-2.1-phi3.5-4b")

Ethical Considerations

As with any large language model, users should be aware of potential biases and limitations. We recommend implementing appropriate safeguards and human oversight when deploying this model in production environments.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 27.01
IFEval (0-Shot) 56.59
BBH (3-Shot) 36.11
MATH Lvl 5 (4-Shot) 14.43
GPQA (0-shot) 12.53
MuSR (0-shot) 9.77
MMLU-PRO (5-shot) 32.61
Downloads last month
229
GGUF
Model size
3.82B params
Architecture
phi3

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Examples
Inference API (serverless) has been turned off for this model.

Model tree for QuantFactory/calme-2.1-phi3.5-4b-GGUF

Quantized
(89)
this model

Dataset used to train QuantFactory/calme-2.1-phi3.5-4b-GGUF

Evaluation results