Downloads · 30 days
18
33% of all-time downloads
dohyung97022/phi3-128k-test
phi3-128k-test is a text generation model from dohyung97022. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
phi3-128k-test is an SFT fine-tuned version of microsoft/Phi-3-mini-128k-instruct using a custom training dataset. This model was made with Phinetune
Downloads · 30 days
18
33% of all-time downloads
All-time downloads
55
Public
Parameters
3.8B
15.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.3 GB · 100%
From the Hugging Face model README
phi3-128k-test is an SFT fine-tuned version of microsoft/Phi-3-mini-128k-instruct using a custom training dataset. This model was made with Phinetune
!pip install -qU transformers
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
model = "dohyung97022/phi3-128k-test"
tokenizer = AutoTokenizer.from_pretrained(model)
# Example prompt
prompt = "Your example prompt here"
# Generate a response
model = AutoModelForCausalLM.from_pretrained(model)
pipeline = pipeline("text-generation", model=model, tokenizer=tokenizer)
outputs = pipeline(prompt, max_length=50, num_return_sequences=1)
print(outputs[0]["generated_text"])