Transformers
PyTorch
Safetensors
GGUF
English
qwen2
text-generation-inference
unsloth
trl
sft
conversational
Instructions to use harxsan/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harxsan/model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("harxsan/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use harxsan/model 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 harxsan/model:Q8_0 # Run inference directly in the terminal: llama cli -hf harxsan/model:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf harxsan/model:Q8_0 # Run inference directly in the terminal: llama cli -hf harxsan/model:Q8_0
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 harxsan/model:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf harxsan/model:Q8_0
Use Docker
docker model run hf.co/harxsan/model:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use harxsan/model with Ollama:
ollama run hf.co/harxsan/model:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use harxsan/model with Docker Model Runner:
docker model run hf.co/harxsan/model:Q8_0
- Lemonade
How to use harxsan/model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull harxsan/model:Q8_0
Run and chat with the model
lemonade run user.model-Q8_0
List all available models
lemonade list
- Atomic Chat
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.641d992
-
(Trained with Unsloth)
Verified signature220dde4 -
(Trained with Unsloth)
Verified signature6df8b0c -
(Trained with Unsloth)
Verified signatureee0eb42
-
Trained with Unsloth
Verified signaturefef7730 -
Upload tokenizer
Verified signature1ef061a -
Upload README.md with huggingface_hub
Verified signaturea274820 -
initial commit
Verified signature5a7a197