AlanRobotics
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: llama3.2
|
4 |
+
language:
|
5 |
+
- ru
|
6 |
+
- en
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
---
|
9 |
+
|
10 |
+
# Cotype Nano GGUF🤖
|
11 |
+
|
12 |
+
Llama-3-Cotype-Nano-GGUF– это легковесный ИИ, который может запускаться даже на мобильных девайсах
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
Llama-3-Cotype-Nano-GGUF is a lightweight AI that can run even on mobile devices
|
17 |
+
|
18 |
+
### Inference
|
19 |
+
|
20 |
+
```python
|
21 |
+
from llama_cpp import Llama
|
22 |
+
|
23 |
+
llm = Llama.from_pretrained(
|
24 |
+
repo_id="MTSAIR/Cotype-Nano-GGUF",
|
25 |
+
filename="cotype_nano_8bit.gguf",
|
26 |
+
)
|
27 |
+
|
28 |
+
llm.create_chat_completion(
|
29 |
+
messages = [
|
30 |
+
{
|
31 |
+
"role": "user",
|
32 |
+
"content": "What is the capital of France?"
|
33 |
+
}
|
34 |
+
]
|
35 |
+
)
|
36 |
+
```
|