Views
No views yet
gpt2 on a custom dataset containing markdown documents about food technology, including drying, bioseparation, and R&D topics.1from transformers import pipeline
2
3generator = pipeline("text-generation", model="herutriana44/foodgpt", tokenizer="herutriana44/foodgpt")
4generator("What is drying in food technology?", do_sample=True, max_new_tokens=100, top_k=50, top_p=0.95, repetition_penalty=1.2)[{'generated_text': "What is drying in food technology?\nA dryer can be a great solution for maintaining your fridge's capacity. If you want to keep it warm and on the go, there are several options: A large-scale (elevated) refrigerator or an open container storage system such as freezer bags with no bottoms; glass jars that work well but have plastic backings so they don't cling when opened by hand while still being ableto store water under pressure at room temperature over extended periods of time – especially if done right!"}]