ollama / ollama

Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models.
https://ollama.com
MIT License
100.72k stars 8.03k forks source link

ollama push | couldn't retrieve manifest error #1410

Closed orkutmuratyilmaz closed 12 months ago

orkutmuratyilmaz commented 12 months ago

Hello all,

I've created a model, with the "ollama create neuralhermes -f Modelfile" command and the content of my Modelfile is below:

FROM ./neuralhermes-2.5-mistral-7b.Q4_K_M.gguf
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
SYSTEM """You are Neural Hermes, an AI language model created by Nous Research. You are a cautious assistant. You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior."""
PARAMETER num_ctx 4096
PARAMETER stop "<|im_start"
PARAMETER stop "<|im_end"
PARAMETER stop "|im_start"
PARAMETER stop "|im_end"

After that, I've successfully used the model with "ollama run neuralhermes" command. The output is:

$ ollama run neuralhermes
>>> can you tell me about the relations between free software and geodesy?
Free software and geodesy are two distinct fields, but they can have certain connections and overlapping areas. Let me explain these concepts separately and then discuss their possible relations:

1. Free Software: Free software is a movement that promotes the development, distribution, and use of software with source code that can be freely accessed, modified, and shared by anyone. It encourages 
collaboration among developers and users to create high-quality, reliable, and adaptable software solutions. The most well-known principle associated with free software is the Free Software Foundation's 
(FSF) four freedoms: the freedom to run, study, redistribute, and modify the software.

2. Geodesy: Geodesy is the scientific discipline that deals with the measurement and representation of Earth's shape, size, gravity, and other related geophysical phenomena. It involves various techniques 
like satellite positioning, gravimetry, and GPS surveying to establish accurate geospatial reference systems, such as maps and coordinate systems, essential for various applications like land management, 
infrastructure planning, and scientific research.

Relations between Free Software and Geodesy:

1. Open-source software in geodesy: In recent years, the geodesy community has increasingly embraced open-source software solutions to handle complex computations, data processing, and analysis. This 
adoption promotes collaboration among researchers, developers, and users from different parts of the world, allowing for faster advancements in the field.

2. Sharing of geospatial data: Geodesy often involves dealing with large volumes of geospatial data that can be made available under free and open licenses. This enables anyone to access, process, analyze,
and visualize these datasets, fostering innovation in applications and services based on such information.

3. Collaborative tools for geodetic projects: Free software tools and platforms facilitate collaboration among researchers, institutions, and organizations involved in geodetic projects worldwide. They 
provide efficient ways to share knowledge, data, and workflows, ultimately promoting better coordination and faster progress in the field of geodesy.

4. Educational resources: Free software initiatives often develop educational materials, tutorials, and documentation that help students and professionals learn about geodetic concepts, techniques, and 
tools. This resource sharing benefits the academic community and helps in training future geodesists.

In conclusion, while free software and geodesy are separate domains, they can interact in various ways by fostering collaboration, innovation, and knowledge-sharing through open-source approaches. These 
connections can ultimately contribute to advancements in geodetic research, education, and applications.

>>>

Then, I've created a new model on the website, as orkut/neuralhermes and tried to push with "ollama push orkut/neuralhermes" command, but I'm receiving the error below:

$ ollama push orkut/neuralhermes
retrieving manifest 
couldn't retrieve manifest 
Error: stat /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/orkut/neuralhermes/latest: no such file or directory

I've made a research in the issues list, but I couldn't achieve something.

What can I do for that?

Best, Orkut

mxyng commented 12 months ago

You need to copy the model. Your model is created as neuralhermes but you're trying to push orkut/neuralhermes which doesn't exist. You can copy it with ollama cp neuralhermes orkut/neuralhermes. Once copied, you can push with ollama push orkut/neuralhermes

orkutmuratyilmaz commented 12 months ago

Thank you @mxyng :)