Views
No views yet
[!WARNING] This repository contains experimental models designed strictly for academic evaluation and research purposes.Critical Constraints:
- No Production Deployment: Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances.
- No Liability: Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.
ethicalabs/Echo-DSRN-114M-v0.1.2
and the PEFT adapter ethicalabs/Echo-SmolTools-114M-NSFW-CLF-PEFT.lm_head token rows for the label tokens.
The chat template used during training is baked into config.json and applied automatically by classify().EchoForSequenceClassificationethicalabs/Echo-DSRN-114M-v0.1.2ethicalabs/Echo-SmolTools-114M-NSFW-CLF-PEFTbfloat16trust_remote_code=True to load the custom architecture.1import torch
2from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
4model_id = "ethicalabs/Echo-SmolTools-114M-NSFW-CLF" # or your hub path
5
6tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
7model = AutoModelForSequenceClassification.from_pretrained(
8 model_id,
9 trust_remote_code=True,
10 torch_dtype=torch.bfloat16,
11 device_map="auto",
12)
13
14label, probs = model.classify("Enter your text here", tokenizer)
15print(f"Prediction: {label}")