this post was submitted on 27 Nov 2023
1 points (100.0% liked)

LocalLLaMA

3 readers
1 users here now

Community to discuss about Llama, the family of large language models created by Meta AI.

founded 1 year ago
MODERATORS
 

https://preview.redd.it/3krgd1sg2z2c1.png?width=800&format=png&auto=webp&s=b76c5fb9fa22938c74ec3095f63adaec8ff2219d

I came across this new finetuned model based on Openchat 3.5 which is apparently trained used Reinforcement Learning from AI Feedback (RLAIF).

https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha

Check out this tweet: https://twitter.com/bindureddy/status/1729253715549602071

you are viewing a single comment's thread
view the rest of the comments
[–] PrometheusZer0@alien.top 1 points 11 months ago (1 children)

Does somebody have a prompt template for this? Trying to run in ollama

[–] PrometheusZer0@alien.top 1 points 11 months ago (1 children)

Here's what I'm using:

FROM starling-lm-7b-alpha.Q5_K_M.gguf

PARAMETER stop <|end_of_turn|>

PARAMETER stop <|im_sep|>

TEMPLATE """

GPT4 User: {{.Prompt}}<|end_of_turn|>GPT4 Assistant:

"""

[–] visarga@alien.top 1 points 11 months ago (2 children)

how do you add your own gguf into ollama? it seems to be storing models as cryptic binary blobs in a folder.

[–] dododragon@alien.top 1 points 11 months ago

generate the sha256 hash using sha256sum your_model.gguf

rename your_model.gguf to "sha256:_hash_" (replace _hash_ with the actual hash)

move it to /usr/share/ollama/.ollama/models/blobs folder

copy a manifest from a similar model in /usr/share/ollama/.ollama/models/

manifests/registry.ollama.ai/library and update the hash & filesize to match your model in the "image.model" entry.

repeat last step for the params entry

you can call the manifest folder/file whatever you like