As far as HNSW implementations go, this one appears to be almost entirely unfinished. Node insertion logic is missing (https://github.com/swapneel/hnsw-rust/blob/b8ef946bd76112250...) and so is the base layer beam search.
89 karma · joined April 13, 2012
As far as HNSW implementations go, this one appears to be almost entirely unfinished. Node insertion logic is missing (https://github.com/swapneel/hnsw-rust/blob/b8ef946bd76112250...) and so is the base layer beam search.
Personally, I think that this is a price worth paying!
Would you be willing to share details about the fine-tuning procedure, such as the initialization, learning rate schedule, batch size, etc.? I'd love to learn more.
Background: I've been playing around with generating image sequences from sliding windows of audio. The idea roughly works, but the model training gets stuck due to the difficulty of the task.
(Full disclosure: I have only read the abstract so far.)
[1] https://archive.org/details/14566367HackerNewsCommentsAndSto...
If I understand nshepperd's code correctly, it uses a constant and small learning rate. Do you know if this works better than the learning rate schedule that is usually used for Transformer models (https://www.tensorflow.org/alpha/tutorials/text/transformer_...)?
The generated titles are great! You can put them into hncynic (https://github.com/leod/hncynic) to get closer to a fully generated HN experience.
The model weighs in at 1.2GB with 100M parameters, which is similar to the smallest GPT-2 model.
I wouldn't be suprised if GPT-2 small (+ finetuning on HN data) performed better than what I have trained. Other than hyperparameters, I think there are two main differences: First, I pretrained the model solely on Wikipedia data, while GPT-2 used more general web data. Second, I used an encoder-decoder model, while GPT-2 is a language model. I'm suspecting that the encoder is not very useful for this task.
But if I recall correctly, the book doesn't touch the question of how consciousness can arise to begin with, other than making a passing reference to GEB's strange loops.
I can see some value, for example, in the idea that consciousness (maybe I should rather say subjective perception or awareness) somehow emerges out of a reasonably complex system. But that wouldn't explain what it is in our universe that allows awareness to emerge to begin with.
I think some fun questions to think about are:
* Can we create awareness in a circuit by making it complex enough? What are the requirements?
* If we simulate a universe, does it inherit the ability to create awareness from our universe?
* How the heck do you validate any of these answers?
Well, I'm confused now, consciousness is too hard. Sorry if I sound like gibberish.
EDIT: This isn't meant to be a criticism of the book, which I can only recommend to anyone.
Creating new bindings didn't work for me at all (especially since I didn't want to lose the ability to use someone else's Vim, or a vanilla Vim). I think the key might be to focus on what shortcut key you're actually pressing instead of where it is on the keyboard. This turned out to be pretty difficult for me with the hjkl keys, which are, as you say, fairly odd.
Interestingly enough though, today I can still write Colemak fluently whenever I accidentally switch to it, and it's a lot of fun! So I might give this whole thing with Colemak a new try, knowing that someone went the same route as I (keeping the default Vim shortcut bindings).