-
Notifications
You must be signed in to change notification settings - Fork 0
TODO AI
Ben Bucksch edited this page Jun 27, 2023
·
2 revisions
Help needed in the area of AI
- Open Source
- Local
- Runs on cell phones / Android (see below)
- Quality roughly comparable to ChatGPT
- Open Assistant / LAION
- Llama, and derivates
- RoBERTa
- Others
- Find more options
- Compare with ChatGPT / GPT4
- Open source models may not be good enough
- Llama on shaky legal ground
- GPT is expensive, competing, not local etc.
Let the LLM produce machine-readable and consistent output as JSON.
E.g. "Find a hotel in Madrid" returns
{
action: "book",
subject: "hotel",
criteria: {
location: "https://en.wikipedia.org/Madrid",
gps: "34.444,55.2343",
}
}
"Find a red blouse" or "I would like a red blouse" returns
{
action: "buy",
subject: "product",
subjectCategory: [ "cloths", "top", "shirt", "business" ],
criteria: {
gender: "female",
color: "red",
}
}
- Fine-tune
- LoRA
- Prompt
- Microsoft Guidance
- Try the above options, and possibly others
- Might involve training or fine-tuning of models
- Run rests to ensure that the output is consistent and reliable.
- (Other team members) Create test cases (input sentences)
- (Other team members) Define and document output formats for many more cases.
- LLMs do not produce coherent and consistent output
- LLMs lie -> correctness
Find or create a version of the chosen LLM that can run on most current smart phones.
- Objective: Result in less than 1 second.
- Compare section Android | AI speed
- LLMs are too slow for current smart phones
- ARM CPUs fast enough?
- Only the latest high end phones have an AI coprocessor
- Difficult to use the AI coprocessors, due to processor instruction sets and APIs
- Impossible to use the AI coprocessors, due to security or lack of APIs
- LLMs need too much storage space for current smart phones.
- LLMs need too much RAM for current smart phones.
- Pass list of contact names, songs, close locations etc. to LLM
- Desired result: It can recognize those and include them in the structured output.
- Pass list of contact names, songs, close locations etc. to LLM
- Desired result: It can recognize those with higher confidence and likeliness.
- Listen to audio continously and react only to the specific wake word.
- Make "Parula" the wake word
- Low false position, low false negative
- Runs on PC, Android, Raspberry Pi, ESP32
- Very low CPU / power consumption
- Not needed when on Android home screen, activated by Android device button, or by PC keyboard button.