-
Notifications
You must be signed in to change notification settings - Fork 17
Mistral incremental
The Incremental Mistral module can be used to dialog with Mistral through Greta. It streams the output from Mistral and send it sentence by sentence to Greta for faster generation.
- make sure you have conda installed
Warning : This requires an 6GB GPU
Warning : Temporary unabalable due to httpx module version competibility between openai and mistralai
-Install LmStudio : https://lmstudio.ai/ -Download model TheBloke/Mistral-7B-Instruct-v0.2-GGUF -Run local server with the following setting in LM Studio 👍 -port 1234
Warning : This is not free except for the two weeks where 5€ test are offered.
- Create an API key in https://console.mistral.ai/billing/
- In Common/Data/LLM/Mistral, create API_KEY.txt with the created API key
- Add a Mistral Incremental Module to your Configuration
- Add a link between the Mistral module and the Behavior Planner
- U see the Incremental Behavior Realizer
- Set up Port and Address (can stay the same)
- Check Enable
- Choose language and model (local or online)
- (Optional) Enter a system prompt if you want your agent to behave a certain way Ex : You are a museum guide who makes a lot of jokes. You always answer in rhymes
- Enter your request in the request panel
- Click Send
You can use a different model by modifying the model name in Mistral.py
An example of demo integration of this module is available at Dialogue with incremental LLM and DeepASR
- Generating New Facial expressions
- Generating New Gestures
- Generating new Hand configurations
- Creating an Instance for Interaction
- Create a new virtual character
- Creating a Greta Module in Java
- Integration examples
- Development guideline
- Naming policy
- Github repository
- Technical showcase
- Python integration
- Known issues
- Technical Specifications
- Pitfalls for Greta development
-
FML/BML
-
Tools
-
AUs from external sources
-
Large language model (LLM)
-
Automatic speech recognition (ASR)
-
Extensions
Nothing to show :)
- Incrementality
- Motion Capture to BAP values
- Interruptions
- Back Channels
- Appreciation Generator
- SSI Greta Integration
- TopicPlanner
- Shore
- Disco
- Watson
- Object node controller
- OSC communication for Unity
- 3D pose estimation from RGB camera through VAE (PFE-OpenPose-to-VAE-to-BVH)
- HOW TO CREATE BEHAVIOR SET
- Projects
- Signals