PEFT
Safetensors
GGUF
internlm3
axolotl
Generated from Trainer
custom_code
4-bit precision
bitsandbytes
conversational
Instructions to use ToastyPigeon/intern-rp-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ToastyPigeon/intern-rp-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("internlm/internlm3-8b-instruct") model = PeftModel.from_pretrained(base_model, "ToastyPigeon/intern-rp-lora") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ToastyPigeon/intern-rp-lora 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 ToastyPigeon/intern-rp-lora:Q8_0 # Run inference directly in the terminal: llama cli -hf ToastyPigeon/intern-rp-lora:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ToastyPigeon/intern-rp-lora:Q8_0 # Run inference directly in the terminal: llama cli -hf ToastyPigeon/intern-rp-lora:Q8_0
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 ToastyPigeon/intern-rp-lora:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ToastyPigeon/intern-rp-lora:Q8_0
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 ToastyPigeon/intern-rp-lora:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ToastyPigeon/intern-rp-lora:Q8_0
Use Docker
docker model run hf.co/ToastyPigeon/intern-rp-lora:Q8_0
- LM Studio
- Jan
- Ollama
How to use ToastyPigeon/intern-rp-lora with Ollama:
ollama run hf.co/ToastyPigeon/intern-rp-lora:Q8_0
- Unsloth Studio
How to use ToastyPigeon/intern-rp-lora 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 ToastyPigeon/intern-rp-lora 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 ToastyPigeon/intern-rp-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ToastyPigeon/intern-rp-lora to start chatting
- Docker Model Runner
How to use ToastyPigeon/intern-rp-lora with Docker Model Runner:
docker model run hf.co/ToastyPigeon/intern-rp-lora:Q8_0
- Lemonade
How to use ToastyPigeon/intern-rp-lora with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ToastyPigeon/intern-rp-lora:Q8_0
Run and chat with the model
lemonade run user.intern-rp-lora-Q8_0
List all available models
lemonade list
- Atomic Chat
| { | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "add_prefix_space": true, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128111": { | |
| "content": "<restate>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128112": { | |
| "content": "</restate>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128113": { | |
| "content": "<planning>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128114": { | |
| "content": "</planning>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128115": { | |
| "content": "<recollect>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128116": { | |
| "content": "</recollect>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128117": { | |
| "content": "<execution>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128118": { | |
| "content": "</execution>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128119": { | |
| "content": "<review>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128120": { | |
| "content": "</review>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128121": { | |
| "content": "<summarize>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128122": { | |
| "content": "</summarize>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128123": { | |
| "content": "<retry>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128124": { | |
| "content": "</retry>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128125": { | |
| "content": "<conclude>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128126": { | |
| "content": "</conclude>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128127": { | |
| "content": "<|plugin|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128128": { | |
| "content": "<|interpreter|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128129": { | |
| "content": "<|action_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128130": { | |
| "content": "<|action_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128131": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "128132": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|action_start|>", | |
| "<|action_end|>", | |
| "<|interpreter|>", | |
| "<|plugin|>", | |
| "<restate>", | |
| "</restate>", | |
| "<planning>", | |
| "</planning>", | |
| "<recollect>", | |
| "</recollect>", | |
| "<execution>", | |
| "</execution>", | |
| "<review>", | |
| "</review>", | |
| "<summarize>", | |
| "</summarize>", | |
| "<retry>", | |
| "</retry>", | |
| "<conclude>", | |
| "</conclude>" | |
| ], | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "internlm/internlm3-8b-instruct--tokenization_internlm3.InternLM3Tokenizer", | |
| null | |
| ] | |
| }, | |
| "bos_token": "<s>", | |
| "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "</s>", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "InternLM3Tokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |