How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="MTSAIR/Cotype-Nano-GGUF")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("MTSAIR/Cotype-Nano-GGUF", device_map="auto")
Quick Links

Cotype Nano GGUF🤖

Cotype-Nano-GGUF– это легковесная LLM, которая может запускаться даже на мобильных девайсах

Cotype-Nano-GGUF is a lightweight LLM that can run even on mobile devices

Inference

from llama_cpp import Llama

llm = Llama.from_pretrained(
    repo_id="MTSAIR/Cotype-Nano-GGUF",
    filename="cotype_nano_8bit.gguf",
)

llm.create_chat_completion(
    messages = [
        {
            "role": "user",
            "content": "What is the capital of France?"
        }
    ]
)
Downloads last month
81
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including MTSAIR/Cotype-Nano-GGUF