How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="timothyckl/phi-2-instruct-v1",
	filename="",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Model Card for Model ID

Phi-2 finetuned on c-s-ale/alpaca-gpt4-data dataset. Trained only on first 9k samples for 1 epoch.

Prompt format:

### INSTRUCTION:
{instruction}

### INPUT:
{input}

### RESPONSE:
{output}
Downloads last month
25
Safetensors
Model size
3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support