Instructions to use alperiox/Trendyol-LLM-7b-gguf-v1.0 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 alperiox/Trendyol-LLM-7b-gguf-v1.0 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 alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M # Run inference directly in the terminal: llama cli -hf alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M # Run inference directly in the terminal: llama cli -hf alperiox/Trendyol-LLM-7b-gguf-v1.0: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 alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf alperiox/Trendyol-LLM-7b-gguf-v1.0: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 alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
Use Docker
docker model run hf.co/alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use alperiox/Trendyol-LLM-7b-gguf-v1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alperiox/Trendyol-LLM-7b-gguf-v1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alperiox/Trendyol-LLM-7b-gguf-v1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
- Ollama
How to use alperiox/Trendyol-LLM-7b-gguf-v1.0 with Ollama:
ollama run hf.co/alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use alperiox/Trendyol-LLM-7b-gguf-v1.0 with Docker Model Runner:
docker model run hf.co/alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
- Lemonade
How to use alperiox/Trendyol-LLM-7b-gguf-v1.0 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull alperiox/Trendyol-LLM-7b-gguf-v1.0:Q4_K_M
Run and chat with the model
lemonade run user.Trendyol-LLM-7b-gguf-v1.0-Q4_K_M
List all available models
lemonade list
- Atomic Chat

Trendyol LLM v1.0 GGUF Versions
Trendyol LLM v1.0 is a generative model that is based on Mistral 7B model. This is the repository for the gguf version of the base model.
I used llama.cpp to convert the base model to GGUF along with its 4-bit and 16-bit quantized versions. (colab notebook)
Model Details
Model Developers Trendyol
Variations base, chat, and dpo variations.
Input Models input text only.
Output Models generate text only.
Model Architecture Trendyol LLM v1.0 is an auto-regressive language model (based on Mistral 7b) that uses an optimized transformer architecture. The base version is fine-tuned on 10 billion tokens with the following trainables by using LoRA:
- lr=2e-4
- lora_rank=64
- lora_alpha=128
- lora_trainable=q_proj,v_proj,k_proj,o_proj,gate_proj,down_proj,up_proj
- modules_to_save=embed_tokens,lm_head
- lora_dropout=0.05
- bf16=True
- max_seq_length=1024

Usage
Set up the llama.cpp
Follow the instructions in the llama.cpp repository
Set up the python bindings (llama-cpp-python) (optional for Python API)
pip install llama-cpp-python
Use with the Python API
from llama_cpp import Llama
llm = Llama(
model_path=<model-path>,
# n_gpu_layers=-1, # Uncomment to use GPU acceleration
# seed=1337, # Uncomment to set a specific seed
# n_ctx=2048, # Uncomment to increase the context window
)
output = llm(
"Q: Ders çalışmanın en iyi 5 yolu nedir? A: ", # Prompt
max_tokens=128, # Generate up to 32 tokens, set to None to generate up to the end of the context window
stop=["Q:", "\n"], # Stop generating just before the model would generate a new question
echo=True # Echo the prompt back in the output
) # Generate a completion, can also call create_completion
Use llama.cpp for the inference
- Use the simplechat
- Use the HTTP web server
Limitations, Risks, Bias, and Ethical Considerations
Limitations and Known Biases
- Primary Function and Application: Trendyol LLM, an autoregressive language model, is primarily designed to predict the next token in a text string. While often used for various applications, it is important to note that it has not undergone extensive real-world application testing. Its effectiveness and reliability across diverse scenarios remain largely unverified.
- Language Comprehension and Generation: The model is primarily trained in standard English and Turkish. Its performance in understanding and generating slang, informal language, or other languages may be limited, leading to potential errors or misinterpretations.
- Generation of False Information: Users should be aware that Trendyol LLM may produce inaccurate or misleading information. Outputs should be considered as starting points or suggestions rather than definitive answers.
Risks and Ethical Considerations
- Potential for Harmful Use: There is a risk that Trendyol LLM could be used to generate offensive or harmful language. We strongly discourage its use for any such purposes and emphasize the need for application-specific safety and fairness evaluations before deployment.
- Unintended Content and Bias: The model was trained on a large corpus of text data, which was not explicitly checked for offensive content or existing biases. Consequently, it may inadvertently produce content that reflects these biases or inaccuracies.
- Toxicity: Despite efforts to select appropriate training data, the model is capable of generating harmful content, especially when prompted explicitly. We encourage the open-source community to engage in developing strategies to minimize such risks.
Recommendations for Safe and Ethical Usage
- Human Oversight: We recommend incorporating a human curation layer or using filters to manage and improve the quality of outputs, especially in public-facing applications. This approach can help mitigate the risk of generating objectionable content unexpectedly.
- Application-Specific Testing: Developers intending to use Trendyol LLM should conduct thorough safety testing and optimization tailored to their specific applications. This is crucial, as the model’s responses can be unpredictable and may occasionally be biased, inaccurate, or offensive.
- Responsible Development and Deployment: It is the responsibility of developers and users of Trendyol LLM to ensure its ethical and safe application. We urge users to be mindful of the model's limitations and to employ appropriate safeguards to prevent misuse or harmful consequences.
- Downloads last month
- 104
4-bit
16-bit
Model tree for alperiox/Trendyol-LLM-7b-gguf-v1.0
Base model
mistralai/Mistral-7B-v0.1