Run this model with HF Jobs
Run balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS # Run inference directly in the terminal: llama cli -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS # Run inference directly in the terminal: llama cli -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS # Run inference directly in the terminal: ./build/bin/llama cli -hf balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
Use Docker
docker model run hf.co/balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
- Llama new
- LM Studio
- Jan
- Ollama
How to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with Ollama:
ollama run hf.co/balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
- Unsloth Desktop
- Docker Model Runner
How to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with Docker Model Runner:
docker model run hf.co/balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
- Lemonade
How to use balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF:IQ3_XXS
Run and chat with the model
lemonade run user.open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF-IQ3_XXS
List all available models
lemonade list
- Atomic Chat
balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF
This model was converted to GGUF format from balrogbob/open_llama_3b_v2-python-instruct-0.1 using llama.cpp via the ggml.ai's GGUF-my-repo space.
Refer to the original model card for more details on the model.
Needs < /s > (minus spaces) as stop tag, some software works automatically, some (like LM Studio) need the stop tag added. Despite the alpaca training it still expects a bert style stop token.
Use with llama.cpp
Install llama.cpp through brew (works on Mac and Linux)
brew install llama.cpp
Invoke the llama.cpp server or the CLI.
CLI:
llama-cli --hf-repo balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF --hf-file open_llama_3b_v2-python-instruct-0.1-iq3_xxs-imat.gguf -p "The meaning to life and the universe is"
Server:
llama-server --hf-repo balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF --hf-file open_llama_3b_v2-python-instruct-0.1-iq3_xxs-imat.gguf -c 2048
Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.
Step 1: Clone llama.cpp from GitHub.
git clone https://github.com/ggerganov/llama.cpp
Step 2: Move into the llama.cpp folder and build it with LLAMA_CURL=1 flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
cd llama.cpp && LLAMA_CURL=1 make
Step 3: Run inference through the main binary.
./llama-cli --hf-repo balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF --hf-file open_llama_3b_v2-python-instruct-0.1-iq3_xxs-imat.gguf -p "The meaning to life and the universe is"
or
./llama-server --hf-repo balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF --hf-file open_llama_3b_v2-python-instruct-0.1-iq3_xxs-imat.gguf -c 2048
- Downloads last month
- 32
3-bit
Model tree for balrogbob/open_llama_3b_v2-python-instruct-0.1-IQ3_XXS-GGUF
Base model
openlm-research/open_llama_3b_v2