How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Cohee/fooocus_expansion-onnx")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Cohee/fooocus_expansion-onnx")
model = AutoModelForCausalLM.from_pretrained("Cohee/fooocus_expansion-onnx")
Quick Links

duongna/fooocus_expansion converted to ONNX and quantized using optimum.

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Cohee/fooocus_expansion-onnx

Quantizations
1 model