Text Generation
Transformers
Safetensors
Japanese
English
deepseek_v3
RakutenAI
DeepSeek-R1
task-vector-merging
japanese
multilingual
conversational
custom_code
text-generation-inference
fp8
Instructions to use Local-Novel-LLM-project/RAI-3.0-R1-VECTOR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Local-Novel-LLM-project/RAI-3.0-R1-VECTOR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", trust_remote_code=True) 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Local-Novel-LLM-project/RAI-3.0-R1-VECTOR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Local-Novel-LLM-project/RAI-3.0-R1-VECTOR
- SGLang
How to use Local-Novel-LLM-project/RAI-3.0-R1-VECTOR 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 "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR" \ --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": "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", "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 "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR" \ --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": "Local-Novel-LLM-project/RAI-3.0-R1-VECTOR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Local-Novel-LLM-project/RAI-3.0-R1-VECTOR with Docker Model Runner:
docker model run hf.co/Local-Novel-LLM-project/RAI-3.0-R1-VECTOR
Add files using upload-large-folder tool
Browse files- figures/benchmark.png +3 -0
- model-00141-of-000163.safetensors +3 -0
- model-00142-of-000163.safetensors +3 -0
- model-00143-of-000163.safetensors +3 -0
- model-00144-of-000163.safetensors +3 -0
- model-00145-of-000163.safetensors +3 -0
- model-00146-of-000163.safetensors +3 -0
- model-00147-of-000163.safetensors +3 -0
- model-00148-of-000163.safetensors +3 -0
- model-00149-of-000163.safetensors +3 -0
- model-00150-of-000163.safetensors +3 -0
- model-00151-of-000163.safetensors +3 -0
- model-00152-of-000163.safetensors +3 -0
- model-00153-of-000163.safetensors +3 -0
- model-00154-of-000163.safetensors +3 -0
- model-00155-of-000163.safetensors +3 -0
- model-00156-of-000163.safetensors +3 -0
- model-00157-of-000163.safetensors +3 -0
- model-00158-of-000163.safetensors +3 -0
- model-00159-of-000163.safetensors +3 -0
- model-00160-of-000163.safetensors +3 -0
- model-00161-of-000163.safetensors +3 -0
- model-00162-of-000163.safetensors +3 -0
- model-00163-of-000163.safetensors +3 -0
figures/benchmark.png
ADDED
|
Git LFS Details
|
model-00141-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f7a6a72e34f204811426e6415a42849449cda3882c12d76f6abe234f0a6dda7
|
| 3 |
+
size 3142383464
|
model-00142-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbdba585715aa90e04ba28fbc74a81aa20a255066fde2d87923200bad2ea205d
|
| 3 |
+
size 4302319304
|
model-00143-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff480d5cd90ceb824915ada554494cee1e7de241a38cc3b5208461708682b4f8
|
| 3 |
+
size 4302382704
|
model-00144-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69af28578f3fb1f93dd1f805871e99c70f6dbc9ed01470eff52c35d278b995ef
|
| 3 |
+
size 4302348600
|
model-00145-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7803d12b4f9f763b28792b892f743a9a5fa371e2f0784c28bd4952359c7f33e
|
| 3 |
+
size 4302382312
|
model-00146-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad07ce5e3ffdd4d4f38a8c63d22fff6763d172468f575f30c179a8ae5ced3e87
|
| 3 |
+
size 4302382752
|
model-00147-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aead95753b029485075f9b8169ff90102f59e1cf4791048a08eeca6b12764e8
|
| 3 |
+
size 4302348408
|
model-00148-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dcdd5e6f17ec8eb9f04a8407b11f97bb4b1bb3260cbfc57da4886044ea76c2f
|
| 3 |
+
size 4302382496
|
model-00149-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e5460caa90174965f166feb0920a5fa2d8a0607916c92d5e6766d4dcd1d1cc1
|
| 3 |
+
size 4302382752
|
model-00150-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26b3f695d217c103df22a632317525800dbd668f3095ccfa9ea986e487c28866
|
| 3 |
+
size 4302348216
|
model-00151-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c71d453fb5ebb5baecb5edda14ae248262fb5b8e30f86b9665d649102f48550
|
| 3 |
+
size 4302382696
|
model-00152-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e86e9de8d0168a545d284128a373241385d7d95b00c87e603cdfaf8d4d5805b
|
| 3 |
+
size 4302348608
|
model-00153-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c096c3144dd379c108daecb3ed45ebb7e1f0b707e7981cc5ebdead63e44ff44
|
| 3 |
+
size 4302382296
|
model-00154-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bcc270762bb8bdd9a0da583a03c9dfa54b312663397ae417dcd71f05fc707b7
|
| 3 |
+
size 4302382752
|
model-00155-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaa050fac2de92cf61b528ca482e5dd2cc6f04d442de413645d357b633ee1fc2
|
| 3 |
+
size 4302348424
|
model-00156-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d1f363a28dc64296eff633cab9380fd5db22436337e75131f44517b06ef1346
|
| 3 |
+
size 4302382480
|
model-00157-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cec3b883ebf2c50bc17f6f27501030d89267bd7fc0469466e1714dd58ddef195
|
| 3 |
+
size 4302382752
|
model-00158-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df6c66fa9d8f1017f21bfd66efd4a5611368036d6c512140400f2468474d0bc9
|
| 3 |
+
size 4302348232
|
model-00159-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:096e89f25a9a8b719a2cfe0740e2b957157ac4493bd075942237c7b09521a8f0
|
| 3 |
+
size 4302382672
|
model-00160-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76a4b2be93343af1f5ac44c38b0db5cba8fdf744ffe70b24dae0d00c111f80fc
|
| 3 |
+
size 5230637362
|
model-00161-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93298f9f3d1ef32baa9810299f14197f5e16be1b5a2280c5b0af8460a400a92d
|
| 3 |
+
size 4302384321
|
model-00162-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:759d5d8f1995f5126c92b3326204ecdac0f2ed5cb8e371d6aa256271e5661cc6
|
| 3 |
+
size 4302384948
|
model-00163-of-000163.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:042be47233c9077ce4bc8dd42c124d17bb74bb2c1c368343e9db8292ef277c1e
|
| 3 |
+
size 6584784447
|