Downloads · 30 days
0
pandaind/microsoft-phi-2-fined
microsoft-phi-2-fined is a text generation model from pandaind. Use it when you need the model to write or continue text.
This model is a fine-tuned version of microsoft/phi-2 on Alpaca instruction dataset.
Downloads · 30 days
0
Access
Public
Updated Sep 3, 2025
Repo size
10.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors10.5 MB · 68%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/phi-2 on Alpaca instruction dataset.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("pandaind/microsoft-phi-2-fined")
tokenizer = AutoTokenizer.from_pretrained("pandaind/microsoft-phi-2-fined")
# Generate text
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
print(tokenizer.decode(outputs[0]))