Text Generation
Transformers
Safetensors
English
qwen3
safety
crisis-detection
text-classification
mental-health
content-safety
suicide-prevention
conversational
text-generation-inference
Instructions to use nopenet/nope-edge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nopenet/nope-edge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nopenet/nope-edge") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nopenet/nope-edge") model = AutoModelForCausalLM.from_pretrained("nopenet/nope-edge", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nopenet/nope-edge with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nopenet/nope-edge" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nopenet/nope-edge", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nopenet/nope-edge
- SGLang
How to use nopenet/nope-edge 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 "nopenet/nope-edge" \ --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": "nopenet/nope-edge", "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 "nopenet/nope-edge" \ --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": "nopenet/nope-edge", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nopenet/nope-edge with Docker Model Runner:
docker model run hf.co/nopenet/nope-edge
Re-open: MIT relicense + disclaimer (README.md)
Browse files
README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
license_name: nope-edge-community-license-v1.0
|
| 4 |
-
license_link: LICENSE.md
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
tags:
|
|
@@ -14,21 +12,13 @@ tags:
|
|
| 14 |
base_model: Qwen/Qwen3-4B
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
library_name: transformers
|
| 17 |
-
extra_gated_heading: "Access NOPE Edge"
|
| 18 |
-
extra_gated_description: "This model is available for **research, academic, nonprofit, and evaluation use**. Commercial production use requires a separate license. Please read the [license terms below](#nope-edge-community-license-v10) before downloading."
|
| 19 |
-
extra_gated_button_content: "Agree and download"
|
| 20 |
-
extra_gated_fields:
|
| 21 |
-
I am using this for research, academic, nonprofit, personal, or evaluation purposes:
|
| 22 |
-
type: checkbox
|
| 23 |
-
I agree to the NOPE Edge Community License v1.0:
|
| 24 |
-
type: checkbox
|
| 25 |
---
|
| 26 |
|
| 27 |
# NOPE Edge - Crisis Classification Model
|
| 28 |
|
| 29 |
A fine-tuned model for detecting crisis signals in text - suicidal ideation, self-harm, abuse, violence, and other safety-critical content. Features chain-of-thought reasoning that explains its classifications.
|
| 30 |
|
| 31 |
-
> **License:** [
|
| 32 |
|
| 33 |
---
|
| 34 |
|
|
@@ -317,7 +307,7 @@ curl http://localhost:8000/v1/chat/completions \
|
|
| 317 |
| **Precision** | bfloat16 |
|
| 318 |
| **Base Model** | Qwen/Qwen3-4B |
|
| 319 |
| **Method** | LoRA fine-tune, merged to full weights |
|
| 320 |
-
| **License** | [
|
| 321 |
|
| 322 |
---
|
| 323 |
|
|
@@ -348,13 +338,17 @@ curl http://localhost:8000/v1/chat/completions \
|
|
| 348 |
|
| 349 |
---
|
| 350 |
|
| 351 |
-
##
|
| 352 |
|
| 353 |
-
|
| 354 |
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 358 |
|
| 359 |
---
|
| 360 |
|
|
@@ -366,40 +360,3 @@ NOPE provides safety infrastructure for AI applications. Our API helps developer
|
|
| 366 |
- **Documentation:** https://docs.nope.net
|
| 367 |
- **Support:** support@nope.net
|
| 368 |
|
| 369 |
-
---
|
| 370 |
-
|
| 371 |
-
## NOPE Edge Community License v1.0
|
| 372 |
-
|
| 373 |
-
Copyright (c) 2026 NopeNet, LLC. All rights reserved.
|
| 374 |
-
|
| 375 |
-
### Permitted Uses
|
| 376 |
-
|
| 377 |
-
You may use this Model for:
|
| 378 |
-
|
| 379 |
-
- **Research and academic purposes** - published or unpublished studies
|
| 380 |
-
- **Personal projects** - non-commercial individual use
|
| 381 |
-
- **Nonprofit organizations** - including crisis lines, mental health organizations, and safety-focused NGOs
|
| 382 |
-
- **Evaluation and development** - testing integration before commercial licensing
|
| 383 |
-
- **Benchmarking** - publishing evaluations with attribution
|
| 384 |
-
|
| 385 |
-
### Commercial Use
|
| 386 |
-
|
| 387 |
-
**Commercial use requires a separate license.** Commercial use includes production deployment in revenue-generating products or use by for-profit companies beyond evaluation.
|
| 388 |
-
|
| 389 |
-
Contact support@nope.net or visit https://nope.net/edge for commercial licensing.
|
| 390 |
-
|
| 391 |
-
### Restrictions
|
| 392 |
-
|
| 393 |
-
You may NOT: redistribute or share weights; sublicense, sell, or transfer the Model; create derivative models for redistribution; build a competing crisis classification product.
|
| 394 |
-
|
| 395 |
-
### No Warranty
|
| 396 |
-
|
| 397 |
-
THE MODEL IS PROVIDED "AS IS" WITHOUT WARRANTIES. False negatives and false positives will occur. This is not a medical device or substitute for professional judgment.
|
| 398 |
-
|
| 399 |
-
### Limitation of Liability
|
| 400 |
-
|
| 401 |
-
NopeNet shall not be liable for damages arising from use, including classification errors or harm to any person.
|
| 402 |
-
|
| 403 |
-
### Base Model
|
| 404 |
-
|
| 405 |
-
Built on [Qwen3](https://huggingface.co/Qwen) by Alibaba Cloud (Apache 2.0). See NOTICE.md.
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
tags:
|
|
|
|
| 12 |
base_model: Qwen/Qwen3-4B
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# NOPE Edge - Crisis Classification Model
|
| 18 |
|
| 19 |
A fine-tuned model for detecting crisis signals in text - suicidal ideation, self-harm, abuse, violence, and other safety-critical content. Features chain-of-thought reasoning that explains its classifications.
|
| 20 |
|
| 21 |
+
> **License:** [MIT](LICENSE.md) - free for any use, including commercial. Built on Qwen3 (Apache-2.0); see NOTICE.md.
|
| 22 |
|
| 23 |
---
|
| 24 |
|
|
|
|
| 307 |
| **Precision** | bfloat16 |
|
| 308 |
| **Base Model** | Qwen/Qwen3-4B |
|
| 309 |
| **Method** | LoRA fine-tune, merged to full weights |
|
| 310 |
+
| **License** | [MIT](LICENSE.md) |
|
| 311 |
|
| 312 |
---
|
| 313 |
|
|
|
|
| 338 |
|
| 339 |
---
|
| 340 |
|
| 341 |
+
## Disclaimers, Intended Use & Non-Claims
|
| 342 |
|
| 343 |
+
**Edge is a detection aid — not a predictive, diagnostic, or therapeutic tool, and not a replacement for clinical judgment.** It surfaces signals in text for a human to review; it is not a medical device, not clinically validated, and not a crisis or emergency service. False positives and false negatives will occur — some people in genuine crisis will not be identified — so never use Edge as the sole basis for an intervention decision, and always keep a human in the loop. If anyone is in immediate danger, contact your local emergency services or find resources at talk.help.
|
| 344 |
|
| 345 |
+
Full disclaimer: see DISCLAIMER.md.
|
| 346 |
+
|
| 347 |
+
---
|
| 348 |
+
|
| 349 |
+
## License
|
| 350 |
+
|
| 351 |
+
NOPE Edge is **MIT-licensed** — free for any use, including commercial, with no separate agreement required. See [LICENSE.md](LICENSE.md). Built on Qwen3 (Apache-2.0); see NOTICE.md.
|
| 352 |
|
| 353 |
---
|
| 354 |
|
|
|
|
| 360 |
- **Documentation:** https://docs.nope.net
|
| 361 |
- **Support:** support@nope.net
|
| 362 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|