Downloads · 30 days
20
34% of all-time downloads
Striker-7/mattxt-phi3
mattxt-phi3 is a text generation model from Striker-7. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
mattxt-phi3 is an SFT fine-tuned version of microsoft/Phi-3-mini-4k-instruct using a custom training dataset. This model was made with Phinetune
Downloads · 30 days
20
34% of all-time downloads
All-time downloads
58
Public
Parameters
3.9B
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.9 GB · 100%
How the weights are stored.
U83.6B · 93%
From the Hugging Face model README
mattxt-phi3 is an SFT fine-tuned version of microsoft/Phi-3-mini-4k-instruct using a custom training dataset. This model was made with Phinetune
!pip install -qU transformers
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
model = "Striker-7/mattxt-phi3"
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"])