Instructions to use ImparkTeam/LLama-8b-8math-tutor-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 ImparkTeam/LLama-8b-8math-tutor-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 ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ImparkTeam/LLama-8b-8math-tutor-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 ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
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 ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with Ollama:
ollama run hf.co/ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with Docker Model Runner:
docker model run hf.co/ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
- Lemonade
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LLama-8b-8math-tutor-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ImparkTeam/LLama-8b-8math-tutor-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "ImparkTeam/LLama-8b-8math-tutor-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
llamas-8b-8math-tutor-GGUF ๐งฎ
Bu repository, ImparkTeam/LLama-8b-8math-tutor LoRA adaptรถrlerinin, ytu-ce-cosmos/Turkish-Llama-8b-Instruct-v0.1 temel modeli รผzerine birleลtirilerek oluลturulmuล GGUF versiyonlarฤฑnฤฑ iรงerir.
Bu modeller, รถzellikle CPU รผzerinde ve internet baฤlantฤฑsฤฑ olmadan รงevrimdฤฑลฤฑ รงalฤฑลacak ลekilde tasarlanmฤฑล masaรผstรผ uygulamalarฤฑ iรงin optimize edilmiลtir.
๐ Proje Hakkฤฑnda
Bu model, 8. sฤฑnฤฑf รถฤrencilerine matematik konularฤฑnda yardฤฑmcฤฑ olmak รผzere tasarlanmฤฑล, konuลma formatฤฑnda bir yapay zeka asistanฤฑdฤฑr. Model, iki aลamalฤฑ bir strateji ile eฤitilmiลtir:
- Dil Adaptasyonu:
ytu-ce-cosmosekibi tarafฤฑndan Tรผrkรงe'ye adapte edilmiล saฤlam bir temel model kullanฤฑlmฤฑลtฤฑr. - Uzmanlฤฑk Adaptasyonu: Bu temel model รผzerine, 30,000 satฤฑrlฤฑk 8. sฤฑnฤฑf matematik veri setiyle
[TASK]etiketli talimat formatlamasฤฑ kullanฤฑlarak LoRA ile fine-tuning yapฤฑlmฤฑลtฤฑr.
Bu yaklaลฤฑm, modelin hem gรผรงlรผ Tรผrkรงe yeteneฤini korumasฤฑnฤฑ hem de spesifik bir alanda uzmanlaลmasฤฑnฤฑ saฤlamฤฑลtฤฑr.
โ๏ธ Model Versiyonlarฤฑ
Bu repository, farklฤฑ ihtiyaรงlara yรถnelik รงeลitli kuantizasyon seviyeleri sunar:
| Dosya Adฤฑ | Boyut | Kalite | รnerilen RAM | Kullanฤฑm Alanฤฑ |
|---|---|---|---|---|
...-q4_k_m.gguf |
~4.9 GB | Yรผksek Kalite | 8 GB+ | รnerilen. รoฤu masaรผstรผ uygulamasฤฑ iรงin ideal boyut/performans dengesi. |
...-q5_k_m.gguf |
~5.7 GB | รok Yรผksek Kalite | 16 GB+ | Kaliteye รถncelik verenler iรงin. |
...-q8_0.gguf |
~8.5 GB | Neredeyse Kayฤฑpsฤฑz | 16 GB+ | En yรผksek doฤruluk, daha fazla kaynak gerektirir. |
...-f16.gguf |
~16.1 GB | Tam Hassasiyet | 32 GB+ | Kuantize edilmemiล, arลiv veya gรผรงlรผ GPU'larda kullanฤฑm iรงin. |
๐ป llama-cpp-python ile Kullanฤฑm
from llama_cpp import Llama
# Modeli yรผkle (รrnek olarak q4_k_m kullanฤฑlmฤฑลtฤฑr)
# n_gpu_layers=-1 parametresi, varsa tรผm katmanlarฤฑ GPU'ya yรผklemeye รงalฤฑลฤฑr.
# GPU yoksa, model tamamen CPU รผzerinde รงalฤฑลฤฑr.
llm = Llama(
model_path="./LLama-8b-8math-tutor-GGUF/LLama-8b-8math-tutor-q4_k_m.gguf",
n_ctx=2048,
n_gpu_layers=-1,
n_threads=4, # CPU รงekirdek sayฤฑnฤฑza gรถre ayarlayฤฑn
chat_format="chatml"
)
# Sohbet geรงmiลini oluลtur
messages = [
{"role": "system", "content": "Sen 8. sฤฑnฤฑf seviyesinde, tarafsฤฑz ve destekleyici bir matematik รถฤretmenisin."},
{"role": "user", "content": "EBOB ve EKOK arasฤฑndaki fark nedir?"}
]
# Cevap รผret
response = llm.create_chat_completion(messages=messages)
print(response['choices'][0]['message']['content'])
๐ Eฤitim Detaylarฤฑ
Hiperparametreler
| Parametre | Deฤer |
|---|---|
| base_model | ytu-ce-cosmos/Turkish-Llama-8b-Instruct-v0.1 |
| lora_r | 16 |
| lora_alpha | 32 |
| lora_dropout | 0 |
| target_modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| batch_size | 8 |
| num_train_epochs | 2 |
| learning_rate | 2e-4 |
| optim | adamw_8bit |
Sonuรงlar
- Final Training Loss: 0.7500
Bu model, Unsloth kรผtรผphanesi kullanฤฑlarak eฤitilmiลtir. ๐ฆฅ
- Downloads last month
- 17