Instructions to use oldbridge/latxa-7b-instruct-q8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use oldbridge/latxa-7b-instruct-q8 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="oldbridge/latxa-7b-instruct-q8", filename="latxa-7b-instruct-q8.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use oldbridge/latxa-7b-instruct-q8 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf oldbridge/latxa-7b-instruct-q8 # Run inference directly in the terminal: llama-cli -hf oldbridge/latxa-7b-instruct-q8
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf oldbridge/latxa-7b-instruct-q8 # Run inference directly in the terminal: llama-cli -hf oldbridge/latxa-7b-instruct-q8
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf oldbridge/latxa-7b-instruct-q8 # Run inference directly in the terminal: ./llama-cli -hf oldbridge/latxa-7b-instruct-q8
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf oldbridge/latxa-7b-instruct-q8 # Run inference directly in the terminal: ./build/bin/llama-cli -hf oldbridge/latxa-7b-instruct-q8
Use Docker
docker model run hf.co/oldbridge/latxa-7b-instruct-q8
- LM Studio
- Jan
- vLLM
How to use oldbridge/latxa-7b-instruct-q8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "oldbridge/latxa-7b-instruct-q8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "oldbridge/latxa-7b-instruct-q8", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/oldbridge/latxa-7b-instruct-q8
- Ollama
How to use oldbridge/latxa-7b-instruct-q8 with Ollama:
ollama run hf.co/oldbridge/latxa-7b-instruct-q8
- Unsloth Studio new
How to use oldbridge/latxa-7b-instruct-q8 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for oldbridge/latxa-7b-instruct-q8 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for oldbridge/latxa-7b-instruct-q8 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for oldbridge/latxa-7b-instruct-q8 to start chatting
- Docker Model Runner
How to use oldbridge/latxa-7b-instruct-q8 with Docker Model Runner:
docker model run hf.co/oldbridge/latxa-7b-instruct-q8
- Lemonade
How to use oldbridge/latxa-7b-instruct-q8 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull oldbridge/latxa-7b-instruct-q8
Run and chat with the model
lemonade run user.latxa-7b-instruct-q8-{{QUANT_TAG}}List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)Latxa 7b Instruct GGUF
Provided files
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|---|---|---|---|---|---|
| latxa-7b-v1-instruct-q8_0.gguf | 8 bits | 7 GB | 8,2 GB | Fits in a RTX 3060 12Gb |
- Downloads last month
- 15
Hardware compatibility
Log In to add your hardware
We're not able to determine the quantization variants.
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="oldbridge/latxa-7b-instruct-q8", filename="latxa-7b-instruct-q8.gguf", )