Downloads · 30 days
82
2% of all-time downloads
MaziyarPanahi/calme-2.1-phi3.5-4b
calme-2.1-phi3.5-4b is a text generation model from MaziyarPanahi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
<img src="./calme-2.webp" alt="Calme-2 Models" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/
Downloads · 30 days
82
2% of all-time downloads
All-time downloads
5.3K
Public
Parameters
3.8B
7.6 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors7.6 GB · 100%
From the Hugging Face model README
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.
This model is suitable for a wide range of applications, including but not limited to:
Here are the quants: calme-2.1-phi3.5-4b-GGUF
Coming soon!
This model uses ChatML prompt template:
<|system|>
You are a helpful assistant.<|end|>
<|user|>
How to explain Internet for a medieval knight?<|end|>
<|assistant|>
# 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")
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.
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 |