Downloads · 30 days
31
1% of all-time downloads
marlonsousa/luna-4k-mini-ollama
luna-4k-mini-ollama is a question answering model from marlonsousa. Use it when the input is a question plus a passage. The card lists the license as mit.
This document describes the use and functionalities of the personal model named Luna, which was trained based on the Phi-3 model. This model was developed for specific tasks as detailed below.
Downloads · 30 days
31
1% of all-time downloads
All-time downloads
5.1K
Public
Repo size
15.8 GB
Likes
1
Public
Click a slice to open those files.
.gguf8.1 GB · 100%
From the Hugging Face model README
This document describes the use and functionalities of the personal model named Luna, which was trained based on the Phi-3 model. This model was developed for specific tasks as detailed below.
The Luna Model is a customized version of the Phi-3 model tailored for specific tasks such as text generation. This model leverages the capabilities of the Phi-3 architecture to provide efficient and accurate results for various natural language processing tasks.
curl -fsSL https://ollama.com/install.sh | sh
touch Modelfile
FROM ./models/luna-4b-v0.5.gguf
PARAMETER temperature 1
"""
ollama create luna -f ./Modelfile
ollama run luna
import ollama
stream = ollama.chat(
model='llama3',
messages=[{'role': 'user', 'content': 'Who are you?'}],
stream=True,
)
for chunk in stream:
print(chunk['message']['content'], end='', flush=True)