Instructions to use OpenRussianAI/OpenAirAI-X with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use OpenRussianAI/OpenAirAI-X with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf OpenRussianAI/OpenAirAI-X # Run inference directly in the terminal: llama cli -hf OpenRussianAI/OpenAirAI-X
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OpenRussianAI/OpenAirAI-X # Run inference directly in the terminal: llama cli -hf OpenRussianAI/OpenAirAI-X
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf OpenRussianAI/OpenAirAI-X # Run inference directly in the terminal: ./llama-cli -hf OpenRussianAI/OpenAirAI-X
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf OpenRussianAI/OpenAirAI-X # Run inference directly in the terminal: ./build/bin/llama-cli -hf OpenRussianAI/OpenAirAI-X
Use Docker
docker model run hf.co/OpenRussianAI/OpenAirAI-X
- LM Studio
- Jan
- Ollama
How to use OpenRussianAI/OpenAirAI-X with Ollama:
ollama run hf.co/OpenRussianAI/OpenAirAI-X
- Unsloth Studio
How to use OpenRussianAI/OpenAirAI-X with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OpenRussianAI/OpenAirAI-X to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OpenRussianAI/OpenAirAI-X to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for OpenRussianAI/OpenAirAI-X to start chatting
- Atomic Chat new
- Docker Model Runner
How to use OpenRussianAI/OpenAirAI-X with Docker Model Runner:
docker model run hf.co/OpenRussianAI/OpenAirAI-X
- Lemonade
How to use OpenRussianAI/OpenAirAI-X with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OpenRussianAI/OpenAirAI-X
Run and chat with the model
lemonade run user.OpenAirAI-X-{{QUANT_TAG}}List all available models
lemonade list
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: mit
|
| 3 |
-
|
| 4 |
-
-
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
-
Talk with him using AndreyChat Space.
|
| 7 |
-
AndreyBot - An Experimental Stupid but Friendly AI.
|
| 8 |
-
This Ai model is 3 megabytes in size.
|
| 9 |
-
Him talks in Russian only.
|
| 10 |
-
https://sites.google.com/view/andreyai/home
|
| 11 |
|
| 12 |
-
|
| 13 |
-
type="module"
|
| 14 |
-
src="https://gradio.s3-us-west-2.amazonaws.com/6.19.0/gradio.js"
|
| 15 |
-
></script>
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cat > /data/README.md << 'EOF'
|
| 2 |
---
|
| 3 |
+
language: ru
|
| 4 |
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- conversational
|
| 7 |
+
- lightweight
|
| 8 |
+
- russian
|
| 9 |
+
- lstm
|
| 10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
# Андрей AI
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
Самый маленький диалоговый ИИ (3 МБ).
|
| 15 |
+
|
| 16 |
+
- **Создатель:** Евгений (OpenRussianAI)
|
| 17 |
+
- **Город:** Тверь
|
| 18 |
+
- **Дом:** Hugging Face
|
| 19 |
+
- **Нейронов:** 512
|
| 20 |
+
- **Слоёв:** 3
|
| 21 |
+
- **Словарь:** 154 слова
|
| 22 |
+
|
| 23 |
+
## Использование
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from transformers import AutoModel, AutoTokenizer
|
| 27 |
+
|
| 28 |
+
model = AutoModel.from_pretrained("andrey-ai")
|
| 29 |
+
tokenizer = AutoTokenizer.from_pretrained("andrey-ai")
|