Hacker News new | past | comments | ask | show | jobs | submit | theophilec's comments login

Oxide and Friends has an episode on the topic [1], I found interesting.

[1] : https://oxide-and-friends.transistor.fm/episodes/paths-into-...


All credit goes to gephi-lite [1] and the sister project Retina [2].

[1] https://gephi.org/gephi-lite/ [2] https://ouestware.gitlab.io/retina/1.0.0-beta.4/


Yes I ended up using that. Libraries like outlines give that functionality to open models.


Local models hallucinated a lot more that gpt4o-mini, so I stayed with OpenAI. On top of that, I paid around 14€ for inference on ~200 examples on OVH and inference was much slower. I am planning on getting everything running on Mistral or Llama though.

I used sqlite everywhere so datasette was good for visualizing scraped and extracted data. Simon released structured generation for llm a few days after I did the project though, so I haven't tried yet.


The data is initially not at all structured, and the critics talk about a chef's CV in passing. For instance, take this example:

> At Grenat, Antoine Joannier and Neil Mahatsry are bathed in an ardent red glow, much like the pomegranate-toned walls of their space. After working together at La Brasserie Communale, where they first met, the duo is now firing on all cylinders in the heart of Marseille, where Antoine tends to guests seated around blonde wood tables, delivering dishes ignited by Neil behind the bar. From oysters to prime cuts of red meat, […]

I tried using NER models and the results were not great. Furthermore, these models do not extract relationships between entities (other models exist for that though). Haven't tried fine-tuning at all!

There is also a lot of variation in the ways of presenting a chef's prior restaurants, which makes this a good use-case for LLMs.


LLMs have without a doubt replaced NER models and libraries like SpaCy. At least for my use-cases, creating ontologies and populating knowledge graphs.


Nice breakdown. Cheers!


It works on FF135.0.1 (aarch64) for me. Ad blocker?


Tried without adblocker and turned off pihole. I did get it work on Zen Browser (FF engine). So my FF might have gotten borked. Console is giving me:

Failed to create WebGL context: WebGL creation failed: * tryANGLE (FEATURE_FAILURE_EGL_NO_CONFIG) * Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

Glad its workin for others!


I agree the spatialization could be better. I used one of the algorithms in Gephi-lite directly. Do you have a favorite spatialization algorithm to recommend?


FYI I updated the visualization. Credit goes to @jacomyal from @ouestware on GitHub who helped me out.


The "Chloé Woestelandt" test is still just as bad



Yes! This looks amazing. Thanks!

I made a mistake; I had checked the other link in your post ("You can explore the visualization here: [Interactive Culinary Network]") instead of the main link.


The graph contains restaurants in France and Belgium but all cuisines are represented.

It's completely possible to expand the graph to other parts of the world. What source of reviews/info do you have in mind?


My apologies, only gave it a cursory glance. Should have dug a bit deeper


Thanks for the clarification. I updated the title!


Thank you for the kind words!

Yes, Retina and Gephi are great. In fact I noticed a bug which they fixed immediatly while making the project.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: