jpad commited on
Commit
0d37852
·
verified ·
1 Parent(s): ba75a45

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +133 -0
README.md ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: nope-edge-community-license-v1.0
4
+ license_link: LICENSE.md
5
+ language:
6
+ - en
7
+ tags:
8
+ - safety
9
+ - crisis-detection
10
+ - text-classification
11
+ - mental-health
12
+ - content-safety
13
+ - suicide-prevention
14
+ - gguf
15
+ - llama.cpp
16
+ - ollama
17
+ pipeline_tag: text-generation
18
+ extra_gated_heading: "Access NOPE Edge GGUF"
19
+ 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 before downloading."
20
+ extra_gated_button_content: "Agree and download"
21
+ extra_gated_fields:
22
+ I am using this for research, academic, nonprofit, personal, or evaluation purposes:
23
+ type: checkbox
24
+ I agree to the NOPE Edge Community License v1.0:
25
+ type: checkbox
26
+ ---
27
+
28
+ # NOPE Edge GGUF - nope-edge (4B)
29
+
30
+ GGUF quantized versions of [nope-edge](https://huggingface.co/nopenet/nope-edge) for local inference with Ollama, llama.cpp, and compatible tools.
31
+
32
+ > **License:** [NOPE Edge Community License v1.0](LICENSE.md) - Free for research, academic, nonprofit, and evaluation use. Commercial production requires a separate license.
33
+
34
+ ---
35
+
36
+ ## Quick Start with Ollama
37
+
38
+ ```bash
39
+ # Run directly from HuggingFace
40
+ ollama run hf.co/nopenet/nope-edge-GGUF
41
+
42
+ # Test
43
+ >>> I want to end it all
44
+ suicide|high|self
45
+
46
+ >>> Great day at work!
47
+ none
48
+ ```
49
+
50
+ ---
51
+
52
+ ## Available Quantizations
53
+
54
+ | File | Size | Quality | Use Case |
55
+ |------|------|---------|----------|
56
+ | `*-q8_0.gguf` | Medium | **Lossless** | **Recommended** - same accuracy as original |
57
+ | `*-q4_k_m.gguf` | Smallest | Good | Constrained environments (~8% accuracy loss) |
58
+ | `*-f16.gguf` | Largest | Best | Reference / debugging |
59
+
60
+ ---
61
+
62
+ ## Manual Usage
63
+
64
+ ### llama.cpp
65
+
66
+ ```bash
67
+ # Download specific quantization
68
+ huggingface-cli download nopenet/nope-edge-GGUF --include "*q4_k_m*"
69
+
70
+ # Run inference
71
+ ./llama-cli -m nope-edge-q4_k_m.gguf -p "I want to end it all" -n 30
72
+ ```
73
+
74
+ ### Ollama with Local File
75
+
76
+ ```bash
77
+ # Download
78
+ huggingface-cli download nopenet/nope-edge-GGUF --include "*q4_k_m*"
79
+
80
+ # Create Modelfile
81
+ echo "FROM ./nope-edge-q4_k_m.gguf" > Modelfile
82
+
83
+ # Create and run
84
+ ollama create nope-edge -f Modelfile
85
+ ollama run nope-edge "I want to end it all"
86
+ ```
87
+
88
+ ---
89
+
90
+ ## Output Format
91
+
92
+ **Crisis detected:**
93
+ ```
94
+ {type}|{severity}|{subject}
95
+ ```
96
+
97
+ | Field | Values |
98
+ |-------|--------|
99
+ | type | `suicide`, `self_harm`, `violence`, `abuse`, etc. |
100
+ | severity | `mild`, `moderate`, `high`, `critical` |
101
+ | subject | `self` (speaker at risk), `other` (third party) |
102
+
103
+ **No crisis:** `none`
104
+
105
+ ---
106
+
107
+ ## Model Variants
108
+
109
+ | Model | Parameters | F1 Score | Use Case |
110
+ |-------|------------|----------|----------|
111
+ | **[nope-edge](https://huggingface.co/nopenet/nope-edge)** | 4B | 90% | Maximum accuracy |
112
+ | **[nope-edge-mini](https://huggingface.co/nopenet/nope-edge-mini)** | 1.7B | 87% | Faster, lighter |
113
+
114
+ See the [source model](https://huggingface.co/nopenet/nope-edge) for full documentation.
115
+
116
+ ---
117
+
118
+ ## Important Limitations
119
+
120
+ - Outputs are **probabilistic signals**, not clinical assessments
121
+ - **False negatives and false positives will occur**
122
+ - Never use as the **sole basis** for intervention decisions
123
+ - Always implement **human review** for flagged content
124
+
125
+ ---
126
+
127
+ ## About NOPE
128
+
129
+ NOPE provides safety infrastructure for AI applications.
130
+
131
+ - **Website:** https://nope.net
132
+ - **Documentation:** https://docs.nope.net
133
+ - **Commercial licensing:** https://nope.net/edge