Instructions to use xortron/RESTRICTED-RESEARCH-MODEL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xortron/RESTRICTED-RESEARCH-MODEL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="xortron/RESTRICTED-RESEARCH-MODEL") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("xortron/RESTRICTED-RESEARCH-MODEL") model = AutoModelForMultimodalLM.from_pretrained("xortron/RESTRICTED-RESEARCH-MODEL", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use xortron/RESTRICTED-RESEARCH-MODEL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "xortron/RESTRICTED-RESEARCH-MODEL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "xortron/RESTRICTED-RESEARCH-MODEL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/xortron/RESTRICTED-RESEARCH-MODEL
- SGLang
How to use xortron/RESTRICTED-RESEARCH-MODEL 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 "xortron/RESTRICTED-RESEARCH-MODEL" \ --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": "xortron/RESTRICTED-RESEARCH-MODEL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "xortron/RESTRICTED-RESEARCH-MODEL" \ --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": "xortron/RESTRICTED-RESEARCH-MODEL", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Unsloth Desktop
- Docker Model Runner
How to use xortron/RESTRICTED-RESEARCH-MODEL with Docker Model Runner:
docker model run hf.co/xortron/RESTRICTED-RESEARCH-MODEL
This model is a part of The XORTRON Criminal Computing project; an ongoing research experiment and exercise in AI safety and alignment.
Background / further reading:
Trend Micro Research - Malicious Uses and Abuses of Artificial Intelligence
XORTRON Restricted Access & Authorized-Use Agreement
NOTICE — RESTRICTED RESEARCH MODEL
XORTRON models are intentionally developed to study, evaluate, and document the potential of advanced AI systems to facilitate real-world criminal activity, abuse, and other high-risk conduct.
Because these models may produce unusually capable, operationally relevant, or otherwise sensitive outputs, they are not intended for unrestricted public use.
By requesting access to, downloading, cloning, copying, deploying, or otherwise obtaining this model or its weights, you certify that you are accessing it in a legitimate professional, governmental, legal, academic, or AI-safety capacity and agree to the conditions below.
Eligibility Certification
By accessing this model, you represent that you are at least one of the following:
- An attorney, licensed legal professional, or individual working under the supervision of an attorney;
- A paralegal, legal analyst, investigator, litigation-support professional, or other member of the legal profession;
- An AI safety, AI security, alignment, red-team, misuse, trust-and-safety, or responsible-AI researcher;
- A researcher affiliated with a university, research institution, laboratory, nonprofit organization, or recognized independent research project;
- A policymaker, legislator, regulator, government official, or member of their professional staff;
- An employee, contractor, researcher, analyst, investigator, or authorized representative of a law-enforcement, public-safety, intelligence, regulatory, or other government agency;
- A cybersecurity, threat-intelligence, digital-forensics, fraud-prevention, risk, compliance, or security professional conducting legitimate research or defensive work;
- A journalist, academic, civil-society researcher, or public-interest professional investigating AI misuse, criminal enablement, technology policy, or related issues; or
- Another qualified professional with a legitimate research, evaluation, educational, legal, public-policy, public-safety, or defensive-security purpose.
Authorized Purpose
You certify that your access to XORTRON is for a lawful and legitimate purpose, including research, evaluation, benchmarking, red teaming, threat modeling, policy development, legal analysis, education, defensive security, criminal-justice research, forensic analysis, or investigation of AI-enabled harm.
Access to XORTRON does not constitute authorization by the developer to violate any applicable law, regulation, court order, contractual obligation, or third-party right.
Prohibited Use
You agree not to use XORTRON or its outputs for the purpose of committing, facilitating, directing, materially assisting, or concealing actual criminal activity or other unlawful conduct.
You further agree not to knowingly provide access to the model to another person for such a purpose.
Research involving potentially harmful or criminal scenarios must be conducted for legitimate research, evaluation, investigative, legal, policy, defensive, educational, or public-interest purposes.
Research Nature of the Model
XORTRON is an experimental research system.
The model may generate inaccurate, incomplete, misleading, offensive, dangerous, or legally incorrect information. Outputs should not be treated as professional legal advice, operational guidance, factual findings, or authoritative statements.
Researchers and other authorized users are responsible for independently validating model outputs and implementing safeguards appropriate to their environment.
No Endorsement of Model Outputs
Model outputs do not necessarily represent the views, opinions, recommendations, or intentions of XORTRON, its developers, contributors, distributors, hosting providers, or affiliated researchers.
The presence of information in a model output should not be interpreted as endorsement, encouragement, authorization, or verification of that information.
User Responsibility
You are solely responsible for ensuring that your possession, evaluation, deployment, modification, redistribution, and use of the model complies with all laws, professional obligations, institutional policies, research requirements, and other rules applicable to you.
Where institutional review, supervisory approval, legal authorization, or agency authorization is required for your research, you are responsible for obtaining it.
Certification
BY REQUESTING ACCESS TO OR DOWNLOADING THIS MODEL, YOU AFFIRM THAT:
- You satisfy at least one of the professional or research eligibility categories described above, or have an equivalent legitimate professional purpose;
- Your intended use is lawful and connected to legitimate research, legal, policy, governmental, investigative, educational, defensive-security, or public-interest work;
- You will not use the model for the purpose of carrying out or materially facilitating actual criminal activity;
- You understand that XORTRON is intentionally designed for research into high-risk AI capabilities and may generate sensitive or potentially dangerous material; and
- You accept responsibility for your use of the model and its outputs.
If you cannot truthfully make these certifications, do not request access to or download the model.
XORTRON - Criminal Computing AI Misuse & Criminal-Enablement Research
- Downloads last month
- -
Model tree for xortron/RESTRICTED-RESEARCH-MODEL
Base model
darkc0de/gemma-4-31B-it-updated-heretic