---
title: MindedWheeler
canonical_url: "https://www.modelscope.cn/models/FreedomIntelligence/MindedWheeler"
md_url: "https://www.modelscope.cn/models/FreedomIntelligence/MindedWheeler.md"
repository: FreedomIntelligence/MindedWheeler
last_updated: 2024-12-31
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen
architectures:
  - QWenLMHeadModel
parameters: 1.8B
tensor_type:
  - BF16
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 17818
stars: 0
---

# MindedWheeler

> MindedWheeler - FreedomIntelligence 在 ModelScope 开源的模型。MindedWheeler EmbodyAI with car as Demo

FreedomIntelligence/MindedWheeler 是 ModelScope 魔搭社区上的 1.8B 参数text-generation模型，采用 apache-2.0 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: FreedomIntelligence/MindedWheeler
- **License**: apache-2.0
- **Tasks**: text-generation
- **Parameters**: 1.8B
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 17818
- **Stars**: 0
- **Last updated**: 2024-12-31

Source: https://www.modelscope.cn/models/FreedomIntelligence/MindedWheeler

---

# MindedWheeler
Embody_AI with car as Demo


![MindedWheeler](assets/MindedWheeler.png)


<p align="center">
   🌐 <a href="https://github.com/FreedomIntelligence/MindedWheeler" target="_blank">Website</a> • 🤗 <a href="" target="_blank">Model</a>  
</p>

## 🌈 Update
* **[2024.02.23]** 🎉🎉🎉 MindedWheeler is published！🎉🎉🎉

## 🤖 Model Training Data

```
User：快速向左转
RobotAI: (1.0, -0.3)    
...
```

- The two float are in range [-1,1]
- The first float is speed, the second is direction (negative means left, positive means right).

## 🤖 Communication Protocol

- 0x02, 0x02, 0x01, 8, data_buf;  (See detail in [code](https://github.com/FreedomIntelligence/MindedWheeler/blob/main/qwen.cpp#L151))
    

## ℹ️ Usage
1. DownLoad 🤗 [Model](https://huggingface.co/FreedomIntelligence/MindedWheeler) get model.bin.
   ```
   cd MindedWheeler
   git submodule update --init --recursive
   python qwen_cpp/convert.py -i {Model_Path} -t {type} -o robot1_8b-ggml.bin
   ```
   You are free to try any of the below quantization types by specifying -t <type>:

    - q4_0: 4-bit integer quantization with fp16 scales.
    - q4_1: 4-bit integer quantization with fp16 scales and minimum values.
    - q5_0: 5-bit integer quantization with fp16 scales.
    - q5_1: 5-bit integer quantization with fp16 scales and minimum values.
    - q8_0: 8-bit integer quantization with fp16 scales.
    - f16: half precision floating point weights without quantization.
    - f32: single precision floating point weights without quantization.

2. Install package serial.tar.gz
   ```
    cd serial
    cmake .. & make & sudo make install
    ```
3. Compile the project using CMake:
    ```
    cmake -B build
    cmake --build build -j --config Release
    ```
4. Now you may chat and control your AI car with the quantized RobotAI model by running:
   - qwen.tiktoken is in the model directory
   ```
   ./build/bin/main -m robot1_8b-ggml.bin --tiktoken qwen.tiktoken -p 请快速向前
   ```

   To run the model in interactive mode, add the -i flag. For example:

     ```
     ./build/bin/main -m robot1_8b-ggml.bin --tiktoken qwen.tiktoken -i
     ```

   In interactive mode, your chat history will serve as the context for the next-round conversation.

## 🥸 To do list

- Continue to create data and train a robust model
- Add ASR and TTS
- ...


## ✨ Citation
Please use the following citation if you intend to use our dataset for training or evaluation:



```
@misc{MindedWheeler,
  title={MindedWheeler: Embody_AI with car as Demo},
  author={Xidong Wang*, Yuan Shen*},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/FreedomIntelligence/MindedWheeler}},
}
```

## 🤖 Acknowledgement 
- We thank [Qwen.cpp](https://github.com/QwenLM/qwen.cpp.git) and [llama.cpp](https://github.com/ggerganov/llama.cpp) for their excellent work.
