Text Generation
Transformers
Safetensors
Russian
qwen3_moe
russian
causal-lm
chat
reasoning
conversational
Instructions to use eridai/erida-Inari-260905 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eridai/erida-Inari-260905 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eridai/erida-Inari-260905") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("eridai/erida-Inari-260905") model = AutoModelForCausalLM.from_pretrained("eridai/erida-Inari-260905", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eridai/erida-Inari-260905 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eridai/erida-Inari-260905" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eridai/erida-Inari-260905", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/eridai/erida-Inari-260905
- SGLang
How to use eridai/erida-Inari-260905 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "eridai/erida-Inari-260905" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eridai/erida-Inari-260905", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "eridai/erida-Inari-260905" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eridai/erida-Inari-260905", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use eridai/erida-Inari-260905 with Docker Model Runner:
docker model run hf.co/eridai/erida-Inari-260905
Upload 6 files
Browse files- model.safetensors +1 -1
- tokenizer.json +1 -1
- tokenizer_config.json +4 -0
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1720881752
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c1fc3224a47f544520632ded3c71b100e589a043cc2da97f375ae723a07da1c
|
| 3 |
size 1720881752
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 11422749
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e946ac23b6a68f7a2abbe7b3c22190673c6d3d159b85305268db51b2729ac68a
|
| 3 |
size 11422749
|
tokenizer_config.json
CHANGED
|
@@ -22,10 +22,14 @@
|
|
| 22 |
],
|
| 23 |
"is_local": false,
|
| 24 |
"local_files_only": false,
|
|
|
|
| 25 |
"model_max_length": 131072,
|
| 26 |
"model_specific_special_tokens": {},
|
| 27 |
"pad_token": "<|endoftext|>",
|
| 28 |
"split_special_tokens": false,
|
|
|
|
| 29 |
"tokenizer_class": "Qwen2Tokenizer",
|
|
|
|
|
|
|
| 30 |
"unk_token": null
|
| 31 |
}
|
|
|
|
| 22 |
],
|
| 23 |
"is_local": false,
|
| 24 |
"local_files_only": false,
|
| 25 |
+
"max_length": 1023,
|
| 26 |
"model_max_length": 131072,
|
| 27 |
"model_specific_special_tokens": {},
|
| 28 |
"pad_token": "<|endoftext|>",
|
| 29 |
"split_special_tokens": false,
|
| 30 |
+
"stride": 0,
|
| 31 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 32 |
+
"truncation_side": "right",
|
| 33 |
+
"truncation_strategy": "longest_first",
|
| 34 |
"unk_token": null
|
| 35 |
}
|