Downloads · 30 days
53
16% of all-time downloads
openpql/nishka-sft-phi3-merged
nishka-sft-phi3-merged is a machine learning model from openpql. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Supervised fine-tuned model on 10,038 PQL examples for Policy Query Language code generation.
Downloads · 30 days
53
16% of all-time downloads
All-time downloads
339
Public
Parameters
3.8B
7.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.6 GB · 100%
From the Hugging Face model README
Supervised fine-tuned model on 10,038 PQL examples for Policy Query Language code generation.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"openpql/nishka-sft",
device_map="auto",
torch_dtype="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("openpql/nishka-sft")
# Generate
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_length=512)
print(tokenizer.decode(outputs[0]))
This model is ready for deployment with vLLM, TGI, or other inference servers.
# vLLM example
vllm serve openpql/nishka-sft --dtype float16