Better HN
topnewbestaskshowjobs
Log inSign up

furiousteabag

160 karma · joined Nov 7, 2021 (5y ago) · 30 submissions

asmirnov.xyz
Submissions

comment 1y ago · link · parent

same, did you figure it out?

comment 1y ago · link · parent

Another thing we are trying to understand is whether the 2D element adds value to the simulation. A simpler option would be a pure text/chat interface. Still, the hypothesis here is that it is easier to comprehend what's going on in the environment with an actual 2D world and characters, and it might be more immersive compared to just a text interface.

comment 2y ago · link · parent

Hey hey! We tried Clay v1 with 768 embeddings size using your tutorials. We then split NAIP SF to chips and indexed them. Afterwards, we performed image-to-image similarity search like in your explorer.

We tried to search for bridges, beaches, tennis courts, etc. It worked, but it didn't work well. The top of the ranking was filled with unrelated objects. We found that similarity scores are stacked together too much (similarity values are between 0.91 and 0.92 with 4 digit difference, ~200k tiles), so the encoder made very little difference between objects.

I believe that Clay can be used with additional fine-tuning for classification and segmentation, but standalone embeddings are pretty poor.

Check this: https://github.com/wangzhecheng/SkyScript. It is a dataset of OSM tags and satellite images. CLIP fine-tuned on that gives good embeddings for text-to-image search as well as image-to-image.

comment 2y ago · link · parent

Curious to see what other things you will simulate in the future!

Shameless plug: recently we've built a demo that allows you to search for objects in San Francisco using natural language. You can look for things like Tesla cars, dry patches, boats, and more. Link: https://demo.bluesight.ai/

We've tried using Clay embeddings but we quickly found out that they perform poorly for similarity search compared to embeddings produced by CLIP fine tuned on OSM captions (SkyScript).

comment 2y ago · link · parent

Thanks for sharing Brooklyn text demo. Haven't seen it!

Captioning images using VLM would definitely help as an additional conditional feature. Maybe it even would be enough to use only embeddings of captions to do search!

We chose aerial satellite instead of street view because we plan to apply the same technologies where street view is not available, e.g. crop fields or forests. Another thing is that we plan to monitor areas that change frequently and street view data is not enough to keep up. But the idea is great! Although your query "palace of fine arts" is not extremely exciting because it is searchable via Google Maps :D

"USF" by itself doesn't work, "USF word" pointed me where needed xD

"beach" and "picnic tables" indeed doesn't work in object mode, but works great in "big" mode, probably because they needs some context around themselves

"lots of people" didn't work, "a crowd of people" seems to work. Interesting, that almost the same (semantically) queries produce very different results!

6.

Show HN: Search San Francisco using natural language(demo.bluesight.ai ↗)

12 points · by furiousteabag · 2y ago · 2 comments

7.

Show HN: Search San Francisco satellite imagery using natural language(demo.bluesight.ai ↗)

5 points · by furiousteabag · 2y ago · discuss

8.

Hawking's Time Traveller Party(en.wikipedia.org ↗)

2 points · by furiousteabag · 2y ago · discuss

9.

Is Entrepreneur First worth the time? Honest review of the acceleration program(asmirnov.xyz ↗)

2 points · by furiousteabag · 2y ago · discuss

10.

Startup accelerators accepting applications now and terms(twitter.com ↗)

2 points · by furiousteabag · 2y ago · discuss

11.

GitHub Commit Annotation Bug(twitter.com ↗)

1 points · by furiousteabag · 2y ago · discuss

comment 2y ago · link · parent

I really like using pandoc as a build system [1] for my personal website to convert .md to .html. I can use templates, automatically generate a table of content and run some lua scripts to get the desired result, such as clickable headers.

[1]: https://github.com/furiousteabag/asmirnov.xyz/blob/master/bu...

comment 2y ago · link · parent

You are correct, training sorely in fp16/bf16 can lead to imprecise weight updates or even gradients turning to zero. Because of that, mixed precision is used. In mixed precision training, we keep a copy of the weights in fp32 (master model) and the training loop looks like this: compute the output with the fp16 model, then the loss -> back-propagate the gradients in half-precision -> copy the gradients in fp32 precision -> do the update on the master model (in fp32 precision) -> copy the master model in the fp16 model. We also do loss scaling which means multiplying the output of the loss function by some scalar number before backprop (necessary in fp16 but not required in bf16).

