Better HN
topnewbestaskshowjobs
Log inSign up

fagerhult

329 karma · joined Mar 24, 2016 (10y ago) · 29 submissions

Submissions

1.

Show HN: Leta – Command-line LSP client for agentic coders(github.com ↗)

1 points · by fagerhult · 10mo ago · discuss

2.

Show HN: Qqqlang – a syntax-free language for image synthesis(qqqlang.com ↗)

1 points · by fagerhult · 11mo ago · discuss

comment 1y ago · link · parent

Claudemacs looks really good -- thanks for the pointer!

My main design goal was to have the whole chat described by a text buffer, that can be converted back and forth to the Claude dialog format. I love Emacs' built-in `shell-mode` because I can jump around in the shell buffer, kill and yank, etc. I wanted that same interaction model in the agent interface. I ended up writing a tree-sitter grammar and maybe going a bit over the top...

Also, I wanted something very hackable, where the entire codebase is in elisp. Claudemacs has the benefit of building on Claude Code, so it gets all the Claude Code features for free, whereas I have to implement everything from scratch. But I think of Greger as an experiment surface for novel agent patterns.

I don't think anyone has really figured out how to get the most of out agents yet, so it's great that we're all attacking it from different angles and taking inspiration from each other.

4.

Show HN: Greger.el – Agentic Coding in Emacs(github.com ↗)

6 points · by fagerhult · 1y ago · 2 comments

comment 1y ago · link · parent

I vibed up a little chat interface https://kontext-chat.vercel.app/

6.

AI video is having its Stable Diffusion moment(replicate.com ↗)

1 points · by fagerhult · 1y ago · discuss

7.

Ideogram v2 is an outstanding new inpainting model(replicate.com ↗)

2 points · by fagerhult · 2y ago · discuss

8.

FLUX1.1 [pro] – New SotA text-to-image model from Black Forest Labs(replicate.com ↗)

228 points · by fagerhult · 2y ago · 142 comments

9.

Fine-tune FLUX.1 with your own images(replicate.com ↗)

2 points · by fagerhult · 2y ago · discuss

10.

Generate music from chord progressions and text prompts with MusicGen-Chord(replicate.com ↗)

2 points · by fagerhult · 3y ago · discuss

11.

MusicGen-Chord: Generate music restricted to chord sequences and tempo(replicate.com ↗)

1 points · by fagerhult · 3y ago · discuss

12.

Fine-tune MusicGen to generate music in any style(replicate.com ↗)

1 points · by fagerhult · 3y ago · discuss

comment 3y ago · link · parent

Oops sorry about that, fixed now!

comment 3y ago · link · parent

Here is the MusicGen paper from Facebook research: https://arxiv.org/abs/2306.05284

MusicGen is an LLM on top of EnCodec tokens, instead of working directly with audio. EnCodec is neural audio compression algorithm that encodes audio as tokens from a codebook. It's a really clever trick!

15.

MusicGen-Looper: Generate fixed-bpm loops from text prompts(replicate.com ↗)

115 points · by fagerhult · 3y ago · 22 comments

comment 3y ago · link · parent

There was a typo in the readme, thanks for pointing this out! I add 8 channels (4 mask + 4 masked chorales). The chorales are transformed into 4-dimensional arrays, each channel representing a part of the piece. I've added some example plots to the readme to illustrate.

comment 3y ago · link · parent

I'm sure your script runs a lot faster than my model :D A well-tuned heuristic script can probably do as good harmonizing as any black box deep learning model. I was mostly just curious how diffusion models would handle symbolic music data. This model does reasonably well on short time scales but has no idea about long-term context.

18.

Cantable Diffuguesion: Bach chorale generation and harmonization(replicate.com ↗)

68 points · by fagerhult · 3y ago · 9 comments

19.

Run Stable Diffusion with an API(replicate.com ↗)

2 points · by fagerhult · 4y ago · discuss

comment 4y ago · link · parent

Andreas, author of the Replicate model here -- though "author" feels wrong since I basically just stitched two amazing models together.

The thing that really strikes me is that open source ML is starting to behave like open source software. I was able to take a pretrained text-to-image model and combine it with a pretrained video frame interpolation model and the two actually fit together! I didn't have to re-train or fine tune or map between incompatible embedding spaces, because these models can generalize to basically any image. I could treat these models as modular building blocks.

It just makes your creative mind spin. What if you generate some speech with https://replicate.com/afiaka87/tortoise-tts, generate an image of an alien with Stable Diffusion, and then feed those two into https://replicate.com/wyhsirius/lia. Talking alien! Machine learning is starting to become really fun, even if you don't know anything about partial derivatives.

21.

Build a Discord Robot Artist with Stable Diffusion, Replicate, and Fly.io(replicate.com ↗)

2 points · by fagerhult · 4y ago · discuss

22.

Animate Stable Diffusion by interpolating between two prompts(replicate.com ↗)

1 points · by fagerhult · 4y ago · discuss

comment 5y ago · link · parent

This looks brilliant, I've been recording scraps of music with voice memos for years and I've been missing exactly the features you have. Great work!

I'd love a way to import my existing voice memo library into Tape It!

comment 6y ago · link · parent

Great questions! At the moment we recommend passing dataset URIs as params to replicate.init(): https://replicate.ai/docs/guides/training-data, but of course this assumes immutable and stable URIs.

DVC would definitely be a good fit, and we have a ticket on our roadmap to integrate Replicate with DVC, Tecton, etc. https://github.com/replicate/replicate/issues/294

We also have a roadmap ticket for grouping experiments: https://github.com/replicate/replicate/issues/297, but for now we're recommending params for tags as well.

If you have ideas for the design of these features, we really appreciate feedback and comments on these Github issues!

comment 6y ago · link · parent

Thank you! We have an issue on the roadmap for adding a web GUI: https://github.com/replicate/replicate/issues/295

We haven't thought about it in great detail yet, so I'd be curious to hear your thoughts and ideas if you'd like to add a comment to that issue!

comment 6y ago · link · parent

Fantastic, thank you for those kind words!

And great idea to integrate with PT Lightning. I just opened an issue: https://github.com/replicate/replicate/issues/367, feel free to add more detail and comments! -andreas

comment 6y ago · link · parent

Hi, Andreas here. Yes spreadsheets are great, and better than notebooks in many cases. But I always felt like I was doing something wrong when I used spreadsheets and markdown files to manually record metrics and hyperparameters for my experiments. It's error prone and easy to forget to update the spreadsheet with new experiments.

So we're trying to automate recording this metadata, but then give you that metadata in various ways for you to inspect it. One of those ways is actually spreadsheets: https://github.com/replicate/replicate/issues/289

28.

Show HN: Musical instrument practice with web audio(instrument-practice.netlify.app ↗)

2 points · by fagerhult · 6y ago · discuss

29.

YC advice helped me build a Coronavirus delivery service(medium.com ↗)

9 points · by fagerhult · 6y ago · discuss