Downloads · 30 days
17
40% of all-time downloads
samuelswandi/omega-coder-phi-1
omega-coder-phi-1 is a text generation model from samuelswandi. 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.
omega-coder-phi-1 is an SFT fine-tuned version of microsoft/phi-1 using a custom training dataset. This model was made with Phinetune
Downloads · 30 days
17
40% of all-time downloads
All-time downloads
42
Public
Parameters
1.4B
5.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
From the Hugging Face model README
omega-coder-phi-1 is an SFT fine-tuned version of microsoft/phi-1 using a custom training dataset. This model was made with Phinetune
!pip install -qU transformers
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
model = "samuelswandi/omega-coder-phi-3-mini-4k"
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"])