Edit 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
92
Safetensors
Model size
3.82B params
Tensor type
BF16
·
Inference Examples
Inference API (serverless) is not available, repository is disabled.

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

Finetuned
this model
Merges
1 model
Quantizations
4 models

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

Evaluation results