Instructions to use OpenRussianAI/OpenAirAI-X with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use OpenRussianAI/OpenAirAI-X with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="OpenRussianAI/OpenAirAI-X", filename="OpenAirAI-X.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- 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
feat: Upload OpenAirAI-Bear-2026 with Safetensors
Browse files- .gitattributes +1 -0
- config.json +31 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"add_cross_attention": false,
|
| 4 |
+
"attn_pdrop": 0.1,
|
| 5 |
+
"bos_token_id": 50256,
|
| 6 |
+
"embd_pdrop": 0.1,
|
| 7 |
+
"eos_token_id": 2,
|
| 8 |
+
"initializer_range": 0.02,
|
| 9 |
+
"layer_norm_epsilon": 1e-05,
|
| 10 |
+
"model_type": "gpt2",
|
| 11 |
+
"n_ctx": 512,
|
| 12 |
+
"n_embd": 768,
|
| 13 |
+
"n_head": 12,
|
| 14 |
+
"n_inner": null,
|
| 15 |
+
"n_layer": 12,
|
| 16 |
+
"n_positions": 512,
|
| 17 |
+
"pad_token_id": 2,
|
| 18 |
+
"reorder_and_upcast_attn": false,
|
| 19 |
+
"resid_pdrop": 0.1,
|
| 20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 21 |
+
"scale_attn_weights": true,
|
| 22 |
+
"summary_activation": null,
|
| 23 |
+
"summary_first_dropout": 0.1,
|
| 24 |
+
"summary_proj_to_labels": true,
|
| 25 |
+
"summary_type": "cls_index",
|
| 26 |
+
"summary_use_proj": true,
|
| 27 |
+
"tie_word_embeddings": true,
|
| 28 |
+
"transformers_version": "5.13.1",
|
| 29 |
+
"use_cache": false,
|
| 30 |
+
"vocab_size": 50257
|
| 31 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d480268621eb7121050db9440cce183fb0aca52234761bda7e23a4642c9d388
|
| 3 |
+
size 650591024
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": true,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"mask_token": "<mask>",
|
| 11 |
+
"model_max_length": 2048,
|
| 12 |
+
"pad_token": "</s>",
|
| 13 |
+
"padding_side": "left",
|
| 14 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 15 |
+
"truncation_side": "left",
|
| 16 |
+
"unk_token": "<unk>"
|
| 17 |
+
}
|