HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wjessup

no profile record

Submissions

New Gandalf from Lakera.ai

gandalf.lakera.ai
4 points·by wjessup·3 yıl önce·1 comments

GPTGladiator: Make many draft responses, use second model to pick best

github.com
34 points·by wjessup·3 yıl önce·5 comments

[untitled]

1 points·by wjessup·3 yıl önce·0 comments

[untitled]

1 points·by wjessup·3 yıl önce·0 comments

Interview Coach GPT

share.streamlit.io
1 points·by wjessup·3 yıl önce·0 comments

comments

wjessup
·3 ay önce·discuss
100% of people who've ever had DHMO have died.

This is scientifically verified and yet nobody does anything about it.
wjessup
·5 ay önce·discuss
what about the laws that say crossing the border is illegal?
wjessup
·5 ay önce·discuss
Any commentary about how adversaries won't have regulations?
wjessup
·6 ay önce·discuss
agreed. this persons world view is skewed, superficial, self-centered.
wjessup
·3 yıl önce·discuss
Great basics tutorial: https://colinraffel.com/blog/you-don-t-know-jax.html
wjessup
·3 yıl önce·discuss
You forgot jumping right into the derivation first without any context of why it matters.
wjessup
·3 yıl önce·discuss
We are experimenting with ways to use ChatGPT to get better answers more reliably, remove hallucinations, etc.

This little library will generate multiple draft responses and then use a second model to judge the answers and pick a winner, which is then returned to the user. Google's Bard uses this same approach.

With this library you can apply the pattern to gpt-3.5 and gpt-4.

Drafts are generated in parallel and all drafts are evaluated with a single prompt.

This will use a lot of tokens. For example to generate 3 drafts, you are at 3x + you need to feed those drafts into another prompt + get that response, so >7x.

Streamlit demo: https://theoremone-gptgladiator-streamlit-ui-5ljwmm.streamli...
wjessup
·3 yıl önce·discuss
Thank you for your README, I'm sharing it with my team.
wjessup
·3 yıl önce·discuss
What all these tools need to adopt is sending 10-20 requests out and finding the "best" response. I think it's incorrect that we try to get the tool to work right the first time. Auto-GPT has JSON parse errors 20-50% of the time. Instead, with enough parallel responses we can increase the likelihood one of them is "really good". The next challenge is figuring out which answer is really good and continuing with that.
wjessup
·3 yıl önce·discuss
How is this post any different than the instructions on the actual repo? https://github.com/ggerganov/llama.cpp
wjessup
·3 yıl önce·discuss
post example prompts and results please?
wjessup
·3 yıl önce·discuss
The limitation is because of the word position embedding matrix size. This isn't a config issue, or an API limitation. This is a limitation on the size of a matrix that is part of the model and is decided on before training. You can't change it.

What does that mean?

For each token in your input or inference output it requires the model to have some understanding of what the position of the word means.

So there is the word position embedding matrix that contains a vector per position. The matrix has "only" 1024 entries in it for GPT2 or 4096 for GPT3. The size of each entry varies as well, containing a vector from 768 for GPT2 small and up to 12,288 for GPT3.

So the WPE (word position embeddings) for GPT2 is (1024x768) and for GPT3 (4096x12288)

Inference requires info from this vector to be added to the word tokens embedding for each token in the original prompt + each generated token.
wjessup
·3 yıl önce·discuss
Same here. 53ms a token. pretty fast!
wjessup
·3 yıl önce·discuss
> Human: You're just making all of this up as you go along aren't you? > Assistant: I promise that I am telling the truth!

The best.
wjessup
·3 yıl önce·discuss
what's really great is the back button is hi-jacked with a history of 6+ facebook pages after just a little bit of scrolling.

How is this ok?