Check out the fastai docs for more details: https://docs.fast.ai/callback.fp16.html

comment 2y ago · link · parent

Mixed precision is a default method to pretrain and full fine tune right now. It is especially good in transformers, because they have memory bottleneck in activations (outputs of intermediate layers stored for backprop), and running forward pass in fp16/bf16 reduces VRAM by almost half (speeds up forward pass as well).

comment 2y ago · link · parent

There is no option to select quantized version yet. Will work on that!

comment 2y ago · link · parent

By default, SGD w momentum is enabled as optimizer. You may try selecting Adam and it will list second moments as well.

17.

Show HN: I made a GPU VRAM calculator for transformer-based models(vram.asmirnov.xyz ↗)

135 points · by furiousteabag · 2y ago · 38 comments

18.

Lessons from failing my AI startup(asmirnov.xyz ↗)

1 points · by furiousteabag · 2y ago · discuss

19.

Ask HN: Clarify VRAM usage during LLM forward pass

1 points · by furiousteabag · 2y ago · discuss

comment 2y ago · link · parent

It doesn't really matter if the app claims to use E2E when it actually discloses message content [0] [1]. WhatsApp is also filled with backdoors [2].

[0] https://therecord.media/fbi-document-shows-what-data-can-be-...

[1] https://www.rollingstone.com/politics/politics-features/what...

[2] https://telegra.ph/Why-Using-WhatsApp-Is-Dangerous-01-30-4

comment 2y ago · link · parent

This may sound stupid, but from my perspective renting random VMs on vast.ai is safe in general and might be safer than using traditional cloud providers in particular. Consider this: on your VM a new image starts several times a day, each time with a new volume. It downloads tens of GBs of data and weights for training. Once training is done, everything gets cleaned up and the process starts again for a new tenant. This constant cycle makes it kind of difficult to track and extract any meaningful data from it.

comment 2y ago · link · parent

In IM, there's a balance between total privacy and widespread use. Apps like Signal offer high privacy but have fewer users, while popular ones like WhatsApp are less secure. Telegram lies somewhere in between, offering a level of privacy that most users find comfortable. It's widely used and there haven't been significant incidents of legal issues arising from its messages. Ultimately, it boils down to whom you trust and which app has more of your contacts.

comment 2y ago · link · parent

It's true that fine-tuning models on personal messages could be simplified, but many, like myself, can't use third-party services due to sensitive data in our messages. I'm curious if others face this trust issue and how it might be resolved.

comment 2y ago · link · parent

I agree that usually 'more is more' for training LLMs. However, for fine-tuning with limited data, it seems crucial to focus the task as much as possible. Since the model still encounters these masked sentences in the data, it effectively learns to respond based on the speaker's name. So, complicating the task might not be necessary. Also, I'm concerned about interpreting the loss value. If the model quickly reduces loss by picking up predictable phrases, it's hard to tell if it's genuinely learning or just echoing these predictable elements.

comment 2y ago · link · parent

First I download the weights of the base pre-trained model to the VM instance. Then I upload my data there. Afterward, I fine-tune either LoRA or full and when training finishes, from the VM instance I download the adapters in case of LoRA and full weights in case of full fine-tune and run inference on a way less expensive instance (usually 3090).

comment 2y ago · link · parent

I think incorporating knowledge from other apps is a good next step because the model definitely lacks the context of what is going on right now. The nature of instant messaging is that most of the messages are about what is happening right now or what will happen in the near future, so past communication history does not help much.

comment 2y ago · link · parent

I've been using vast.ai for a very long time. It is like a GPU marketplace, where people rent and lease GPUs. There are a lot of VMs with 4090, and beasts like 8xA100 80GB are also available from time to time.

28.

Learnings from fine-tuning LLM on my Telegram messages(asmirnov.xyz ↗)

216 points · by furiousteabag · 3y ago · 69 comments

29.

Failing AI Startup in 2023(asmirnov.xyz ↗)

7 points · by furiousteabag · 3y ago · discuss

30.

Show HN: I made a CLI link manager with Git storage(github.com ↗)

1 points · by furiousteabag · 3y ago · discuss