Configuration Parsing Warning: Invalid JSON for config file config.json
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

recipe-gen-mini-gpt

Overview

RecipeGen Mini is a lightweight text generator trained on a diverse corpus of recipes. Given an ingredient list, it generates creative cooking instructions and dish titles.

Model Architecture

  • Architecture: GPT-2 (Distilled)
  • Layers: 6 (optimized for edge deployment)
  • Attention Heads: 12

Intended Use

  • Culinary inspiration for home cooks.
  • Menu generation for creative kitchens.
  • Creative writing assistance in food blogging.

Limitations

  • Occasionally suggests illogical cooking temperatures.
  • Does not verify nutritional safety or allergen information.

Example Code

from transformers import pipeline

generator = pipeline('text-generation', model='recipe-gen-mini-gpt')
prompt = "Ingredients: Tomatoes, Basil, Garlic. Instructions:"
print(generator(prompt, max_length=100))
Downloads last month
18
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support