How to use from
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 Aratan/llama_aratan:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Aratan/llama_aratan:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Aratan/llama_aratan:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Aratan/llama_aratan: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 Aratan/llama_aratan:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf Aratan/llama_aratan: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 Aratan/llama_aratan:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Aratan/llama_aratan:Q4_K_M
Use Docker
docker model run hf.co/Aratan/llama_aratan:Q4_K_M
Quick Links

Uploaded model

  • Developed by: Aratan
  • License: apache-2.0
  • Finetuned from model : llama-3.1-8b-bnb-4bit

Interencia

# alpaca_prompt = Copied from above
FastLanguageModel.for_inference(model) # Enable native 2x faster inference
inputs = tokenizer(
[
    alpaca_prompt.format(
        "Continue the fibonnaci sequence.", # instruction
        "1, 1, 2, 3, 5, 8", # input
        "", # output - leave this blank for generation!
    )
], return_tensors = "pt").to("cuda")

outputs = model.generate(**inputs, max_new_tokens = 64, use_cache = True)
tokenizer.batch_decode(outputs)

Si usas ollama

FROM aratan_lora_model.Q4_K_M.gguf

TEMPLATE """ Below are some instructions that describe some tasks. Write responses that appropriately complete each request.{{ if .Prompt }}

Instruction:

{{ .Prompt }}{{ end }}

Response:

{{ .Response }}<|eot_id|> """

system """Responde solo a la pregunta, no inventes, se concreto."""

PARAMETER stop "<|eom_id|>" PARAMETER stop "<|end_header_id|>" PARAMETER stop "<|start_header_id|>" PARAMETER stop "<|finetune_right_pad_id|>" PARAMETER stop "<|python_tag|>" PARAMETER stop "<|end_of_text|>" PARAMETER stop "<|eot_id|>" PARAMETER stop "<|reserved_special_token_"

Downloads last month
48
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support