LumenScopeAI BrainTransformers
This revision is from 2024/10/18 00:56. You can Restore it.
- git clone https://github.com/LumenScopeAI/BrainTransformers-SNN-LLM.git
- https://huggingface.co/LumenscopeAI/BrainTransformers-3B-Chat
Custom transfomer that comes with git clone: BrainTransformers-SNN-LLM/transformers/models/braingpt/configuration_braingpt.py
Add:
from transformers import PretrainedConfig
git clone https://github.com/LumenScopeAI/BrainTransformers-SNN-LLM.git
cd BrainTransformers-SNN-LLM/
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
sudo apt-get install git-lfs
git lfs install
git clone https://huggingface.co/LumenscopeAI/BrainTransformers-3B-Chat
Open run.py and change the model path to BrainTransformers-3B-Chat