Instructions to use QuantFactory/LLaMA-O1-Base-1127-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/LLaMA-O1-Base-1127-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/LLaMA-O1-Base-1127-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/LLaMA-O1-Base-1127-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 QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
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 QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
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 QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/LLaMA-O1-Base-1127-GGUF with Ollama:
ollama run hf.co/QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
- Unsloth Studio
How to use QuantFactory/LLaMA-O1-Base-1127-GGUF 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 QuantFactory/LLaMA-O1-Base-1127-GGUF 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 QuantFactory/LLaMA-O1-Base-1127-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/LLaMA-O1-Base-1127-GGUF to start chatting
- Docker Model Runner
How to use QuantFactory/LLaMA-O1-Base-1127-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/LLaMA-O1-Base-1127-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/LLaMA-O1-Base-1127-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LLaMA-O1-Base-1127-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
|
| 4 |
+
library_name: transformers
|
| 5 |
+
license: other
|
| 6 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
| 7 |
+
tags:
|
| 8 |
+
- llama-factory
|
| 9 |
+
- full
|
| 10 |
+
- generated_from_trainer
|
| 11 |
+
model-index:
|
| 12 |
+
- name: SimpleBerry/LLaMA-O1-Base-1127
|
| 13 |
+
results: []
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
[](https://hf.co/QuantFactory)
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# QuantFactory/LLaMA-O1-Base-1127-GGUF
|
| 21 |
+
This is quantized version of [SimpleBerry/LLaMA-O1-Base-1127](https://huggingface.co/SimpleBerry/LLaMA-O1-Base-1127) created using llama.cpp
|
| 22 |
+
|
| 23 |
+
# Original Model Card
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 27 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 28 |
+
|
| 29 |
+
# SimpleBerry/LLaMA-O1-Base-1127
|
| 30 |
+
|
| 31 |
+
This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on the longcot_pt dataset.
|
| 32 |
+
|
| 33 |
+
Do not use this model without supervised training, please use [LLaMA-O1-Supervised-1129](https://huggingface.co/SimpleBerry/LLaMA-O1-Supervised-1129) for directly usage.
|
| 34 |
+
|
| 35 |
+
## Model description
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Intended uses & limitations
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Training and evaluation data
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 46 |
+
|
| 47 |
+
## Training procedure
|
| 48 |
+
|
| 49 |
+
### Training hyperparameters
|
| 50 |
+
|
| 51 |
+
The following hyperparameters were used during training:
|
| 52 |
+
- learning_rate: 5e-05
|
| 53 |
+
- train_batch_size: 1
|
| 54 |
+
- eval_batch_size: 8
|
| 55 |
+
- seed: 42
|
| 56 |
+
- distributed_type: multi-GPU
|
| 57 |
+
- num_devices: 24
|
| 58 |
+
- total_train_batch_size: 24
|
| 59 |
+
- total_eval_batch_size: 192
|
| 60 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 61 |
+
- lr_scheduler_type: cosine
|
| 62 |
+
- num_epochs: 4.0
|
| 63 |
+
|
| 64 |
+
### Training results
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- Transformers 4.46.2
|
| 71 |
+
- Pytorch 2.3.1
|
| 72 |
+
- Datasets 3.1.0
|
| 73 |
+
- Tokenizers 0.20.1
|
| 74 |
+
|