|
--- |
|
library_name: transformers |
|
tags: |
|
- llama-factory |
|
- BanBan |
|
- 板板 |
|
language: |
|
- en |
|
- zh |
|
datasets: |
|
- asadfgglie/BanBan_2024-7-1_v1 |
|
pipeline_tag: image-text-to-text |
|
--- |
|
|
|
# asadfgglie/banban-beta-v1 |
|
|
|
<!-- Provide a quick summary of what the model is/does. --> |
|
AI VTuber板板模型。 |
|
|
|
目標是打造屬於NTNU VLSI的專屬AI VT! |
|
|
|
目前僅開放給NTNU VLSI社員。如果你是社員,並想要取得本模型的權重,請至[Discord](https://discord.gg/kN8fNbscZR)聯繫我。 |
|
|
|
這個版本的模型是使用新版本的 `asadfgglie/BanBan_2024-7-1_v1` 來訓練的,實際上就是把對話記錄中段的模型回應也納入訓練集中。 |
|
|
|
根據實際與模型對話做比較,新版本的模型表現會穩定一些,至少會合理一點。 |
|
|
|
|
|
### Model Description |
|
|
|
<!-- Provide a longer summary of what this model is. --> |
|
|
|
- **Developed by:** [asadfgglie](https://huggingface.co/asadfgglie) |
|
- **Funded by:** [asadfgglie](https://huggingface.co/asadfgglie) |
|
- **Shared by:** [asadfgglie](https://huggingface.co/asadfgglie) |
|
- **Model type:** llava |
|
- **Language(s) (NLP):** Image-text-to-text |
|
- **License:** 僅供NTNU VLSI社員內部研究使用 |
|
- **Finetuned from model:** [xtuner/llava-llama-3-8b-v1_1-transformers](https://huggingface.co/xtuner/llava-llama-3-8b-v1_1-transformers) |
|
|
|
|
|
## Uses |
|
|
|
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. --> |
|
~~接觸板板,理解板板,成為板板~~ |
|
|
|
主要用於聊天與VT直播用,但目前能力僅供聊天用 |
|
|
|
### Direct Use |
|
|
|
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. --> |
|
|
|
你可以直接拿來當普通的AI助手來用,嗯,帶點食品偏好~~鳳梨狂熱~~的助手 |
|
|
|
|
|
### Out-of-Scope Use |
|
|
|
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. --> |
|
|
|
關於一些政治類問題我不建議你去問板板,主要原因是基底模型Llama3本身就被訓練會避開這些問題回答。 |
|
|
|
## Bias, Risks, and Limitations |
|
|
|
<!-- This section is meant to convey both technical and sociotechnical limitations. --> |
|
|
|
板板是一名狂熱的鳳梨披薩支持者,從現在是,以後未來也是。這是直接寫在訓練集與prompt中的設定,屬於刻在DNA裡的印記,是神聖不可分割的一部分! |
|
|
|
### Recommendations |
|
|
|
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. --> |
|
|
|
你必須接受鳳梨披薩才能理解板板 |
|
|
|
## How to Get Started with the Model |
|
|
|
對於不會寫程式,只想嘗鮮的新手們,我的建議是[LM Studio](https://lmstudio.ai/),這個免費的專案可以很方便地幫你搞定一切麻煩的設定,只是沒辦法使用自定義名稱,因此可能會無法體驗到最佳的對話效果 |
|
|
|
(主要是因為這東西還沒把內部的對話紀錄儲存格式更新到與openAI最新版API相同的模樣,最新版的openAI API已經支援定義每個message的作者名稱設定了,llama3本身也設計過prompt格式,也有限度的支援自定義作者名稱) |
|
|
|
如果你選擇使用[oobabooga/text-generation-webui](https://github.com/oobabooga/text-generation-webui)來做為你的推理平台,請等text-generation-webui的作者更新他的transformers依賴到新版本。因為本模型所使用的架構似乎不存在於當下所依賴的版本。如果你發現有依賴了請聯繫我,我會在更新此文檔。 |
|
|
|
|
|
## Technical Specifications |
|
|
|
### Model Architecture and Objective |
|
|
|
LlavaForConditionalGeneration, turn base model into llama3 |
|
|
|
### Compute Infrastructure |
|
|
|
#### Hardware |
|
|
|
CPU: Intel(R) Core(TM) i5-14400 |
|
GPU: NVIDIA GeForce RTX 4060 Ti 16G |
|
RAM: 32G |
|
|
|
(若VRAM小於等於16G,請使用`load_in_8bit`或`load_in_4bit`載入,否則基本上會OOM) |
|
|
|
#### Software |
|
|
|
感謝偉大的[hiyouga/LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory)讓我省下了大把稿基建的時間 |