Text Classification
Transformers
ONNX
Safetensors
llama
safety
content-moderation
multi-label
multilingual
tiny-language-model
from-scratch
distilled
text-embeddings-inference
Instructions to use KucLab/Censer.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KucLab/Censer.8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KucLab/Censer.8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KucLab/Censer.8") model = AutoModelForSequenceClassification.from_pretrained("KucLab/Censer.8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Censer.8 final: clean rope_parameters, quant/onnx, reports, figs
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -45,8 +45,7 @@
|
|
| 45 |
"rope_parameters": {
|
| 46 |
"rope_type": "linear",
|
| 47 |
"factor": 8.0,
|
| 48 |
-
"rope_theta": 10000.0
|
| 49 |
-
"original_max_position_embeddings": 512
|
| 50 |
},
|
| 51 |
"attention_bias": false,
|
| 52 |
"mlp_bias": false,
|
|
|
|
| 45 |
"rope_parameters": {
|
| 46 |
"rope_type": "linear",
|
| 47 |
"factor": 8.0,
|
| 48 |
+
"rope_theta": 10000.0
|
|
|
|
| 49 |
},
|
| 50 |
"attention_bias": false,
|
| 51 |
"mlp_bias": false,
|