Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| #!/bin/bash | |
| # Author: An Shen | |
| # Date: 2023-01-30 | |
| . /etc/profile | |
| function log(){ | |
| echo "[$(date +'%Y-%m-%d %H:%M:%S')] - $1" | |
| } |
Turn cocopilot into github enterprise server, so that we can use CoCoPilot without patching Copilot plugin.
*cocopilot-gh-enterprise.XXXXXXXX.XXX. You should also add DNS records cocopilot-gh-enterprise.XXXXXXXX.XXX & *.cocopilot-gh-enterprise.XXXXXXXX.XXX to make the route available

cocopilot-gh-enterprise.XXXXXXXX.XXX| # coding=utf-8 | |
| # Copyright 2023 Mixtral AI and the HuggingFace Inc. team. All rights reserved. | |
| # | |
| # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX | |
| # and OPT implementations in this library. It has been modified from its | |
| # original forms to accommodate minor architectural differences compared | |
| # to GPT-NeoX and OPT used by the Meta AI team that trained the model. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. |