How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="aegon-h/phi-1", trust_remote_code=True)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("aegon-h/phi-1", trust_remote_code=True, device_map="auto")
Quick Links

Phi-1

Description

This repo contains files for microsoft's phi-1.

License

The model is licensed under the "Research License"

Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support