File size: 956 Bytes
010ee78
84aa332
 
 
 
010ee78
 
84aa332
010ee78
 
84aa332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
title: Ollama DeepSeek-R1 + Qwen3-VL
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
app_port: 7860
---

# Ollama — DeepSeek-R1 + Qwen3-VL

Serwer Ollama z dwoma modelami, chroniony kluczem API.

| Model | Typ | Rozmiar |
|-------|-----|---------|
| `deepseek-r1:latest` | LLM reasoning | ~4.7GB |
| `qwen3-vl:latest` | Vision-Language | ~5.4GB |

## Autoryzacja

Każde żądanie wymaga nagłówka:
```
Authorization: Bearer connectkey
```

## Endpoints

| Method | Path | Opis |
|--------|------|------|
| `GET` | `/api/version` | Wersja Ollama |
| `GET` | `/api/tags` | Lista modeli |
| `POST` | `/api/generate` | Generowanie (stream) |
| `POST` | `/api/chat` | Chat (stream) |
| `POST` | `/api/embeddings` | Embeddingi |

## Przykład

```bash
curl https://<user>-<space>.hf.space/api/chat \
  -H "Authorization: Bearer connectkey" \
  -d '{"model":"deepseek-r1:latest","messages":[{"role":"user","content":"Hello!"}]}'
```