open-thoughts/OpenThoughts-114k
Viewer • Updated • 228k • 123k • 839
How to use Raiff1982/coder with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Raiff1982/coder") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Raiff1982/coder", dtype="auto")How to use Raiff1982/coder with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Raiff1982/coder", filename="gpt-oss.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use Raiff1982/coder with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Raiff1982/coder # Run inference directly in the terminal: llama-cli -hf Raiff1982/coder
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Raiff1982/coder # Run inference directly in the terminal: llama-cli -hf Raiff1982/coder
# 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 Raiff1982/coder # Run inference directly in the terminal: ./llama-cli -hf Raiff1982/coder
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 Raiff1982/coder # Run inference directly in the terminal: ./build/bin/llama-cli -hf Raiff1982/coder
docker model run hf.co/Raiff1982/coder
How to use Raiff1982/coder with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Raiff1982/coder"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Raiff1982/coder",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Raiff1982/coder
How to use Raiff1982/coder with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Raiff1982/coder" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Raiff1982/coder",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "Raiff1982/coder" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Raiff1982/coder",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Raiff1982/coder with Ollama:
ollama run hf.co/Raiff1982/coder
How to use Raiff1982/coder with Unsloth Studio:
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 Raiff1982/coder to start chatting
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 Raiff1982/coder to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Raiff1982/coder to start chatting
How to use Raiff1982/coder with Docker Model Runner:
docker model run hf.co/Raiff1982/coder
How to use Raiff1982/coder with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Raiff1982/coder
lemonade run user.coder-{{QUANT_TAG}}lemonade list
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Raiff1982/coder")# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Raiff1982/coder", dtype="auto")🔐 AES-GCM Encrypted Processing
🛡️ ISO 22989-compliant Anomaly Detection
⚛️ Quantum-Resistant Architecture
from ai_system import AICore
ai = AICore.from_pretrained("<your-username>/mistral-7b-multidimensional")
response = ai.generate_response("Explain quantum entanglement emotionally")
We're not able to determine the quantization variants.
Base model
mistralai/Mistral-7B-Instruct-v0.2
# Gated model: Login with a HF token with gated access permission hf auth login