mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
From ollama to transformer.AutoModelForCausalLM #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Demirrr on GitHub (Feb 20, 2024).
Dear all,
Thank you for ollama-python.
I was wondering whether it would be possible to
create transformers.AutoModelForCausalLMfrom ollama, e.g.,where
transformers.AutoModelForCausalLMtransformers.AutoTokenizer@mxyng commented on GitHub (Feb 23, 2024):
It's not (currently) possible to convert an ollama model back into a transformers model