Skip to content

Physics Master is a model fine-tuned from llama3-8B-Instruct. It can answer your physics question!

License

Notifications You must be signed in to change notification settings

gallen881/Physics_Master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics Master

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.

How to use?

Run model on local computer

  1. Clone this repo.
    git clone https://github.com/gallen881/Physics_Master.git
    
  2. Move to Physics_Master
    cd Physics_Master
    
  3. Install dependencies.
    pip install -r requirements.txt
    
  4. Run chat.py.
    python chat.py
    

Run model on Colab

https://colab.research.google.com/github/gallen881/Physics_Master/blob/master/chat.ipynb

Additional Function

If want to use WolframAlpha, follow these steps:

  1. If don't have a WolframAlpha account, go here and create one.
  2. Go here and click Get an App ID.
  3. Enter Name and Description, then select Full Results API.
  4. Click Submit, then copy the App ID.
  5. Run set_keys.py, then enter your App ID.
    python set_keys.py
    

物理大師

物理大師是基於 unsloth/llama-3-8b-Instruct-bnb-4bitArtifactAI/arxiv-physics-instruct-tune-30k 微調的模型。這裡存放 Python 腳本。模型開源於 Hugging Face

如何使用?

在本地電腦運行

  1. clone 這個 repo
    git clone https://github.com/gallen881/Physics_Master.git
    
  2. 移動目錄到 Physics_Master
    cd Physics_Master
    
  3. 安裝依賴
    pip install -r requirements.txt
    
  4. 運行 chat.py
    python chat.py
    

在 colab 上運行

https://colab.research.google.com/github/gallen881/Physics_Master/blob/master/chat.ipynb

額外功能

如果想使用 WolframAlpha 的功能,依照以下步驟:

  1. 如果沒有 WolframAlpha 帳號,前往這裡註冊。
  2. 前往這裡 然後點擊 Get an App ID
  3. 輸入 NameDescription 然後選擇 Full Results API
  4. 點擊 Submit 然後複製 App ID
  5. 執行 set_keys.py 然後輸入你的 App ID。
    python set_keys.py
    

About

Physics Master is a model fine-tuned from llama3-8B-Instruct. It can answer your physics question!

Topics

Resources

License

Stars

Watchers

Forks