Phi-3-mini-128k-instruct

Image

Requisitos

Para usar este modelo, necesitas tener instalado llama.cpp en tu equipo. Puedes obtener llama.cpp desde el siguiente repositorio:

Para instalar llama.cpp, sigue estos pasos:

git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make

Uso del modelo

La plantilla del modelo es la siguiente:

<|user|>\n{prompt} <|end|>\n<|assistant|>

Puedes utilizar el modelo en llama.cpp con el siguiente comando:

./main -m ggml-model-Q8_0.gguf -p "<|user|>\n¿Cómo te llamas? <|end|>\n<|assistant|>" --log-disable

LM Studio config-presets

Filename:phi-3.preset.json

{
  "name": "Phi-3",
  "inference_params": {
    "input_prefix": "<|user|>\n",
    "input_suffix": "<|end|>\n<|assistant|>",
    "antiprompt": [
      "<|user|>\n",
      "<|end|>\n<|assistant|>"
    ],
    "pre_prompt": "<|system|>\nYou are a helpful AI assistant.<|end|>",
    "pre_prompt_prefix": "",
    "pre_prompt_suffix": ""
  },
  "load_params": {
    "rope_freq_scale": 0,
    "rope_freq_base": 0
  }
}

Referencias

Downloads last month
2,030
GGUF
Model size
3.82B params
Architecture
phi3
Unable to determine this model's library. Check the docs .

Collection including HirCoir/Phi-3-mini-128k-instruct-GGUF