Views
No views yet
1sudo apt update
2sudo apt install -y build-essential
3sudo apt install -y python3 python3-pip git-lfs
4sudo apt install -y cmake
5sudo apt install -y libcurl4-openssl-dev1git clone https://github.com/ggerganov/llama.cpp
2cd llama.cpp
3pip install -r requirements.txt1rm -rf build
2cmake -B build
3cmake --build build --config Release -j$(nproc)1mkdir Fara-7B
2cd Fara-7B1git clone https://huggingface.co/microsoft/Fara-7B .
2cd ..python3 convert_hf_to_gguf.py Fara-7B --outfile Fara-7B-F16.gguf --outtype f16./build/bin/llama-quantize Fara-7B-F16.gguf Fara-7B-Q8_0.gguf Q8_01ollama pull hf.co/AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF:Q8_0
2ollama run hf.co/AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF:Q8_01root@88f683b2c6d5:/# ollama pull hf.co/AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF:Q8_0
2pulling manifest
3pulling c0b330e7015f: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 8.1 GB
4pulling a242d8dfdc8f: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 487 B
5pulling f6460fc7dd9f: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 22 B
6pulling fb45dc380b05: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 557 B
7verifying sha256 digest
8writing manifest
9success
10root@88f683b2c6d5:/# ollama run hf.co/AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF:Q8_0
11>>> Hello
12Hi there, how can I help you today? If you have any questions or need information on a topic, just let me know and I'll do my best to assist.
13<tool_call>
14{"name": "Assistant", "role": "LanguageModel", "developer": "Microsoft Research AI Frontiers"}}
15<tool_call>
16>>> Send a message (/? for help)huggingface-cli:1huggingface-cli download AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF \
2 Fara-7B-Q8_0.gguf --local-dir /path/to/llama.cpp1./build/bin/llama-cli \
2 -m Fara-7B-Q8_0.gguf \
3 -p "Describe what is happening in this image and suggest the next logical computer action." \
4 --image /path/to/your/screenshot.jpg \
5 -n 512 \
6 -c 4096 \
7 -ngl 991./build/bin/llama-server \
2 -m Fara-7B-Q8_0.gguf \
3 -c 4096 \
4 -ngl 99 \
5 --host 0.0.0.01./build/bin/llama-cli \
2 --hf-repo AXONVERTEX-AI-RESEARCH/Fara-7B-Q8-GGUF \
3 --hf-file Fara-7B-Q8_0.gguf \
4 -p "What is the capital of France?" \
5 -ngl 99