Instructions to use jxxqtech/ft-tinyllama-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jxxqtech/ft-tinyllama-bnb-4bit with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jxxqtech/ft-tinyllama-bnb-4bit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jxxqtech/ft-tinyllama-bnb-4bit 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 jxxqtech/ft-tinyllama-bnb-4bit:F16 # Run inference directly in the terminal: llama cli -hf jxxqtech/ft-tinyllama-bnb-4bit:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jxxqtech/ft-tinyllama-bnb-4bit:F16 # Run inference directly in the terminal: llama cli -hf jxxqtech/ft-tinyllama-bnb-4bit:F16
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 jxxqtech/ft-tinyllama-bnb-4bit:F16 # Run inference directly in the terminal: ./llama-cli -hf jxxqtech/ft-tinyllama-bnb-4bit:F16
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 jxxqtech/ft-tinyllama-bnb-4bit:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf jxxqtech/ft-tinyllama-bnb-4bit:F16
Use Docker
docker model run hf.co/jxxqtech/ft-tinyllama-bnb-4bit:F16
- LM Studio
- Jan
- Ollama
How to use jxxqtech/ft-tinyllama-bnb-4bit with Ollama:
ollama run hf.co/jxxqtech/ft-tinyllama-bnb-4bit:F16
- Unsloth Desktop
- Docker Model Runner
How to use jxxqtech/ft-tinyllama-bnb-4bit with Docker Model Runner:
docker model run hf.co/jxxqtech/ft-tinyllama-bnb-4bit:F16
- Lemonade
How to use jxxqtech/ft-tinyllama-bnb-4bit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jxxqtech/ft-tinyllama-bnb-4bit:F16
Run and chat with the model
lemonade run user.ft-tinyllama-bnb-4bit-F16
List all available models
lemonade list
- Atomic Chat
File size: 921 Bytes
5e8e649 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | {
"add_bos_token": true,
"add_eos_token": false,
"add_prefix_space": null,
"added_tokens_decoder": {
"0": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "<s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"legacy": false,
"model_max_length": 2048,
"pad_token": "<unk>",
"padding_side": "left",
"sp_model_kwargs": {},
"tokenizer_class": "LlamaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false
}
|