Tom Hunn's picture
1 30

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 dataset 1 day ago
shb777/gemini-flash-2.0-speech
liked a model 4 days ago
openbmb/MiniCPM-o-2_6
liked a Space 5 days ago
HyperCluster/manimator
View all activity

Organizations

None yet

thunnai's activity

reacted to MoritzLaurer's post with πŸ”₯ about 1 month ago
view post
Post
1287
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 about 1 month ago
view reply

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

reacted to freddyaboulton's post with πŸš€πŸ”₯ about 1 month ago
liked a Space about 1 month ago