From 61388317c1399c65ed58dec61cae58a149c5d741 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 14 Oct 2024 10:28:56 +0200 Subject: [PATCH] models(gallery): add hermes-3-llama-3.1-8b-lorablated (#3824) Signed-off-by: Ettore Di Giacinto --- gallery/index.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gallery/index.yaml b/gallery/index.yaml index 56c53b5d..f69fc54c 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -1496,6 +1496,22 @@ - filename: Hermes-3-Llama-3.1-70B-lorablated.Q4_K_M.gguf sha256: 9294875ae3b8822855072b0f710ce800536d144cf303a91bcb087c4a307b578d uri: huggingface://mradermacher/Hermes-3-Llama-3.1-70B-lorablated-GGUF/Hermes-3-Llama-3.1-70B-lorablated.Q4_K_M.gguf +- !!merge <<: *llama31 + name: "hermes-3-llama-3.1-8b-lorablated" + urls: + - https://huggingface.co/mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF + description: | + This is an uncensored version of NousResearch/Hermes-3-Llama-3.1-8B using lorablation. + The recipe is simple: + Extraction: We extract a LoRA adapter by comparing two models: a censored Llama 3.1 (meta-llama/Meta-Llama-3-8B-Instruct) and an abliterated Llama 3.1 (mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated). + Merge: We merge this new LoRA adapter using task arithmetic to the censored NousResearch/Hermes-3-Llama-3.1-8B to abliterate it. + overrides: + parameters: + model: hermes-3-llama-3.1-8b-lorablated.Q4_K_M.gguf + files: + - filename: hermes-3-llama-3.1-8b-lorablated.Q4_K_M.gguf + sha256: 8cff9d399a0583616fe1f290da6daa091ab5c5493d0e173a8fffb45202d79417 + uri: huggingface://mlabonne/Hermes-3-Llama-3.1-8B-lorablated-GGUF/hermes-3-llama-3.1-8b-lorablated.Q4_K_M.gguf - &deepseek ## Deepseek url: "github:mudler/LocalAI/gallery/deepseek.yaml@master"