Downloads · 30 days
91
3% of all-time downloads
RichardErkhov/auhide_-_chef-gpt-en-gguf
auhide_-_chef-gpt-en-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
91
3% of all-time downloads
All-time downloads
2.6K
Public
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf2.4 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
chef-gpt-en - GGUF
| Name | Quant method | Size |
|---|---|---|
| chef-gpt-en.Q2_K.gguf | Q2_K | 0.08GB |
| chef-gpt-en.IQ3_XS.gguf | IQ3_XS | 0.08GB |
| chef-gpt-en.IQ3_S.gguf | IQ3_S | 0.08GB |
| chef-gpt-en.Q3_K_S.gguf | Q3_K_S | 0.08GB |
| chef-gpt-en.IQ3_M.gguf | IQ3_M | 0.09GB |
| chef-gpt-en.Q3_K.gguf | Q3_K | 0.09GB |
| chef-gpt-en.Q3_K_M.gguf | Q3_K_M | 0.09GB |
| chef-gpt-en.Q3_K_L.gguf | Q3_K_L | 0.1GB |
| chef-gpt-en.IQ4_XS.gguf | IQ4_XS | 0.1GB |
| chef-gpt-en.Q4_0.gguf | Q4_0 | 0.1GB |
| chef-gpt-en.IQ4_NL.gguf | IQ4_NL | 0.1GB |
| chef-gpt-en.Q4_K_S.gguf | Q4_K_S | 0.1GB |
| chef-gpt-en.Q4_K.gguf | Q4_K | 0.11GB |
| chef-gpt-en.Q4_K_M.gguf | Q4_K_M | 0.11GB |
| chef-gpt-en.Q4_1.gguf | Q4_1 | 0.11GB |
| chef-gpt-en.Q5_0.gguf | Q5_0 | 0.11GB |
| chef-gpt-en.Q5_K_S.gguf | Q5_K_S | 0.11GB |
| chef-gpt-en.Q5_K.gguf | Q5_K | 0.12GB |
| chef-gpt-en.Q5_K_M.gguf | Q5_K_M | 0.12GB |
| chef-gpt-en.Q5_1.gguf | Q5_1 | 0.12GB |
| chef-gpt-en.Q6_K.gguf | Q6_K | 0.13GB |
| chef-gpt-en.Q8_0.gguf | Q8_0 | 0.17GB |
language:
Test the model HERE.
Fine-tuned GPT-2 for recipe generation. This is the dataset that it's trained on.
from transformers import AutoModelForCausalLM, AutoTokenizer
MODEL_ID = "auhide/chef-gpt-en"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
chef_gpt = AutoModelForCausalLM.from_pretrained(MODEL_ID)
ingredients = ", ".join([
"spaghetti",
"tomatoes",
"basel",
"salt",
"chicken",
])
prompt = f"ingredients>> {ingredients}; recipe>>"
tokens = chef_gpt.tokenizer(prompt, return_tensors="pt")
recipe = chef_gpt.generate(**tokens, max_length=124)
print(recipe)
Here is a sample result of the prompt:
ingredients>> spaghetti, tomatoes, basel, salt, chicken; recipe>>cook spaghetti according to package directions
meanwhile, place tomato slices and basel in a large pot with salted water and bring to a boil
reduce heat and