Tom Hunn's picture
1 23

Tom Hunn

thunnai

AI & ML interests

I've been working in generative AI since it was still called "Deep Learning." Most of my experience is in the audio space, but I've also worked on projects involving llms. I've had hands-on experience across the full AI product lifecycle, including: - AI Research & Model Training - MLOps & Productionizing Models - Product Strategy โ€” exploring whatโ€™s possible with emerging tech

Recent Activity

liked a model 7 days ago
black-forest-labs/FLUX.1-schnell
liked a model 9 days ago
FrancisRing/StableAnimator
liked a model 9 days ago
franciszzj/Leffa
View all activity

Organizations

None yet

thunnai's activity

reacted to MoritzLaurer's post with ๐Ÿ”ฅ 13 days ago
view post
Post
1264
I've been building a small library for working with prompt templates on the HF hub: pip install prompt-templates. Motivation:

The community currently shares prompt templates in a wide variety of formats: in datasets, in model cards, as strings in .py files, as .txt/.yaml/.json/.jinja2 files etc. This makes sharing and working with prompt templates unnecessarily complicated.

Prompt templates are currently the main hyperparameter that people tune when building complex LLM systems or agents. If we don't have a common standard for sharing them, we cannot systematically test and improve our systems. After comparing different community approaches, I think that working with modular .yaml or .json files is the best approach.

The prompt-templates library :
- proposes a standard for sharing prompts (entirely locally or on the HF hub)
- provides some utilities that are interoperable with the broader ecosystem

Try it:
# !pip install prompt-templates
from prompt_templates import PromptTemplateLoader 
prompt_template = PromptTemplateLoader.from_hub(repo_id="MoritzLaurer/closed_system_prompts", filename="claude-3-5-artifacts-leak-210624.yaml")


The library is in early stages, feedback is welcome!

More details in the docs: https://github.com/MoritzLaurer/prompt_templates/
  • 1 reply
ยท
replied to freddyaboulton's post 14 days ago
view reply

Awesome work on this! Another big win for rapid prototyping with Gradio!

reacted to freddyaboulton's post with ๐Ÿš€๐Ÿ”ฅ 14 days ago
reacted to TuringsSolutions's post with ๐Ÿ‘€ about 1 month ago
view post
Post
861
I created something called 'Hyperbolic Embeddings'. I literally just embed the tokens into Hyperbolic Space instead of Euclidean space. At first, this did not get me the gains I was expecting. I was a sad panda. Then I thought about it, a Hyperbolic Embedding needs a Hyperbolic Optimizer. So, instead of Adam, I used Riemannian Adam (RAdam). "Ladies and Gentlemen, We Got 'Em!"
ยท