Downloads · 30 days
19
24% of all-time downloads
Mitchins/t5-base-artgen-multi-instruct-OpenVINO
t5-base-artgen-multi-instruct-OpenVINO is a text generation model from Mitchins. Use it when you need the model to write or continue text. It is set up for optimum-intel. The card lists the license as apache-2.0.
OpenVINO version of Mitchins/t5-base-artgen-multi-instruct for optimized Intel hardware inference.
Downloads · 30 days
19
24% of all-time downloads
All-time downloads
79
Public
Repo size
991 MB
Likes
0
Public
Click a slice to open those files.
.bin990 MB · 100%
From the Hugging Face model README
OpenVINO version of Mitchins/t5-base-artgen-multi-instruct for optimized Intel hardware inference.
Enhance this prompt: {text}Enhance this prompt (no lora): {text}Enhance this prompt (with lora): {text}Simplify this prompt: {text}from optimum.intel import OVModelForSeq2SeqLM
from transformers import T5Tokenizer
# Load OpenVINO model
model = OVModelForSeq2SeqLM.from_pretrained("Mitchins/t5-base-artgen-multi-instruct-OpenVINO")
tokenizer = T5Tokenizer.from_pretrained("Mitchins/t5-base-artgen-multi-instruct-OpenVINO")
# Example usage
text = "woman in red dress"
prompt = f"Enhance this prompt (no lora): {text}"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=80)
result = tokenizer.decode(outputs[0], skip_special_tokens=True)
Optimized for Intel hardware (CPU, integrated GPU, VPU) with significant speedup compared to standard PyTorch inference.
Perfect for Intel NUC and other Intel-based edge devices.