Transformers
PyTorch
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
sft
8-bit precision
Instructions to use FarhanAkhtar/Model-V2-cot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FarhanAkhtar/Model-V2-cot with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FarhanAkhtar/Model-V2-cot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use FarhanAkhtar/Model-V2-cot 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 FarhanAkhtar/Model-V2-cot:F16 # Run inference directly in the terminal: llama cli -hf FarhanAkhtar/Model-V2-cot:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FarhanAkhtar/Model-V2-cot:F16 # Run inference directly in the terminal: llama cli -hf FarhanAkhtar/Model-V2-cot:F16
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 FarhanAkhtar/Model-V2-cot:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf FarhanAkhtar/Model-V2-cot:F16
Use Docker
docker model run hf.co/FarhanAkhtar/Model-V2-cot:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use FarhanAkhtar/Model-V2-cot with Ollama:
ollama run hf.co/FarhanAkhtar/Model-V2-cot:F16
- Unsloth Desktop
- Docker Model Runner
How to use FarhanAkhtar/Model-V2-cot with Docker Model Runner:
docker model run hf.co/FarhanAkhtar/Model-V2-cot:F16
- Lemonade
How to use FarhanAkhtar/Model-V2-cot with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FarhanAkhtar/Model-V2-cot:F16
Run and chat with the model
lemonade run user.Model-V2-cot-F16
List all available models
lemonade list
- Atomic Chat
File size: 230 Bytes
991e390 | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"_from_model_config": true,
"bos_token_id": 128000,
"do_sample": true,
"eos_token_id": 128001,
"max_length": 131072,
"pad_token_id": 128004,
"temperature": 0.6,
"top_p": 0.9,
"transformers_version": "4.49.0"
}
|