Skip to content

abrilrisso/GPTasty

Repository files navigation

GPTasty

File structure

GPTasty
`-- GPTasty-main
    |-- .DS_Store
    |-- .gitignore
    |-- README.md
    |-- contrastive-recipes
    |   `-- create_final_constrastive_dataset.ipynb
    |-- data
    |   |-- Readme.md
    |   `-- translations.json
    |-- embeddings
    |   |-- LLM-similar-recipes
    |   |   |-- contrastive-recipes-neg.py
    |   |   |-- contrastive-recipes.py
    |   |   `-- hugging_face.ipynb
    |   |-- TastyBERT
    |   |   |-- TastyBERT.ipynb
    |   |   |-- clustered-ingredients-dbscan.pdf
    |   |   |-- clustered-ingredients.pdf
    |   |   |-- plots.ipynb
    |   |   |-- visualize_embeddings.ipynb
    |   |   |-- viz-tasty-bert-adj50.pdf
    |   |   |-- viz-tasty-bert-new.pdf
    |   |   `-- viz-tasty-bert.pdf
    |   |-- TastyRecipesEmbedder.ipynb
    |   |-- clustering
    |   |   |-- .gitattributes
    |   |   |-- RecipiesClustering.ipynb
    |   |   |-- RecipiesProfiling.ipynb
    |   |   |-- clustering_kmeans.py
    |   |   |-- clustering_umap.py
    |   |   |-- generar_embeddings.py
    |   |   |-- imgs
    |   |   |   |-- 10mil40clusters.csv
    |   |   |   |-- 10mil40clusters.png
    |   |   |   |-- 18clusters.csv
    |   |   |   |-- 18clusters.png
    |   |   |   |-- 23clusters.csv
    |   |   |   |-- 23clusters.png
    |   |   |   |-- kmeans_elbow_silhouette_20250403_140015.png
    |   |   |   |-- recipe_clusters_KMEANS_umap2D_n50_md0.3_kmeans_k7_20250403_140015.csv
    |   |   |   `-- recipe_clusters_plot_KMEANS_umap2D_n50_md0.3_kmeans_k7_20250403_140015.png
    |   |   |-- recipe_embeddings_10000.npy
    |   |   `-- recipe_metadata_10000.csv
    |   |-- create_final_dataset.ipynb
    |   |-- dataset_embeddings.ipynb
    |   |-- final_training.py
    |   |-- nutrition_pairs_generator.py
    |   |-- recipe_embeddings.py
    |   |-- sbert.ipynb
    |   |-- sbert_ft.ipynb
    |   |-- train_structured_module.ipynb
    |   `-- train_val_acc.ipynb
    |-- filters
    |   |-- __init__.py
    |   `-- filters.py
    |-- food_ontology_complete.owl
    |-- image
    |   `-- inversecooking
    |       |-- LICENSE.md
    |       |-- args.py
    |       |-- data
    |       |   |-- demo_imgs
    |       |   |   |-- chocolate_cake.jpg
    |       |   |   |-- croqueta.jpg
    |       |   |   `-- macarrones-bolonesa.jpg
    |       |   |-- ingr_vocab.pkl
    |       |   |-- instr_vocab.pkl
    |       |   `-- other_imgs
    |       |       |-- 1.jpg
    |       |       `-- test.jpg
    |       |-- demo.ipynb
    |       |-- evaluate_image_recipe_finder.py
    |       |-- evaluation_images
    |       |   |-- chicken_caesar_salad.jpg
    |       |   |-- chocolate_cake.jpg
    |       |   |-- pizza.jpg
    |       |   |-- potatoes.jpg
    |       |   `-- spaghetti_carbonara.jpg
    |       |-- image_recipe_finder_evaluation_results_fuzzy.json
    |       |-- inference.py
    |       |-- model.py
    |       |-- modules
    |       |   |-- encoder.py
    |       |   |-- multihead_attention.py
    |       |   |-- transformer_decoder.py
    |       |   `-- utils.py
    |       `-- utils
    |           |-- ims2file.py
    |           |-- metrics.py
    |           |-- output_utils.py
    |           `-- tb_visualizer.py
    |-- interficie
    |   |-- app.py
    |   |-- inferencia.py
    |   |-- static
    |   |   |-- fotos
    |   |   |   |-- 08c10acf-9f79-4008-b4b3-1525fe2ca553.jpg
    |   |   |   |-- 09377071-f340-40d9-b879-be893ea68655.jpg
    |   |   |   |-- 1fcaecc6-deb9-4170-b9bc-6da2e923f549.jpg
    |   |   |   |-- 2da436be-41a6-470e-b8da-d6813cc714f7.jpg
    |   |   |   |-- 4097e91b-0664-47f7-b384-231ec2157603.png
    |   |   |   |-- 4349dd2f-5fb0-48b7-8102-52100aa5f26d.jpg
    |   |   |   |-- 4ef17548-808f-4336-9ad6-31abdf30eff2.jpg
    |   |   |   |-- 72ad5dc8-0a8d-4da9-b7d5-76fc61270e16.jpg
    |   |   |   |-- 78f4d9cf-5410-494a-a8ea-ea0366295cc3.jpg
    |   |   |   |-- 930d4d44-b381-4dcf-88d3-5fa158dc2287.png
    |   |   |   |-- 9b0a1b11-2ad5-4ad5-8a08-a67e70801c47.jpg
    |   |   |   |-- a1f2943b-5f07-461a-8ab3-758431df3aab.png
    |   |   |   |-- a39fa3f1-bb87-4ee7-a4fb-2dbac29a896f.jpg
    |   |   |   |-- a6065ef0-0496-457e-9de0-b3890e9576da.png
    |   |   |   |-- a7b17022-b704-4414-900c-db38d3a1b0a3.jpg
    |   |   |   |-- d7a2f381-fb5d-4b81-be50-de4393d6100e.jpg
    |   |   |   |-- ece2ed5f-5f7f-456f-9238-6586eb76f13d.jpg
    |   |   |   |-- f4866c7c-07af-4961-94e3-4928311604e4.jpg
    |   |   |   `-- f734b33d-5f85-4f74-ba73-702071afdc77.jpg
    |   |   |-- logo.jpeg
    |   |   |-- style.css
    |   |   `-- style_antic.css
    |   |-- templates
    |   |   |-- afegir_registre.html
    |   |   |-- dashboard_nutricional.html
    |   |   |-- layout.html
    |   |   |-- login.html
    |   |   |-- mi_nevera.html
    |   |   |-- perfil.html
    |   |   |-- prediccio.html
    |   |   |-- prediccio_imatge.html
    |   |   |-- preferencies.html
    |   |   |-- preferencies_antic.html
    |   |   |-- recepta_detallada.html
    |   |   |-- register.html
    |   |   |-- registre_confirmat.html
    |   |   `-- resultat_recepta.html
    |   |-- timing.py
    |   `-- usuari.py
    |-- links.md
    |-- main_recommender_system.py
    |-- nutrition
    |   |-- food_ontology.py
    |   |-- fuzzy_evaluator.py
    |   |-- ingredient_dataset.csv
    |   |-- kb_filter_planner.py
    |   |-- nutrition_utils.py
    |   |-- nutritional_kb.py
    |   |-- ontology_new.py
    |   |-- simulation.py
    |   |-- usda_guidelines.py
    |   `-- user_profile.py
    |-- preprocessing
    |   |-- aliment_units.ipynb
    |   |-- aliments.csv
    |   |-- allergens.txt
    |   |-- ingredients.txt
    |   |-- llm_errors.log
    |   |-- llm_estimates.jsonl
    |   |-- meals
    |   |   |-- config.py
    |   |   |-- data_utils.py
    |   |   |-- meals.py
    |   |   |-- models.py
    |   |   |-- output.txt
    |   |   |-- plots.ipynb
    |   |   |-- push_dataset.ipynb
    |   |   |-- results.txt
    |   |   `-- train_utils.py
    |   |-- normalize_nutrition.py
    |   |-- outliers_and_cleaning.ipynb
    |   |-- p_allergens.ipynb
    |   |-- p_ingredient_dataset.ipynb
    |   |-- p_ingredients.ipynb
    |   |-- p_missings.ipynb
    |   |-- p_reviews.ipynb
    |   |-- p_types.ipynb
    |   |-- tools.py
    |   |-- tools_used.ipynb
    |   `-- univariate.ipynb
    |-- recommender
    |   |-- best_recommender_model.pth
    |   |-- config.py
    |   |-- data_loader.py
    |   |-- inference.py
    |   |-- model.py
    |   |-- new_user.py
    |   |-- output.txt
    |   |-- plots.ipynb
    |   |-- recommendation_utils.py
    |   |-- recommender_engine.py
    |   |-- train.py
    |   |-- training_utils.py
    |   `-- utils.py
    |-- rerank
    |   |-- __init__.py
    |   |-- demo.py
    |   |-- evaluation_rerank.py
    |   |-- found_similar_recipe_name.ipynb
    |   `-- rerank.py
    |-- unified_data.py
    |-- usuaris.json
    `-- utils
        `-- upload_to_huggingface.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors