初始化项目,由ModelHub XC社区提供模型
Model: MTSAIR/Cotype-Nano-GGUF Source: Original Platform
This commit is contained in:
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
library_name: transformers
|
||||
language:
|
||||
- ru
|
||||
- en
|
||||
pipeline_tag: text-generation
|
||||
license: other
|
||||
license_name: apache-2.0
|
||||
license_link: https://huggingface.co/MTSAIR/Cotype-Nano-GGUF/blob/main/Apache%20License%20MTS%20AI.docx
|
||||
---
|
||||
|
||||
# Cotype Nano GGUF🤖
|
||||
|
||||
Cotype-Nano-GGUF– это легковесная LLM, которая может запускаться даже на мобильных девайсах
|
||||
|
||||
|
||||
|
||||
Cotype-Nano-GGUF is a lightweight LLM that can run even on mobile devices
|
||||
|
||||
### Inference
|
||||
|
||||
```python
|
||||
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?"
|
||||
}
|
||||
]
|
||||
)
|
||||
```
|
||||
Reference in New Issue
Block a user