Instructions to use ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M
Use Docker
docker model run hf.co/ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf with Ollama:
ollama run hf.co/ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M
- Unsloth Studio
How to use ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-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 ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf to start chatting
- Docker Model Runner
How to use ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf with Docker Model Runner:
docker model run hf.co/ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M
- Lemonade
How to use ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ruslandev/llama-3-8b-gpt-4o-ru1.0-gguf:Q4_K_M
Run and chat with the model
lemonade run user.llama-3-8b-gpt-4o-ru1.0-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +134 -0
- ggml-model-Q2_K.gguf +3 -0
- ggml-model-Q4_K_M.gguf +3 -0
- ggml-model-Q8_0.gguf +3 -0
- ggml-model-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
ggml-model-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ggml-model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ggml-model-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
ggml-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama3
|
| 3 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/output_llama3_8b_gpt_4o_ru
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
| 15 |
+
<details><summary>See axolotl config</summary>
|
| 16 |
+
|
| 17 |
+
axolotl version: `0.4.1`
|
| 18 |
+
```yaml
|
| 19 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
| 20 |
+
model_type: LlamaForCausalLM
|
| 21 |
+
tokenizer_type: AutoTokenizer # PreTrainedTokenizerFast
|
| 22 |
+
|
| 23 |
+
load_in_8bit: false
|
| 24 |
+
load_in_4bit: false
|
| 25 |
+
strict: false
|
| 26 |
+
|
| 27 |
+
datasets:
|
| 28 |
+
- path: ruslandev/tagengo-rus-gpt-4o
|
| 29 |
+
type: sharegpt
|
| 30 |
+
conversation: llama-3
|
| 31 |
+
dataset_prepared_path: /home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/prepared_tagengo_rus
|
| 32 |
+
val_set_size: 0.01
|
| 33 |
+
output_dir: /home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/output_llama3_8b_gpt_4o_ru
|
| 34 |
+
|
| 35 |
+
sequence_len: 8192
|
| 36 |
+
sample_packing: true
|
| 37 |
+
pad_to_sequence_len: true
|
| 38 |
+
eval_sample_packing: false
|
| 39 |
+
|
| 40 |
+
use_wandb: false
|
| 41 |
+
#wandb_project: axolotl
|
| 42 |
+
#wandb_entity: wandb_entity
|
| 43 |
+
#wandb_name: llama_3_8b_gpt_4o_ru
|
| 44 |
+
|
| 45 |
+
gradient_accumulation_steps: 2
|
| 46 |
+
micro_batch_size: 2
|
| 47 |
+
num_epochs: 1
|
| 48 |
+
optimizer: paged_adamw_8bit
|
| 49 |
+
lr_scheduler: cosine
|
| 50 |
+
learning_rate: 1e-5
|
| 51 |
+
|
| 52 |
+
train_on_inputs: false
|
| 53 |
+
group_by_length: false
|
| 54 |
+
bf16: auto
|
| 55 |
+
fp16:
|
| 56 |
+
tf32: false
|
| 57 |
+
|
| 58 |
+
gradient_checkpointing: true
|
| 59 |
+
gradient_checkpointing_kwargs:
|
| 60 |
+
use_reentrant: false
|
| 61 |
+
early_stopping_patience:
|
| 62 |
+
resume_from_checkpoint:
|
| 63 |
+
logging_steps: 1
|
| 64 |
+
xformers_attention:
|
| 65 |
+
flash_attention: true
|
| 66 |
+
|
| 67 |
+
warmup_steps: 10
|
| 68 |
+
evals_per_epoch: 5
|
| 69 |
+
eval_table_size:
|
| 70 |
+
saves_per_epoch: 1
|
| 71 |
+
debug:
|
| 72 |
+
deepspeed: /home/ubuntu/axolotl/deepspeed_configs/zero2.json
|
| 73 |
+
weight_decay: 0.0
|
| 74 |
+
special_tokens:
|
| 75 |
+
pad_token: <|end_of_text|>
|
| 76 |
+
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
</details><br>
|
| 80 |
+
|
| 81 |
+
# home/ubuntu/llm_training/axolotl/llama3-8b-gpt-4o-ru/output_llama3_8b_gpt_4o_ru
|
| 82 |
+
|
| 83 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on the None dataset.
|
| 84 |
+
It achieves the following results on the evaluation set:
|
| 85 |
+
- Loss: 0.7702
|
| 86 |
+
|
| 87 |
+
## Model description
|
| 88 |
+
|
| 89 |
+
More information needed
|
| 90 |
+
|
| 91 |
+
## Intended uses & limitations
|
| 92 |
+
|
| 93 |
+
More information needed
|
| 94 |
+
|
| 95 |
+
## Training and evaluation data
|
| 96 |
+
|
| 97 |
+
More information needed
|
| 98 |
+
|
| 99 |
+
## Training procedure
|
| 100 |
+
|
| 101 |
+
### Training hyperparameters
|
| 102 |
+
|
| 103 |
+
The following hyperparameters were used during training:
|
| 104 |
+
- learning_rate: 1e-05
|
| 105 |
+
- train_batch_size: 2
|
| 106 |
+
- eval_batch_size: 2
|
| 107 |
+
- seed: 42
|
| 108 |
+
- distributed_type: multi-GPU
|
| 109 |
+
- num_devices: 2
|
| 110 |
+
- gradient_accumulation_steps: 2
|
| 111 |
+
- total_train_batch_size: 8
|
| 112 |
+
- total_eval_batch_size: 4
|
| 113 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 114 |
+
- lr_scheduler_type: cosine
|
| 115 |
+
- lr_scheduler_warmup_steps: 10
|
| 116 |
+
- num_epochs: 1
|
| 117 |
+
|
| 118 |
+
### Training results
|
| 119 |
+
|
| 120 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 121 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 122 |
+
| 1.1347 | 0.016 | 1 | 1.1086 |
|
| 123 |
+
| 0.916 | 0.208 | 13 | 0.8883 |
|
| 124 |
+
| 0.8494 | 0.416 | 26 | 0.8072 |
|
| 125 |
+
| 0.8657 | 0.624 | 39 | 0.7814 |
|
| 126 |
+
| 0.8077 | 0.832 | 52 | 0.7702 |
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
### Framework versions
|
| 130 |
+
|
| 131 |
+
- Transformers 4.41.1
|
| 132 |
+
- Pytorch 2.2.2+cu121
|
| 133 |
+
- Datasets 2.19.1
|
| 134 |
+
- Tokenizers 0.19.1
|
ggml-model-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:286841129059d8d38d1564b940872eeda7c4b4178f5b6b46c7cad807be505e72
|
| 3 |
+
size 3179131200
|
ggml-model-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afe3ef1c8eb58901bfc3bdd24512f50116e6b05bf81d29ec3e54dc3976ade2b6
|
| 3 |
+
size 4920734016
|
ggml-model-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc2d6cfa1206c1bc1a55dd74999a9364a91b9b6e444fe005a657b72c3cbd271c
|
| 3 |
+
size 8540770624
|
ggml-model-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13cddb518b7bdab8909eda4c9f4684684490a1bc5f06bc30126bab39818c31bb
|
| 3 |
+
size 16068890944
|