Physics Master is a model finetuned from unsloth/llama-3-8b-Instruct-bnb-4bit and ArtifactAI/arxiv-physics-instruct-tune-30k. Here is the python code. The model is open source on Hugging Face.
- Clone this repo.
git clone https://github.com/gallen881/Physics_Master.git
- Move to
Physics_Master
cd Physics_Master
- Install dependencies.
pip install -r requirements.txt
- Run
chat.py
.python chat.py
https://colab.research.google.com/github/gallen881/Physics_Master/blob/master/chat.ipynb
If want to use WolframAlpha, follow these steps:
- If don't have a WolframAlpha account, go here and create one.
- Go here and click Get an App ID.
- Enter Name and Description, then select Full Results API.
- Click Submit, then copy the App ID.
- Run
set_keys.py
, then enter your App ID.python set_keys.py
物理大師是基於 unsloth/llama-3-8b-Instruct-bnb-4bit 和 ArtifactAI/arxiv-physics-instruct-tune-30k 微調的模型。這裡存放 Python 腳本。模型開源於 Hugging Face。
- clone 這個 repo
git clone https://github.com/gallen881/Physics_Master.git
- 移動目錄到
Physics_Master
cd Physics_Master
- 安裝依賴
pip install -r requirements.txt
- 運行
chat.py
python chat.py
https://colab.research.google.com/github/gallen881/Physics_Master/blob/master/chat.ipynb
如果想使用 WolframAlpha 的功能,依照以下步驟: