Downloads · 30 days
38
3% of all-time downloads
axyzdong/AMchat-GGUF
AMchat-GGUF is a machine learning model from axyzdong. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<div align="center" <img src="https://raw.githubusercontent.com/AXYZdong/AMchat/main/assets/logo.png" width="200" alt="AMchat Logo"/ <div align="center" <b<font size="5"AMchat</font</b </div <div align="center" <a hre…
Downloads · 30 days
38
3% of all-time downloads
All-time downloads
1.3K
Public
Repo size
56.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf56.9 GB · 100%
From the Hugging Face model README
AM (Advanced Mathematics) Chat is a large-scale language model that integrates mathematical knowledge, advanced mathematics problems, and their solutions. This model utilizes a dataset that combines Math and advanced mathematics problems with their analyses. It is based on the InternLM2-Math-7B model and has been fine-tuned with xtuner, specifically designed to solve advanced mathematics problems.
2024-08-16
2024-08-09
To get started with AMchat in Ollama, follow these steps:
Clone the Repository
git lfs install
git clone https://huggingface.co/axyzdong/AMchat-GGUF
Creat Model
Make sure you have installed ollama in advance. https://ollama.com/
ollama create AMchat -f Modelfile
Run
ollama run AMchat
You can use llama-cli for conducting inference. For a detailed explanation of llama-cli, please refer to this guide
We recommend building llama.cpp from source. The following code snippet provides an example for the Linux CUDA platform. For instructions on other platforms, please refer to the official guide.
conda create --name AMchat python=3.10 -y
conda activate AMchat
pip install cmake
git clone --depth=1 https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j
All the built targets can be found in the sub directory build/bin
In the following sections, we assume that the working directory is at the root directory of llama.cpp.
You can download the appropriate model based on your requirements.
For instance, AMchat-q8_0.gguf can be downloaded as below:
pip install huggingface-hub
huggingface-cli download axyzdong/AMchat-GGUF AMchat-q8_0.gguf --local-dir . --local-dir-use-symlinks False
build/bin/llama-cli \
--model AMchat-fp16.gguf \
--predict 512 \
--ctx-size 4096 \
--gpu-layers 24 \
--temp 0.8 \
--top-p 0.8 \
--top-k 50 \
--seed 1024 \
--color \
--prompt "<|im_start|>system\nYou are an expert in advanced math and you can answer all kinds of advanced math problems.<|im_end|>\n" \
--interactive \
--multiline-input \
--conversation \
--verbose \
--logdir workdir/logdir \
--in-prefix "<|im_start|>user\n" \
--in-suffix "<|im_end|>\n<|im_start|>assistant\n"
If you find AMchat useful, please ⭐ Star this repository and help others discover it!