Comments (1)
pipeline
pretraining -> fine tunning -> (learn to rank answers) -> rlhf
- huge amount of data, 99% of computation here. The basic idea is through lots of iterations try to predict the next token given the context window and the weight of the neural net. Adjust the weight accordingly. The model can be trik into being a useful asssistant but is primaliry a next work predictor.
- smaller amount of data, 10k-100k samples of high quality prompts -> answer. Dataset cuareted by contractors.
- given a number of answers to the same prompt, rank them and teach the model how to predict the score.
- given the model that knows how to predict the score of a useful anwser, generate answers that have a good score by adjusting the asking prompts and adjusting the weight based on score.
human vs llm brains
The human is able to combine a lot of thins, like off-tooling, check for correctness and try again vs llms that are, like train trying to build the road ahead, predicting the next word. They have a big fact-based knowledge "database" in the weihght of the nn and a "perfect" working memory in the context window. =
prompting
In order to improve llms brain, the following strategies appear.
Chain of thought, is a useful idea that enables the llm to work with more token while generating the answer rather than only relying in the ones in the prompt. The basic idea is to provide examples or prompt the model to answer in a particular way, like step by step thinking (zero-shot cot) of showing the model how to reason (cot). Another usefull way is tree of thought or siomply asking the model to produce a better answer, like, imagine you are 120IQ or an expert in the field.
The model spends the same amount of computationper token, so if the model is able to produce the answer in more token, the answer is porobably going to be better as is not trying to pack a huge amount of computation/interpratation intoa smaller amount of tokens.
side notes
- llama is a great pre-training model.
from hdc.
Related Issues (12)
- Hyperdimensional Computing: An Introduction to Computing in Distributed Representation with High-Dimensional Random Vectors
- Deep Learning
- AMX as TC
- What We Mean When We Say “What’s the Dollar of Mexico?”: Prototypes and Mapping in Concept Space
- Computing with 10,000-Bit Words
- GraphHD: Efficient graph classification using hyperdimensional computing
- GrapHD: Graph-Based Hyperdimensional Memorization for Brain-Like Cognitive Learning
- A Neuro-vector-symbolic Architecture for Solving Raven’s Progressive Matrices
- A Survey on Hyperdimensional Computing aka Vector Symbolic Architectures, Part I: Models and Data Transformations
- StocHD: Stochastic Hyperdimensional System for Efficient and Robust Learning from Raw Data
- High-Dimensional Computing with Sparse Vectors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdc.