File size: 1,454 Bytes
651333a
 
366de86
 
 
 
 
 
 
 
 
 
 
3318847
 
 
 
 
 
3a5b12e
3318847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
license: apache-2.0
datasets:
- Knixee/atlas-ru-dataset-v2
language:
- ru
base_model:
- t-tech/T-lite-it-2.1
pipeline_tag: text-generation
tags:
- atlas
- nms
- no-mans-sky
---

# Atlas

Local Atlas from the game No Man's Sky.

<img src="./atlas.jpg" alt="Atlas" width="600">

# Serving GGUF & AWQ Models with vLLM

Examples for running GGUF (via llama.cpp) and AWQ (via vLLM).

## GGUF Version (via llama.cpp)

```python
# pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
repo_id="Knixee/Atlas-nms-v2",
filename="Atlas-2.0-Q4_K_M.gguf", # Or Q4_K_S, Q8_0, BF16 
)

output = llm("User: Hello!\nAssistant:", max_tokens=512)
print(output["choices"][0]["text"])
```

## AWQ Version (via vLLM)
To launch 4bit AWQ version you need to download this 
[folder](https://huggingface.co/Knixee/Atlas-nms-v2/tree/main/Atlas-2.0-AWQ-4bit)

```bash
# pip install vllm

vllm serve Knixee/Atlas-nms-v2 \
  --subfolder Atlas-2.0-AWQ-4bit \
  --served-model-name Atlas-nms-v2 \
  --quantization awq \
  --max-model-len 8192 \
  --gpu-memory-utilization 0.88 \
  --max-num-seqs 6 \
  --port 8148
```

API Request Example:

```bash
curl http://localhost:8148/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "Atlas-nms-v2", "messages": [{"role": "user", "content": "Hello!"}]}'
```

# Contacts

- [Github](https://github.com/Knixee)
- [Telegram](https://t.me/Norm_imya)
- Email: kantserovegor@gmail.com